[Puppet Users] Re: Anyone know a good tool for 'watching' configurations?

2012-02-10 Thread ptman
> > Does anyone have any idea on if there are any tools that can provide > the ability to watch directories for changes like that. > You might want to take a look at http://joey.kitenet.net/code/etckeeper/ for ideas. Cheers, Paul -- You received this message because you are subscribed to t

[Puppet Users] Re: Looping in Ruby DSL

2012-02-10 Thread sateesh
Hi Felix, Thanks for the help. I have solved it another way. In my case the array is dynamic. My scripts should support any number of IPs. Initially we dont know that. The user will set the array in the site.pp and run the scripts. Our modules should rnu according to the length of the array. So h

[Puppet Users] Re: Questions regarding Puppet with httpd.conf

2012-02-10 Thread the_fonz
Thanks for the replies, they were very helpful. I'll post back if I have any problems. On Feb 9, 5:45 am, Brian Gallew wrote: > Further, you should remember that there is no reason for an Apache > configuration to be monolithic.  Apache is perfectly happy to have a bunch > of files to include.  T

Re: [Puppet Users] Re: neatest way to determine a major version of centos/linux?

2012-02-10 Thread Dick Davies
Thanks all, there should be enough in the replies to get me going :) Want to use hiera for determining package names etc between major versions (e.g. sendmail on 5.x, postfix on 6.x) - will look up based on OS_flavour+ major_release (Centos-5.json, RHEL-6.json, etc.) and that should get me sorted

[Puppet Users] puppet-module-tool question

2012-02-10 Thread Darin Perusich
The puppet-module-tool GIT pages says it's been converted into a puppet face and merged into puppet core. Does this make puppet-module obsolete or does it still need to be installed? I'm running puppet 2.7.9 but this "face" is not included so obviously it's not available. Can someone provide a lit

[Puppet Users] Re: Time interval within execution of scripts from the server

2012-02-10 Thread Ygor
http://lmgtfy.com/?q=cron+random+delay Inserting Random Delay In Cron Jobs http://www.moundalexis.com/archives/76.php On Feb 9, 9:00 am, mukulm wrote: > Hi, > > I have multiple script to be copied & executed from the puppet server > on the client systems but i want to execute > each script w

[Puppet Users] SSL certificates issues with some of the nodes

2012-02-10 Thread mukulm
Hi, I am using puppet open source & their are above 2000 nodes in my network & getting SSL certificates issues with some of the remote nodes & they are not in sync with puppet server where others are in sync with server & date of the nodes systems are in sync with ntp server, also tried the foll

Re: [Puppet Users] puppet-module-tool question

2012-02-10 Thread Kelsey Hightower
On Feb 10, 2012, at 8:41 AM, Darin Perusich wrote: > The puppet-module-tool GIT pages says it's been converted into a > puppet face and merged into puppet core. Does this make puppet-module > obsolete or does it still need to be installed? The puppet module tool still needs to be installed, sor

[Puppet Users] puppet 2.6.13-2.el5 not writing logs

2012-02-10 Thread Sam F
Hi every one, I have a strange behavior with my puppet agent on CentOS 5.7. The agent does not write into the log file when it runs as a daemon. Nevertheless, It does when it is run manually by "puppet agent -t". And the behavior is the same even if I specify explicitly the log file on the comm

[Puppet Users] Re: How do I track updates to forge modules?

2012-02-10 Thread Kelsey Hightower
On Feb 2, 5:55 pm, John Warburton wrote: > Is there a way to "watch" modules and be notified if they are updated? > > I can't see anything obvious in the documentation > > Thanks > > John Currently there is no easy way to "track" when modules are updated on the Forge. One way I can think of to tr

Re: [Puppet Users] puppet-module-tool question

2012-02-10 Thread Darin Perusich
On Fri, Feb 10, 2012 at 9:05 AM, Kelsey Hightower wrote: > On Feb 10, 2012, at 8:41 AM, Darin Perusich wrote: > >> The puppet-module-tool GIT pages says it's been converted into a >> puppet face and merged into puppet core. Does this make puppet-module >> obsolete or does it still need to be insta

