Re: [Puppet Users] hiera-puppet in template

2012-01-10 Thread Dan Bode
On Tue, Jan 10, 2012 at 8:53 AM, Markus Falb markus.f...@fasel.at wrote: hi, hiera is working in my manifest but not within a template. x=%= scope.function_hiera(x) % err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template bla/blubb.conf.erb:

Re: [Puppet Users] Adding node parameters to puppet dashboard

2012-01-10 Thread Dan Bode
A face has been developed that can programmatically insert data into the Dashboard using its restful interface. usage is documented in the README https://github.com/puppetlabs/puppetlabs-dashboard You may want to have a look at a couple of branches that still need to be merged: 1.

Re: [Puppet Users] pip provider

2012-01-16 Thread Dan Bode
I ran into the same issue when I tried to use the pip provider. Perhaps this is related? http://projects.puppetlabs.com/issues/7754 On Mon, Jan 16, 2012 at 11:01 AM, Chris Blumentritt cblum...@gmail.comwrote: I am running puppet 2.7.9 and using the pip provider. The package gets/is installed

Re: [Puppet Users] RFC: Deprecate defined() function for Telly.

2012-01-20 Thread Dan Bode
I wind up using defined more than I should probably admit. yes it is dangerous/confusing b/c of parse order dependencies, but it is also really useful for a few use cases * static resources in a defined resource type (avoids having to use classes to store all static dependencies) * the big

Re: [Puppet Users] RFC: Deprecate defined() function for Telly.

2012-01-20 Thread Dan Bode
{ 'foo': ensure = present } } On Fri, Jan 20, 2012 at 1:00 AM, Dan Bode d...@puppetlabs.com wrote: I wind up using defined more than I should probably admit. yes it is dangerous/confusing b/c of parse order dependencies, but it is also really useful for a few use cases * static resources

Re: [Puppet Users] Cross-module (package) dependencies

2012-01-25 Thread Dan Bode
On Tue, Jan 24, 2012 at 1:28 AM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: Hi, there was a discussion in the can we deprecate defined() in Telly thread about how we can even begin to design Forge modules without it. A recurring problem is that multiple modules rely on certain

[Puppet Users] Austin Puppet User's meetup

2012-02-07 Thread Dan Bode
Hi Austin Puppet Users, I will be in the area in a few weeks and I would like to try to get some of the local users together to talk Puppet and have a few beers. Curious about how much interest there would be for an event on the 23rd of February (location tbd). regards, Dan Bode -- You

Re: [Puppet Users] Austin Puppet User's meetup

2012-02-14 Thread Dan Bode
have a co-worker or two interested as well. Thanks! - Jeff On 02/07/2012 09:04 PM, Dan Bode wrote: Hi Austin Puppet Users, I will be in the area in a few weeks and I would like to try to get some of the local users together to talk Puppet and have a few beers. Curious about how much

Re: [Puppet Users] Austin Puppet User's meetup

2012-02-19 Thread Dan Bode
for tighter integration between Puppet and OpenStack. Please RSVP at the following link if you plan to attend http://pug-austin-feb-2012.eventbrite.com/ I look forward to seeing everything there -Dan On Tue, Feb 14, 2012 at 8:08 PM, Dan Bode d...@puppetlabs.com wrote: Just a quick update. I am

Re: [Puppet Users] Developing new modules using Puppet Sandbox

