Re: [Puppet Users] require one file from several environments

2013-10-06 Thread Cory Stoker
Data like this should probably go into hiera. Then write modules to use the data via parameterized classes or hiera() lookups. For example we use the datadir directive in hiera to split out hiera lookups to become environments aware. This would simplify your data structure to where you are just

Re: [Puppet Users] Converting augeas snippet to puppet augeas resource

2013-10-06 Thread Cory Stoker
Ouch my eyes... Augeas can wreck your day sometimes. I have to ask though, why not use the Puppetlabs Firewall Module? It's here: https://forge.puppetlabs.com/puppetlabs/firewall Then you would do something like this: firewall { 'mayo_fw TCP/3': ensure = present, table =

[Puppet Users] storeconfigs

2013-10-06 Thread ytmp123
Hi guys! I need your help: I've installed SQL-Lite3 on my puppetmaster. I activated storeconfigs both on my puppetmaster and puppetagent. I'm trying to collect all SSH-public keys from all Agents: site.pp: class exporter { @@file {$fqdn: path = /var/lib/puppet/$fqdn, content =

[Puppet Users] Re: storeconfigs

2013-10-06 Thread ytmp123
If I remove storeconfigs=true from the Agent's puppet.conf-file then there is no error on the Agent. But the desired files aren't created in the puppet-server's /var/lib/puppet-directory. No files are created. So where is the data collected? Can anyone help me? -- You received this message

[Puppet Users] Re: Installing Puppet on Windows: Error 1053

2013-10-06 Thread eugen
Same stuff for russian windows Please help us ) среда, 17 июля 2013 г., 20:27:05 UTC+4 пользователь Иван Кадочников написал: Hi all, I have trouble installing puppet open source 3.2.3 from the msi package on Windows 7 Home Basic. The error message is Service 'Puppet Agent' (puppet) failed

Re: [Puppet Users] err: Could not retrieve catalog from remote server: Error 400 on SERVER: allocator undefined for Proc

2013-10-06 Thread Sans
Hi there, Just to report that I still see the same issue: Debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using pson Error: Could not retrieve catalog from remote server: Error 400 on SERVER: allocator undefined for Proc

Re: [Puppet Users] err: Could not retrieve catalog from remote server: Error 400 on SERVER: allocator undefined for Proc

2013-10-06 Thread Sans
Hi there, Just to report that I still see the same issue: Debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using pson Error: Could not retrieve catalog from remote server: Error 400 on SERVER: allocator undefined for Proc

Re: [Puppet Users] Puppet is always trying 'service start' instead of 'restart' - how to force restart?

2013-10-06 Thread Sans
Thanks Trevor! Although I was wondering about it but never thought that's actually causing this problem. On Debian/Ubuntu, the name of the init.d script (ganglia-monitor) is different than the daemon (gmond). Fixed now. Cheers!! -- You received this message because you are subscribed to the

Re: [Puppet Users] Puppet.3.3.0.msi Package Failed to Install

2013-10-06 Thread Rob Reynolds
Chengkai, I'm not seeing the error message. But let me ask this question - are you attempting to install on a non en-US machine? If so, we just fixed a nasty bug that had errors with starting the agent service (something that is done during installation).

Re: [Puppet Users] Converting augeas snippet to puppet augeas resource

2013-10-06 Thread Patrick Spinler
I'm not using the puppet firewall module because, if I read the docs correctly, I'd need to use that module to completely manage the firewall settings, and it seems to require a good bit of setup to get there, too. Unfortunately, due to political and organizational circumstance, I don't have the

Re: [Puppet Users] Re: storeconfigs

2013-10-06 Thread Cory Stoker
It looks like you do not have all the Ruby gems installed. Storeconfigs requires Activerecord version 2.1 or later. On your system depending on how you install your Ruby gems, you should run: #see if Activerecord is installed gem list if you do not find it installed then you should install from

Re: [Puppet Users] Puppet.3.3.0.msi Package Failed to Install

2013-10-06 Thread chengkai liang
I will see if that version fix the problem. On Oct 6, 2013, at 11:16 AM, Rob Reynolds r...@puppetlabs.com wrote: Chengkai, I'm not seeing the error message. But let me ask this question - are you attempting to install on a non en-US machine? If so, we just fixed a nasty bug that had

Re: [Puppet Users] Converting augeas snippet to puppet augeas resource

2013-10-06 Thread Patrick Spinler
For what it's worth, leaving the incl = and lens = statements in did the trick. Either that or cleaning up some of the iptables.save and other similar files ahead of time. I did have to figure out the correct format for the lens = statement, which is apparently to use a capitalized lens name