[Puppet Users] Re: SSL certificates issues with some of the nodes

2012-02-10 Thread Kelsey Hightower
On Feb 10, 8:59 am, mukulm wrote: > Hi, > > I am using puppet open source & their are above 2000 nodes in my > network & getting SSL certificates issues with some of the remote > nodes & they are not in sync with puppet server where others are in > sync with server & date of the nodes systems are

[Puppet Users] Re: puppet 2.6.13-2.el5 not writing logs

2012-02-10 Thread Kelsey Hightower
On Feb 10, 7:52 am, Sam F wrote: > Hi every one, > > I have a strange behavior with my puppet agent on CentOS 5.7. > > The agent does not write into the log file when it runs as a daemon. > Nevertheless, It does when it is run manually by "puppet agent -t". > > And the behavior is the same even

Re: [Puppet Users] opensource VPN modules

2012-02-10 Thread Raffael Schmid
Hi Gabriel On Thu, 09 Feb 2012, Gabriel Filion wrote: > Do you guys know of opensourced puppet modules for managing VPN services? > > I've only found a handful of modules for openvpn that seemed less than > complete. Check mine https://github.com/luxflux/puppet-openvpn, I think it is complete. O

[Puppet Users] Re: opensource VPN modules

2012-02-10 Thread Kelsey Hightower
On Feb 10, 10:12 am, Raffael Schmid wrote: > Hi Gabriel > > On Thu, 09 Feb 2012, Gabriel Filion wrote: > > Do you guys know of opensourced puppet modules for managing VPN services? > > > I've only found a handful of modules for openvpn that seemed less than > > complete. > > Check minehttps://gith

Re: [Puppet Users] Re: opensource VPN modules

2012-02-10 Thread Raffael Schmid
Hi Kelsey On Fri, 10 Feb 2012, Kelsey Hightower wrote: > > Check minehttps://github.com/luxflux/puppet-openvpn, I think it is > > complete. Or which options are you missing? > > Raffael, cool module, how can I help you get that on the Puppet Forge: > http://forge.puppetlabs.com. Looks like you a

Re: [Puppet Users] Re: opensource VPN modules

2012-02-10 Thread Kelsey Hightower
On Fri, Feb 10, 2012 at 10:24 AM, Raffael Schmid wrote: > > Hi Kelsey > > On Fri, 10 Feb 2012, Kelsey Hightower wrote: > > > > Check minehttps://github.com/luxflux/puppet-openvpn, I think it is > > > complete. Or which options are you missing? > > > > Raffael, cool module, how can I help you get

Re: [Puppet Users] Re: opensource VPN modules

2012-02-10 Thread Raffael Schmid
Hi Kelsey On Fri, 10 Feb 2012, Kelsey Hightower wrote: > One way to generate the metadata file is to use the puppet module tool: > https://github.com/puppetlabs/puppet-module-tool > > Once you have it installed run the generate command: > > puppet-module generate username-modulename > > You can g

Re: [Puppet Users] opensource VPN modules

2012-02-10 Thread Gabriel Filion
On 12-02-10 10:12 AM, Raffael Schmid wrote: > On Thu, 09 Feb 2012, Gabriel Filion wrote: > >> Do you guys know of opensourced puppet modules for managing VPN >> services? >> >> I've only found a handful of modules for openvpn that seemed less >> than complete. > > Check mine https://github.com/l

Re: [Puppet Users] Re: opensource VPN modules

2012-02-10 Thread Raffael Schmid
> Okay. Thank you for this short introduction! > I will rewrite the module to use concat instead of concatfilepart and put it > on > puppetlabs afterwards. The refactored Version is now live: http://forge.puppetlabs.com/users/luxflux/modules/openvpn/releases/1.0 signature.asc Description: Dig

[Puppet Users] Re: Issue Installing Puppet on Red Hat6