2012-03-21 Thread Dan Bode
on a related note. I am a little over a week into starting to write a tool to streamline my module development efforts. It is intended to model multi-node deployments and to support running integration tests. It is all ec2 based (I had to abandon my vagrant + rake workflow b/c it just did not

[Puppet Users] openstack-puppet mailing list

2012-04-04 Thread Dan Bode
Hi all, I have been working to create a community around a set of modules for configuring and deploying OpenStack. For folks who are interested in our openstack efforts, I created a separate mailing list. http://groups.google.com/group/puppet-openstack I plan to be pretty verbose about the

[Puppet Users] Re: [Puppet-dev] Taking github noise away from puppet-dev list

2012-04-12 Thread Dan Bode
+1 On Mon, Apr 9, 2012 at 2:09 PM, Michael Stahnke stah...@puppetlabs.comwrote: Since our move to github for pull requests and patches, the usefulness of puppet-dev has declined significantly. puppet-dev used to be a great list for development discussion of puppet and the ecosystem around

Re: [Puppet Users] File Loop, Possible??

2012-04-25 Thread Dan Bode
you could do something like this: define loopydir() { file { $module::params::base_dir/${name}: ensure = directory owner = root, group = root, } } include module::params file { $module::params::base_dir : ensure = directory owner = root group = root, } loopydir{

Re: [Puppet Users] Facts of other nodes

2012-05-10 Thread Dan Bode
You may want to have a look at this function: https://github.com/puppetlabs/puppetlabs-nodesearch it doest map exactly to your use case, but the implementation of it is close to what the implementation for your solution may look like. Its worth noting that once the next generation of

Re: [Puppet Users] Node not find

2012-07-06 Thread Dan Bode
On Fri, Jul 6, 2012 at 4:22 AM, pierre-emmanuel degand pierreemmanuel.deg...@gmail.com wrote: Hi, my new server doesn't find his node *whereas i did the same for my others servers and it works on them*. My key is generated and signed by my master (i had had to add my puppetmaster in

Re: [Puppet Users] Have puppet store updated facts in couchdb without updating configuration

2012-07-06 Thread Dan Bode
On Fri, Jul 6, 2012 at 9:01 AM, ZJE countac...@gmail.com wrote: We have a test puppet environment where we use couchDB as a facts terminus. We are thinking of using facter+couch as our new inventory system and would like to be able to pull inventory without having to resolve puppet

Re: [Puppet Users] librarian-puppet vs git superproject?

2012-07-23 Thread Dan Bode
On Mon, Jul 23, 2012 at 3:43 PM, Ryan Bowlby rbowlb...@gmail.com wrote: Can anyone comment on their experiences with librarian-puppet or using git superproject with per puppet module repositories? I tried using git submodules for a long time. I found that I just could not keep up with

Re: [Puppet Users] librarian-puppet vs git superproject?

2012-07-25 Thread Dan Bode
On Mon, Jul 23, 2012 at 8:43 PM, Dan Bode d...@puppetlabs.com wrote: On Mon, Jul 23, 2012 at 3:43 PM, Ryan Bowlby rbowlb...@gmail.com wrote: Can anyone comment on their experiences with librarian-puppet or using git superproject with per puppet module repositories? I tried using git

Re: [Puppet Users] duplicate resources across defined types

2012-08-01 Thread Dan Bode
Hi Joe, On Tue, Jul 31, 2012 at 6:41 PM, Joe Topjian joe.topj...@cybera.ca wrote: Hello, I am hoping that someone might be able to shed some light on the best way to solve an issue.

Re: [Puppet Users] duplicate resources across defined types

2012-08-01 Thread Dan Bode
On Wed, Aug 1, 2012 at 7:37 PM, Joe Topjian joe.topj...@cybera.ca wrote: Hi Dan, This is actually a pretty common modeling problem in Puppet. I figured it had to be common as this type of configuration can exist in a lot of other system administration areas. I just wrote a function

Re: [Puppet Users] duplicate resources across defined types

2012-08-02 Thread Dan Bode
On Thu, Aug 2, 2012 at 7:09 AM, Joe Topjian joe.topj...@cybera.ca wrote: Hi Dan, virtual resources are definitely intended to solve the same problem, but they would not work for this use case b/c multiple declarations of the same virtual resource still result in the duplicate definition

Re: [Puppet Users] Puppet apply err: Could not prefetch keystone_user provider 'keystone'

2012-08-09 Thread Dan Bode
On Thu, Aug 9, 2012 at 12:13 PM, Shannon McFarland shmcf...@gmail.comwrote: On a new puppet master node I get this error on a puppet apply for an OpenStack multi-node setup. This is a new one I have never seen before. Tips? This is pretty specific to the puppet/openstack integration. There

Re: [Puppet Users] create_resources function returns error can't convert Array into Hash

2012-09-05 Thread Dan Bode
On Wed, Sep 5, 2012 at 7:05 AM, JeremyCampbell jeremycampbel...@gmail.comwrote: I have written a custom function that returns a hash of data to be used by the *create_resources* function. class network::multiroute::mhpeers ( ) { $routes = gen_ip_routes(gw.uk)

Re: [Puppet Users] create_resources function returns error can't convert Array into Hash

2012-09-05 Thread Dan Bode
On Wed, Sep 5, 2012 at 8:15 AM, JeremyCampbell jeremycampbel...@gmail.comwrote: On Wednesday, September 5, 2012 4:15:31 PM UTC+2, Dan Bode wrote: On Wed, Sep 5, 2012 at 7:05 AM, JeremyCampbell jeremyca...@gmail.comwrote: I have written a custom function that returns a hash of data

Re: [Puppet Users] create_resources function returns error can't convert Array into Hash

2012-09-05 Thread Dan Bode
On Wed, Sep 5, 2012 at 8:37 AM, JeremyCampbell jeremycampbel...@gmail.comwrote: On Wednesday, September 5, 2012 5:20:49 PM UTC+2, Dan Bode wrote: On Wed, Sep 5, 2012 at 8:15 AM, JeremyCampbell jeremyca...@gmail.comwrote: On Wednesday, September 5, 2012 4:15:31 PM UTC+2, Dan Bode wrote

Re: [Puppet Users] openstack:all with just 1 network interface.

2012-09-06 Thread Dan Bode
On Wed, Sep 5, 2012 at 11:48 PM, neel npater...@gmail.com wrote: Hi, From https://github.com/puppetlabs/puppetlabs-openstack I can understand that we need to create br100 bridge for case when there is just 1 network interface. From readme it not very clear what should be private_interface =

Re: [Puppet Users] anchor pattern and class containment status

2012-10-03 Thread Dan Bode
On Wed, Oct 3, 2012 at 2:57 PM, Tim Mooney tim.moo...@ndsu.edu wrote: All- We're currently using puppet 2.7.14 on master and all clients. I thought I understood why 'anchor' is part of stdlib, but after re-reading both http://projects.puppetlabs.**com/projects/puppet/wiki/**

Re: [Puppet Users] Scalability and performance

2012-10-10 Thread Dan Bode
On Tue, Oct 9, 2012 at 4:56 PM, Robjon robertjo...@gmx.us wrote: Hi guys, I am pretty new to this space, playing around with a few tools. I am trying to read up on how I would scale Puppet (or other tools) up in my installation, and came across this blog post comparing Puppet and CFEngine:

Re: [Puppet Users] Beta release of puppetdbquery module 1.0

2013-03-04 Thread Dan Bode
On Mon, Mar 4, 2013 at 7:59 AM, Erik Dalén erik.gustav.da...@gmail.comwrote: I've released version 1.0.0-pre1 of the dalen-puppetdbquery module, it includes the old functions against the PuppetDB api version 1.0. But also some entirely new functions that will query the PuppetDB api v2.0 (in

Re: [Puppet Users] cloudstack_resources - invalid instance resource type

2013-03-17 Thread Dan Bode
On Sat, Mar 16, 2013 at 10:08 PM, Nick Wales n...@nickwales.co.uk wrote: I've created cloudstack_resources as a module, have setup the transport.yaml and can successfully run puppet resource cloudstack_instance against my cloudstack environment. The following cloudstack_instance files have

[Puppet Users] Re: Error testing deploying Grizzly

2013-05-01 Thread Dan Bode
:12 on node nodename Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run I have puppet 3.1.1-1 installed and have rubygems-1.8.16-1 installed on both puppet server and agent nodes. Thanks, Ling On Tue, Apr 30, 2013 at 6:15 PM, Dan Bode bod

Re: [Puppet Users] variable scope for templates

2011-05-12 Thread Dan Bode
Hi, the issue is related to how scoping works for nodes in Puppet. The variable defined in your child nodes is not accessible from within the basenode node and is thus not available in its included classes. In order for the variable to be availble to the template, you would have to move the

Re: [Puppet Users] Going to publish custom modules : Request for comments

2011-05-15 Thread Dan Bode
On Sun, May 15, 2011 at 7:34 AM, Matthias Saou th...@spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net wrote: Hi, I've been using puppet for a while now, and over time I've created many classes and definitions for a whole bunch of different things. It's all very RHEL4, RHEL5

Re: [Puppet Users] Cross-module dependencies

2011-05-23 Thread Dan Bode
On Sun, May 22, 2011 at 11:06 PM, Matthew Macdonald-Wallace li...@truthisfreedom.org.uk wrote: Hi all, I've got modules for NGINX and PHP-FPM which are working fine, the issue I'm running into is that quite often NGinx will start before php-fpm is even installed. I'm wondering if there's

Re: [Puppet Users] ralsh - unable to pass alias array for host resource

2011-05-31 Thread Dan Bode
On Tue, May 31, 2011 at 8:34 AM, PBWebGuy pbweb...@gmail.com wrote: I'm trying create an entry in the /etc/hosts file but when trying to use the 'alias' parameter I'm getting a munge error because it can't parse the array passed from the command-line. I've tried all sorts of ways to define

Re: [Puppet Users] ruby dsl manifests

2011-06-01 Thread Dan Bode
you should be able to do something like: call_function(:defined, 'Foo['bar']') just keep in mind that the defined function (or anything for resource detection) is parse order dependent which can lead to unexpected results. On Wed, Jun 1, 2011 at 9:04 PM, Matt mjbl...@gmail.com wrote: I've

Re: [Puppet Users] RFC: Adding implicit stages to Puppet

2011-06-10 Thread Dan Bode
On Thu, Jun 9, 2011 at 6:42 PM, Nigel Kersten ni...@puppetlabs.com wrote: https://projects.puppetlabs.com/issues/7697 One problem people producing modules that make use of stages are hitting is that it's difficult to create something reusable that integrates seamlessly into existing setups.

Re: [Puppet Users] two possibilities for declaring resources with hashes [was: Virtual resources and hashes]

2011-06-13 Thread Dan Bode
On Mon, Jun 13, 2011 at 10:18 AM, Randall Hansen rand...@puppetlabs.comwrote: I think Aaron lays out the options pretty well. This issue has been hanging fire for quite a while, and it would be nice to come to a decision about what our path forward is. Who else cares about this? What do

Re: [Puppet Users] configuration history

2011-06-14 Thread Dan Bode
On Tue, Jun 14, 2011 at 7:47 AM, puppeter puppe...@centrum.cz wrote: Hi people, I have a quite interesting problem here. We are using Puppet for deploying configuration files (among others) and GIT for keeping version history of templates. But now we got a request to keep also history of

[Puppet Users] rabbitmq puppet module

2011-06-15 Thread Dan Bode
://github.com/puppetlabs/puppet-apt Feedback would be greatly appreciated, and best facilitated as issues through github or via email regards, Dan Bode -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users

[Puppet Users] Re: [Puppet-dev] Open Source Team planning meeting summary 2011-06-1

2011-06-15 Thread Dan Bode
Hi, I just wanted to clarify something from this email. Although the best way to get traction for a ticket in the future will be voting in the ticketing system, people are always welcome to highlight particular tickets in order to solicit votes. With that in mind, a quick list of things that I

Re: [Puppet Users] Moving config to an ENC

2011-07-05 Thread Dan Bode
Hi J, The create resources function was created to serve this exact use case (the README actually mentions your exact use case :) ) https://github.com/puppetlabs/puppetlabs-create_resources This will require 2.6.5 or higher to work (That is the first version where ENC's support param classes)

Re: [Puppet Users] Moving config to an ENC

2011-07-12 Thread Dan Bode
mentioning on the ENC page so people like myself can find it easier. On Tue, Jul 5, 2011 at 10:42 PM, Dan Bode d...@puppetlabs.com wrote: Hi J, The create resources function was created to serve this exact use case (the README actually mentions your exact use case :) ) https://github.com

Re: [Puppet Users] Handling ENC / Class interface changes

2011-08-09 Thread Dan Bode
On Mon, Aug 8, 2011 at 5:51 AM, Oliver Hookins ohook...@gmail.com wrote: Hi all, Recently I've hit against this problem which is proving to be a formidable foe. We have an in-house developed ENC and use parameterised classes just about everywhere and as a result enjoy a fairly flexible way

Re: [Puppet Users] automatic certificate signing for CloudPack

2011-09-20 Thread Dan Bode
On Mon, Sep 19, 2011 at 4:56 PM, hamoun hamoun...@gmail.com wrote: Hi All Despite several tries I have been unable to setup automatic certificate signing for CloudPack. This is part of typical output: warning: peer certificate won't be verified in this SSL session warning: peer

Re: [Puppet Users] Re: Requiring a package to satisfy a provider requirement

2011-09-20 Thread Dan Bode
On Tue, Sep 20, 2011 at 5:27 AM, Matthew Willsher matthew.wills...@gmail.com wrote: On Sep 20, 1:02 pm, Matthew Willsher matthew.wills...@gmail.com wrote: On Sep 19, 4:06 pm, Matt matthew.wills...@gmail.com wrote: On Sep 19, 3:52 pm, John Kennedy skeb...@gmail.com wrote: Would

Re: [Puppet Users] Software inventory

2011-09-21 Thread Dan Bode
On Wed, Sep 21, 2011 at 9:45 AM, Glenn Bailey replic...@dallaslamers.orgwrote: Howdy, Before I go about writing one myself, anyone out there written a software inventory module/fact for gathering a list of all installed rpms/debs on a system? Got a few ideas floating around in my head, but

Re: [Puppet Users] Software inventory

2011-09-21 Thread Dan Bode
its also pretty easy to programatically access the information, which could make parsing it easier: require 'puppet' Puppet::Type.type(:package).instances On Wed, Sep 21, 2011 at 10:53 AM, Glenn Bailey replic...@dallaslamers.orgwrote: Before I go about writing one myself, anyone out there

Re: [Puppet Users] deliberately causing template failure?

2011-09-21 Thread Dan Bode
using the fail function should work: content = inline_template('%= fail(doh) %') On Wed, Sep 21, 2011 at 12:56 PM, Daniel Pittman dan...@puppetlabs.comwrote: On Wed, Sep 21, 2011 at 12:00, Christopher Wood christopher_w...@pobox.com wrote: How do I cause template failure in the erb ruby?

Re: [Puppet Users] CloudPack's node install .... ignores certname

2011-09-21 Thread Dan Bode
We recently noticed the same issue. I have a feeling that is may be related to the version of puppet that is running. What version are you running? We have actually been actively working on a fix in the following pull request: https://github.com/puppetlabs/puppetlabs-cloud-provisioner/pull/16 a

Re: [Puppet Users] Increment variable each time a definition is called.

2011-09-27 Thread Dan Bode
I can think of something really hacky that I don't recommend for production, it could be ok for debugging purposes. notice(inline_template( '%= $dangerous_counter = $dangerous_counter || 0; $dangerous_counter = $dangerous_counter + 1 %' )) will create a global variable in Ruby, I have a feeling

Re: [Puppet Users] apply.pp module missing?

2011-10-02 Thread Dan Bode
It looks like it is failing b/c you are running a version older than 2.6.x (probably 0.25.5) for 0.25.5, the executable is a little different, try running: $ puppet my_test_manifest.pp there are significant syntax changes between 0.25.5 and 2.6.x, I would not recommend starting with the older

Re: [Puppet Users] Help with cloud provisioner

2011-10-02 Thread Dan Bode
Thanks for being an early adopter of cloud provisioner. Fixes for these issues will exist in the next version (and currently exist in master if you install from source) On Fri, Sep 30, 2011 at 2:59 PM, Josh joshevau...@gmail.com wrote: I have a very basic puppet install right now, running

Re: [Puppet Users] mysql database

2011-10-02 Thread Dan Bode
you can find several examples of existing types/providers for managing mysql online. Here is one example: https://github.com/puppetlabs/puppetlabs-mysql hope this helps -Dan On Sun, Oct 2, 2011 at 1:26 PM, Matthew Black mjbl...@gmail.com wrote: No that is one of the ways to do it. The

Re: [Puppet Users] Get the value of a parameter passed to a parameterized class

2011-10-03 Thread Dan Bode
This is stored inside of the compiled catalog. Catalogs are saved on the client where they are applied the default location is: /var/lib/puppet/client_yaml/catalog/CERTNAME.yaml On Mon, Oct 3, 2011 at 3:44 PM, Bruno Leon nonolem...@gmail.com wrote: Hi, is there a way to get the value of a

Re: [Puppet Users] Concat::Fragment collection broken in 2.7.5

2011-10-04 Thread Dan Bode
what version did you upgrade from? could you also recreate with --trace. thanks, Dan On Tue, Oct 4, 2011 at 2:36 PM, Bruno Leon nonolem...@gmail.com wrote: I don't if anybody is using the concat modules from ripienaar, but since an upgrade to 2.7.5 I keep getting an error on fragment

Re: [Puppet Users] More cloud provisioner stuff

2011-10-09 Thread Dan Bode
On Thu, Oct 6, 2011 at 1:41 PM, Joshua Vaughn-Uding unix.magic...@gmail.com wrote: I'm still having some issues with cloud provisioner. I have a fresh install of provisioner, .60rc1, puppet 2.7.3, and dashboard 1.2.0. Everything has a very default install as described in the

Re: [Puppet Users] Cloud Provisioner: What works and what doesn't work?

2011-10-09 Thread Dan Bode
thanks for pointing out this issue. I have a feeling that this issue was caused by some changes in how faces handles options between 2.7.2 and 2.7.3 The cloud provisioner definitely needs to be updated to work with the latest version of Puppet. could you try this out with 2.7.2rc3 and see if the

Re: [Puppet Users] puppetlabs-mysql: How does the command on this line get the mysql root password?

2011-10-11 Thread Dan Bode
It expects the password to be set somewhere other than on the command line (my.cnf) On Tue, Oct 11, 2011 at 7:18 AM, adam adus...@gmail.com wrote: Stupid question here: how does this line of code get the mysql root password?:

Re: [Puppet Users] Cloud Provisioner: What works and what doesn't work?

2011-10-15 Thread Dan Bode
This definitely was a bug: http://projects.puppetlabs.com/issues/10062 It has been resolved in master (the latest source) and will be fixed in the next release. On Sun, Oct 9, 2011 at 2:02 PM, Dan Bode d...@puppetlabs.com wrote: thanks for pointing out this issue. I have a feeling

Re: [Puppet Users] Re: Fwd: How does an ENC find the client's enviromement?

2011-10-17 Thread Dan Bode
The client's environment is stored as a fact. Facts are saved before the ENC is called. By default, they will be saved to /var/lib/puppet/yaml/facts/NODE_NAME/TIMESTAMP.yaml An ENC can read a client's latest environment and other facts from this location. -Dan On Mon, Oct 17, 2011 at 8:25 AM,

Re: [Puppet Users] Re: Fwd: How does an ENC find the client's enviromement?

2011-10-17 Thread Dan Bode
' as the environment and you will be able to access everything Mohamed. On Mon, Oct 17, 2011 at 11:40 AM, Dan Bode d...@puppetlabs.com wrote: The client's environment is stored as a fact. Facts are saved before the ENC is called. By default, they will be saved to /var/lib/puppet/yaml/facts/NODE_NAME

Re: [Puppet Users] Chaining behavior

2011-10-24 Thread Dan Bode
The ordering only applies to the order in which resources are applied, not the order in which the code is processed. It will work like you expect if you switch out the calls to the notice function with notify resources. On Mon, Oct 24, 2011 at 3:48 AM, Andre Nathan andre...@gmail.com wrote:

Re: [Puppet Users] Help using puppetlabs-mysql

2011-10-31 Thread Dan Bode
you are running into a documentation issue. All of the configuration was moved to a new parameter called: config_hash. I can submit a patch On Mon, Oct 31, 2011 at 10:01 AM, treydock treyd...@gmail.com wrote: I'm working to begin managing MySQL with the puppetlabs-mysql provided module, but am

Re: [Puppet Users] Re: Help using puppetlabs-mysql

2011-10-31 Thread Dan Bode
On Mon, Oct 31, 2011 at 10:55 AM, treydock treyd...@gmail.com wrote: On Oct 31, 12:26 pm, Dan Bode d...@puppetlabs.com wrote: you are running into a documentation issue. All of the configuration was moved to a new parameter called: config_hash. I can submit a patch

Re: [Puppet Users] Re: Help using puppetlabs-mysql

2011-10-31 Thread Dan Bode
On Mon, Oct 31, 2011 at 12:44 PM, treydock treyd...@gmail.com wrote: On Oct 31, 1:56 pm, treydock treyd...@gmail.com wrote: On Oct 31, 1:05 pm, Dan Bode d...@puppetlabs.com wrote: On Mon, Oct 31, 2011 at 10:55 AM, treydock treyd...@gmail.com wrote: On Oct 31, 12:26

Re: [Puppet Users] Trouble making a pure ruby puppet type

2010-08-22 Thread Dan Bode
Hi Patrick, On Sun, Aug 22, 2010 at 9:01 PM, Patrick kc7...@gmail.com wrote: I'm making a cups manager type and I'm having trouble figuring out where I should parameters and where I should use properties. The file is at

Re: [Puppet Users] Trouble making a pure ruby puppet type

2010-08-22 Thread Dan Bode
On Sun, Aug 22, 2010 at 9:30 PM, Patrick kc7...@gmail.com wrote: On Aug 22, 2010, at 9:26 PM, Dan Bode wrote: Hi Patrick, On Sun, Aug 22, 2010 at 9:01 PM, Patrick kc7...@gmail.com wrote: I'm making a cups manager type and I'm having trouble figuring out where I should parameters

Re: [Puppet Users] Is it safe to both import and inherit from a class?

2010-08-26 Thread Dan Bode
I would consider any breakage on this in the future a bug as I also take advantage of this to support class overrides in external node classifiers (can we just start calling this an enc?) Although this capability might seem accidental, it actually makes sense in a declarative language. -Dan On

Re: [Puppet Users] Is a puppet server essential?

2010-08-27 Thread Dan Bode
On Fri, Aug 27, 2010 at 9:21 AM, Mike Devlin mdev...@aisle10.net wrote: you lose all the reporting functionality, but as long as you get all your puppet manifests and files accessible by the servers you want to run puppet on (rsync, nfswhatever), you can just run puppet directly, although

Re: [Puppet Users] can checksum be set to none on a file if content is defined?

2010-08-27 Thread Dan Bode
On Fri, Aug 27, 2010 at 11:49 AM, Patrick kc7...@gmail.com wrote: On Aug 27, 2010, at 7:07 AM, John Lyman wrote: On a file resource, if the content parameter is set and checksum is set to none, I am getting Parameter content failed: Munging failed... This appears to be a bug, but

Re: [Puppet Users] join()

2010-09-09 Thread Dan Bode
Hi Martijn, here is an outline of the steps required for submitting a patch. http://projects.reductivelabs.com/projects/puppet/wiki/Development_Development_Lifecycle an overview would be: * create a ticket (if one does not already exist) * fork reductivelabs puppet repo from

Re: [Puppet Users] Spaces in templates

2010-09-10 Thread Dan Bode
Hi Al, seems like its been a while :) On Fri, Sep 10, 2010 at 5:50 AM, Al @ Lab42 lab42...@gmail.com wrote: Hi all, I've a silly problem that it's driving me crazy and I'm almost sure the solution is quick and easy. Still it doesn't seem at my reach. I've a variable with an array of

