[Puppet Users] Using collections

2012-10-11 Thread Maarten Thibaut
Hi, I'm trying to use collections as shown below. The files I wish to collect get populated on the client, so the puppetmaster doesn't know the contents. I.e. I need to push these files to the server, and then distribute them back to the clients: @@file { "/etc/ssh-keys.d/$hostname.pub

[Puppet Users] Retiring information from collections

2012-10-17 Thread Maarten Thibaut
Hi, The docs on collections do not mention how information is "retired" from the puppetmaster (see http://docs.puppetlabs.com/guides/exported_resources.html). To use the example in the above doc, suppose host "foo" is added. We setup a collector to monitor it through nagios on running on host

Re: [Puppet Users] Using collections

2012-10-17 Thread Maarten Thibaut
Thanks Jeff! I've uploaded my solution to github and the puppet forge. For more information see http://forge.puppetlabs.com/mthibaut/mutual_trust So the way I get data off the client and into the master is by using a > custom fact. The fact gets the data into a variable, then the variable is >

Re: [Puppet Users] Rspec with rspec-hiera-puppet

2013-04-03 Thread Maarten Thibaut
Hi Justin, I have just forked rspec-hiera-puppet on github, reverting some code changes made in version 1.0.0 by the original author. Tests work for me with this code, can you test this out? One way is to do a "bundle" to get the (broken) version installed, then go to your gems dir, move away t

Re: [Puppet Users] exec type doesn't refresh when onlyif is in use

2012-12-29 Thread Maarten Thibaut (mthibaut)
Hi, I believe the onlyif "wins" in this case. Splitting it up into two statements would be the right thing to do IMO. It would also be cleaner, since they are in effect two different cases: stopped (and in need of starting), and running (but in need of restart). The fact that these both run t

Re: [Puppet Users] Puppet newbie

2013-02-28 Thread Maarten Thibaut (mthibaut)
Are you sure your client is using 3.x? This error typically crops up with older facter versions which don't define the osfamily variable. To test, run "facter" on your client and see if osfamily is listed. Sent from my iPhone On 01 Mar 2013, at 01:47, "Alejandro Betancourt" mailto:alejandro.be

[Puppet Users] Rake tests for hiera

2013-03-22 Thread Maarten Thibaut (mthibaut)
Hi, I'm having a hard time figuring out how to make rake spec tests work correctly with hiera and puppet 3. Should I just give up for now until the various gems work with puppet 3? -- maarten -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. T