2012-02-10 Thread Gmoney
Tried all suggestions. The Red Hat Optional channel contains rubygems-1.37 ( not 1.8.7 ) , the ruby and ruby-libs are both 1,8.7, Guess I have to grab the source and build it myself, I can't seem to find rubygems-1.8.7 anywhere. yum -y install puppet-dashboard Loaded plugins: rhnplugin This system

Re: [Puppet Users] Why are not the reports uploading?

2012-02-10 Thread Peter Berghold
On Thu, Feb 9, 2012 at 4:40 PM, Russell Van Tassell wrote: > The silly question... that's in the agent's puppet.conf, not just in the > agent section of the puppet.conf on the puppet master? Yes. It is universally in all my agent puppet.conf files. > Have you restarted the server and agents?

[Puppet Users] Another dashboard question..

2012-02-10 Thread Peter Berghold
what does dashboard consider a "class?" what does dashboard consider a "group?" Is there documentation for all this that I've missed? -- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- You received this message because you are subscribed to the Google Groups "Puppet Users" gr

Re: [Puppet Users] Another dashboard question..

2012-02-10 Thread Kenneth Lo
I'm still relatively new on puppet, but we've been using dashboard quite extensively so I'm hoping I'm providing the correct answer: >From dashboard a class is simply a place-holder for referencing puppet module >from the backend. A group is where you can assign classes into nodes, as well as c

[Puppet Users] Augeas fstab question

2012-02-10 Thread Joe
I'm trying to add a mount option using puppet/augeas. Something like: class acl { augeas { "var_fs_acl": context => "/files/etc/fstab", changes => ["ins opt after *[file='/var']/ opt[last()]", "set *[file='/var']/opt[last()] acl"]

Re: [Puppet Users] Augeas fstab question

2012-02-10 Thread Christopher Wood
Try the mount type? http://docs.puppetlabs.com/references/stable/type.html#mount (Any particular reason for using augeas?) On Fri, Feb 10, 2012 at 12:10:56PM -0800, Joe wrote: > I'm trying to add a mount option using puppet/augeas. Something like: > > class acl { > augeas { "var_fs_acl"

Re: [Puppet Users] Augeas fstab question

2012-02-10 Thread David Rolston
On Fri, Feb 10, 2012 at 12:15 PM, Christopher Wood < christopher_w...@pobox.com> wrote: > Try the mount type? > > http://docs.puppetlabs.com/references/stable/type.html#mount > > (Any particular reason for using augeas?) > > On Fri, Feb 10, 2012 at 12:10:56PM -0800, Joe wrote: > > I'm trying to ad

[Puppet Users] Re: Issue Installing Puppet on Red Hat6

2012-02-10 Thread jcbollinger
On Feb 10, 11:35 am, Gmoney wrote: > Tried all suggestions. The Red Hat Optional channel contains > rubygems-1.37 ( not 1.8.7 ) , the ruby and ruby-libs are both 1,8.7, > Guess I have to grab the source and build it myself, I can't seem to > find rubygems-1.8.7 anywhere. Why do you assume that

[Puppet Users] Re: Anyone seeing odd agent behaviour with 2.7.10?

2012-02-10 Thread Will S. G.
I was browsing the group to see if anyone else was experiencing the issue. I'm having the same with CentOS 6.2 x86_64. From what I see, puppetd should be running with the user puppet. However, the pid is now owned by root, which is obviously the issue. Someone made a mistake on the puppet RPM spec

Re: [Puppet Users] Augeas fstab question

2012-02-10 Thread Dominic Cleal
On 10/02/12 20:10, Joe wrote: > I'm trying to add a mount option using puppet/augeas. Something like: > > class acl { > augeas { "var_fs_acl": > context => "/files/etc/fstab", > changes => ["ins opt after *[file='/var']/ > opt[last()]", >

Re: [Puppet Users] Re: Anyone seeing odd agent behaviour with 2.7.10?

2012-02-10 Thread Craig White
to my knowledge puppetd always runs as root because it needs the permissions in order to perform its magic. puppetmaster runs as user:puppet, group:puppet but not puppetd Craig On Feb 10, 2012, at 4:14 PM, Will S. G. wrote: > I was browsing the group to see if anyone else was experiencing the >