Re: [Puppet Users] modulepath in puppet.conf ignored?

2010-09-17 Thread Dan Bode
Hi Leslie, On Fri, Sep 17, 2010 at 7:30 AM, Leslie Giles lezzgi...@gmail.com wrote: I'm just starting out with puppet. I've taken the training, but even with that, I'm finding the learning curve rather steep. it is a lot to learn, if you have any additional feedback of how we could improve

Re: [Puppet Users] realize users based on tags

2010-09-17 Thread Dan Bode
On Fri, Sep 17, 2010 at 9:57 AM, CraftyTech hmmed...@gmail.com wrote: Hello All, Can someone share their syntax on how they'd realize users based on tags? User| tag == 'foo' | Thanks, Henry -- You received this message because you are subscribed to the Google Groups Puppet

Re: [Puppet Users] Re: realize users based on tags

2010-09-17 Thread Dan Bode
in 0.00 seconds) Can you spot anything wrong with this code? I've been going around in circles trying to figure it out. Thanks, On Sep 17, 1:23 pm, Dan Bode d...@puppetlabs.com wrote: On Fri, Sep 17, 2010 at 9:57 AM, CraftyTech hmmed...@gmail.com wrote: Hello All, Can someone

Re: [Puppet Users] noop Out of sync reporting

2010-09-26 Thread Dan Bode
Hi John, On Tue, Sep 21, 2010 at 10:44 PM, John Warburton jwarbur...@gmail.comwrote: Hi All I am looking to report on all servers that are Out of sync. Currently we run puppet in noop mode hourly, and so we get reports saying there are X resources Out of sync. Unfortunately, because

Re: [Puppet Users] Overwrite default settings in nodes using external nodes.

2010-09-29 Thread Dan Bode
On Wed, Sep 29, 2010 at 6:46 AM, Bruce Richardson itsbr...@workshy.orgwrote: On Wed, Sep 29, 2010 at 02:59:28PM +0200, Héctor Rivas Gándara wrote: Also, from my tests I checked that the parameters (please correct me if I am wrong): - Are stored in global scope: All classes has access

Re: [Puppet Users] Professional services in Spain

2010-10-28 Thread Dan Bode
Hi, I am a member of the PS team at Puppetlabs. We often travel to Europe for professional services work and training. I will be teaching a puppetmaster class in London in early December: http://www.puppetlabs.com/events/london-nov-2010/ -Dan -- Forwarded message -- From:

Re: [Puppet Users] Moving the puppet master

2010-10-29 Thread Dan Bode
On Thu, Oct 28, 2010 at 5:41 PM, Jay Adkisson j4yf...@gmail.com wrote: Hey all, I need to move my puppet master to a different host with a different hostname. Is there a fancy way to do this that doesn't involve manually going to each client and cleaning the certificates? the only thing

Re: [Puppet Users] do custom facts load first?

2010-11-05 Thread Dan Bode
when running puppet agent, the 'pluginsync' option ensures that custom facts are synced and sent with the request for catalog. On Fri, Nov 5, 2010 at 11:11 AM, Christopher McCrory chris...@gmail.comwrote: Hello... When do custom facts get loaded during the client run? this is what I am

Re: [Puppet Users] Trouble creating custom modules

2010-11-07 Thread Dan Bode
I will be in #puppet or #puppet-dev for the next hour or so (as bodepd), I am more than happy to work through this with you. On Sun, Nov 7, 2010 at 9:55 AM, Otacilio Lacerda otaciliolace...@gmail.comwrote: I'm trying to create a new module. When I try to create a module it looks like it is not

Re: [Puppet Users] Trouble creating custom modules

2010-11-07 Thread Dan Bode
to update, after out chat in IRC. The problem was that pluginsync was not enabled on the client. This is pretty difficult to debug b/c of http://projects.puppetlabs.com/issues/4415. On Sun, Nov 7, 2010 at 9:55 AM, Otacilio Lacerda otaciliolace...@gmail.comwrote: I'm trying to create a new

Re: [Puppet Users] Re: When do modules get auto-imported

2010-11-11 Thread Dan Bode
On Thu, Nov 11, 2010 at 9:27 AM, Eric Snow es...@verio.net wrote: Thanks for the feedback. My understanding is that when you have an init.pp with import * I would say that in general, if you have to use the import function, it means that you are not organizing things correctly. If modules

Re: [Puppet Users] Multiple CA / Puppet master environment

2010-11-11 Thread Dan Bode
Hi, On Thu, Nov 11, 2010 at 9:17 AM, luke.bigum luke.bi...@fasthosts.co.ukwrote: Hi, Does anyone know if this document is up to date (besides the comment at the top saying it's not): http://projects.puppetlabs.com/projects/1/wiki/Multiple_Certificate_Authorities Or does anyone who has a

Re: [Puppet Users] Re: agent needs to make two runs before master compiles new catalog

2010-11-15 Thread Dan Bode
log reports that on every run it expires the cached catalog for the host making the run, and that it recompiles for the host. On Nov 15, 8:46 am, Dan Bode d...@puppetlabs.com wrote: Hi Kent, On Mon, Nov 15, 2010 at 8:05 AM, Kent kentmshu...@gmail.com wrote: Nigel, It is number

Re: [Puppet Users] facter (ruby) question

2010-11-16 Thread Dan Bode
Hi Dennis, On Tue, Nov 16, 2010 at 7:28 AM, Dennis vdM cybernijn...@gmail.com wrote: Hi all, I have a small facter script which gives me the outcome of a subnet: Facter.add(lokatie) do setcode do %x{facter ipaddress | awk -F. '{print $2}'}.chomp end end This script gives me

Re: [Puppet Users] Can't do a nested define. What are my options?

2010-11-16 Thread Dan Bode
Hi Andrew, On Tue, Nov 16, 2010 at 9:33 AM, hudsterboy andrewmor...@yahoo.com wrote: I'm trying to create a directory structure from 2 arrays. First array is the outter, second is the inner. For each outter, I'd like to loop through each inner. Below is sort of what I'm trying to do. In the

Re: [Puppet Users] Lexical Scope: How does it work?

2010-11-17 Thread Dan Bode
On Wed, Nov 17, 2010 at 4:27 AM, Nick Moffitt n...@zork.net wrote: Let me start by saying that I am a fan of lexical scoping as a way of increasing confidence in your execution models. I am hoping to move from the now thoroughly debunked wackyscope model that used to plague many programming

Re: [Puppet Users] augeas / sudoers

2010-11-19 Thread Dan Bode
Hi, On Fri, Nov 19, 2010 at 4:50 AM, walexey wale...@gmail.com wrote: Hello everybody! How can i create with puppet following sudoers file: User_Alias CENTREON=apache,nagios CENTREON ALL = NOPASSWD: /etc/init.d/nagios* restart CENTREON ALL = NOPASSWD: /etc/init.d/nagios* reload

Re: [Puppet Users] The puppet model

2010-11-23 Thread Dan Bode
Hi Thomas, I don't know the docs as well as I should: I found a detailed description of the process of compiling catalogs. http://projects.puppetlabs.com/projects/1/wiki/Puppet_Internals The model in puppet is implemented as a directed acyclic graph (DAG). The vertices of the graph are resoures,

Re: [Puppet Users] Classes in templates

2010-11-23 Thread Dan Bode
Hi, On Tue, Nov 23, 2010 at 11:21 AM, Alaric paxindust...@gmail.com wrote: Hi all! I've been trying to work with classes in my templates, it seems like a really useful feature. I'm running on puppet .25.5 from EPEL and really wanted to start making use of the ability to pivot on classes

Re: [Puppet Users] Classes in templates

2010-11-23 Thread Dan Bode
that's is an interesting example. If we actually did implement futures in puppet, I would expect that to result in an error. On Tue, Nov 23, 2010 at 12:07 PM, Stefan Schulte stefan.schu...@taunusstein.net wrote: On Tue, Nov 23, 2010 at 11:27:58AM -0800, Dan Bode wrote: Hi, On Tue, Nov 23

Re: [Puppet Users] Classes in templates

2010-11-23 Thread Dan Bode
in retrospect, it might be very presumptuous of me to assume that this use case is covered under futures. On Tue, Nov 23, 2010 at 12:19 PM, Dan Bode d...@puppetlabs.com wrote: that's is an interesting example. If we actually did implement futures in puppet, I would expect that to result

[Puppet Users] puppet meet-up in Vienna?

2010-11-30 Thread Dan Bode
Hi, Anyone have interest in a puppet meet-up in Vienna? I will be in the area for the holidays and would love to meet up with local puppet users to chat about Puppet/Linux and such. I am thinking about the 20th of December. regards, -Dan Bode -- You received this message because you

Re: [Puppet Users] puppet meet-up in Vienna?

2010-11-30 Thread Dan Bode
throughout the world, with high concentrations in the US Europe:) -Yushu On Tue, Nov 30, 2010 at 1:52 PM, Dan Bode d...@puppetlabs.com wrote: Hi, Anyone have interest in a puppet meet-up in Vienna? I will be in the area for the holidays and would love to meet up with local puppet users

Re: [Puppet Users] puppet meet-up in Vienna?

2010-11-30 Thread Dan Bode
On Tue, Nov 30, 2010 at 3:02 PM, Benjamin Kite benjamin.k...@greenpeace.org wrote: On Tue, Nov 30, 2010 at 4:52 PM, Dan Bode d...@puppetlabs.com wrote: Hi, Anyone have interest in a puppet meet-up in Vienna? I will be in the area for the holidays and would love to meet up with local

Re: [Puppet Users] Re: puppet meet-up in Vienna?

2010-12-01 Thread Dan Bode
at all, I used to live in Vienna and have friends there (some of whom are puppet users) I will be having beers Monday night in the city and talking about Puppet, everyone's invited ;) /Stefan On Nov 30, 10:52 pm, Dan Bode d...@puppetlabs.com wrote: Hi, Anyone have interest in a puppet

Re: [Puppet Users] iteration question

2010-12-03 Thread Dan Bode
On Fri, Dec 3, 2010 at 12:48 PM, Don Jackson puppet-us...@clark-communications.com wrote: So here is a scenario: I have a directory: ./foo ./foo/file1 ./foo/file2 ./foo/file3 … ./foo/fileN I populate this directory on a configured machine

Re: [Puppet Users] puppet meet-up in Vienna?

2010-12-04 Thread Dan Bode
meetup, but we will arrange it so you can join us. I'll keep you updated. Btw. how long are you planning to stay? Regards, Stefan. On Nov 30, 2010, at 22:52 , Dan Bode wrote: Hi, Anyone have interest in a puppet meet-up in Vienna? I will be in the area for the holidays and would

  1   2   3   >