Re: [Puppet Users] Geppetto is ready

2011-06-21 Thread Martin Willemsma
Hello Henrik, First of all thanks for providing and IDE for puppet module development! I started using Gepetto just before puppetcamp Amsterdam and using it ever since. I like the idea of creating a skeleton and integrating directly with version control. One issue I experience at the moment is:

Re: [Puppet Users] How to manage many nodes easily?

2011-06-21 Thread Carles Amigó
We had the same problem and we just separated each node (or group of nodes) in one file and then we load them using the following syntax: import nodes/*.pp You could also organize those files in subdirectories if you like so: import nodes/*/*.pp The only problem we've found

Re: [Puppet Users] How to manage many nodes easily?

2011-06-21 Thread Martin Willemsma
We use /etc/puppet/node-definitions/*.pp in site.pp similar to what Carles is saying. [node-definitions] is a git repo thats being synced on both puppermasters. This happens on every push to origin We use the 'default' node which does the baseline configuration based on a 'role' In a separate

Re: [Puppet Users] How to manage many nodes easily?

2011-06-21 Thread Chris Phillips
I would see a principle whereby nodes should not ever be defined within the manifest code at all. To me the manifests should be written to be very generic, and then use ENC's to modify their behaviour at a user level. There is still a lot of inconsistency within Puppet as to how device specific

[Puppet Users] Re: Problem in wordpress moodule.

2011-06-21 Thread jcbollinger
On Jun 20, 4:54 pm, lucas.brig...@ymail.com grillobri...@gmail.com wrote: I tried using try the logouput = ON_FAILURE in the exec. But my client is a puppet CentOS. (The puppet version is outdated). Not recognizing this parameter. As you asked, I used the - debug. The output was

Re: [Puppet Users] installing puppet client

2011-06-21 Thread Andreas Kuntzagk
CHEBRIAN wrote: Hi, how to install puppet client thru puppet master . My requirement is to install puppet client nearly 400 client servers. its difficult to install puppet client in all the servers by apt- get . share u r suggestions . Regards chebrian We only (will) have about 100

Re: [Puppet Users] confused about file ensure/require

2011-06-21 Thread Craig White
On Jun 20, 2011, at 3:54 PM, Ken Barber wrote: It does seem like its not being included :-) ... What does: echo # foo /etc/ntp.conf puppet apply -d -e 'include ntp' Do? seems so basic - output at bottom I have gone over and over the Pro Puppet book and the

Re: [Puppet Users] confused about file ensure/require

2011-06-21 Thread Nigel Kersten
On Tue, Jun 21, 2011 at 9:03 AM, Craig White craig.wh...@ttiltd.com wrote: On Jun 20, 2011, at 3:54 PM, Ken Barber wrote: It does seem like its not being included :-) ... What does: echo # foo /etc/ntp.conf puppet apply -d -e 'include ntp' Do? seems so basic - output at

Re: [Puppet Users] confused about file ensure/require

2011-06-21 Thread Daniel Piddock
On 21/06/11 17:03, Craig White wrote: On Jun 20, 2011, at 3:54 PM, Ken Barber wrote: It does seem like its not being included :-) ... What does: echo # foo /etc/ntp.conf puppet apply -d -e 'include ntp' Do? seems so basic - output at bottom I have gone over and over the Pro

[Puppet Users] Adding README to puppetdoc?

2011-06-21 Thread macwall
Hi all, I'm working on creating all of our Documentation using puppetdoc (version 0.25 from EPEL on CentOS 5.5). We are including all of our modules at the same time using the --modulepath directive, however our README file is not being picked up. Is there any way to include the README file

Re: [Puppet Users] confused about file ensure/require

2011-06-21 Thread Craig White
On Jun 21, 2011, at 9:09 AM, Nigel Kersten wrote: On Tue, Jun 21, 2011 at 9:03 AM, Craig White craig.wh...@ttiltd.com wrote: On Jun 20, 2011, at 3:54 PM, Ken Barber wrote: It does seem like its not being included :-) ... What does: echo # foo /etc/ntp.conf puppet apply -d

[Puppet Users] sysv init scripts when using gem to install

2011-06-21 Thread Craig White
I am using ruby-enterprise for ruby packages and gem for puppet/facter installation and I 'borrowed' the ubuntu sysv init scripts and they mostly work but for some reason, it won't stop the service as written but it will start. For example, the 'puppet' script (obviously for puppetd) has the

[Puppet Users] Puppet agent problem on Ubuntu

2011-06-21 Thread John Nicholson
I'm in the process of setting up puppet and experiencing some issues. I'm running Ubuntu 11.04 desktop and server in two seperate VM's. I've installed puppet master (2.6.4) and puppet (2.6.4). The puppet master and agent are happily working together. I'm running the example in the book Pro

Re: [Puppet Users] confused about file ensure/require

2011-06-21 Thread Jeff Adams
I don't think you should be specifying the files part of the source path: Try: source = puppet:///modules/ntp/ntp.conf.debian - Jeff On 06/20/2011 06:12 PM, Craig White wrote: I don't know if it is or isn't being included but the -d -e were certainly useful bits... err:

[Puppet Users] Using modules from PuppetForge

2011-06-21 Thread Kyle Hall
Hello All, New puppet user here. I've been able to create and use my own puppet modules, but I'm at a loss on how to use modules from PuppetForge, which seem quite a bit more advanced. For example, I've installed the camptocamp/apt module via the command 'puppet-module install camptocamp/apt'

Re: [Puppet Users] installing puppet client

2011-06-21 Thread vagn scott
Have you looked at clusterssh? -- vagn On 06/21/2011 12:01 PM, Andreas Kuntzagk wrote: CHEBRIAN wrote: Hi, how to install puppet client thru puppet master . My requirement is to install puppet client nearly 400 client servers. its difficult to install puppet client in all the servers by

[Puppet Users] ANNOUNCE: Puppet 2.7.0 Released

2011-06-21 Thread Michael Stahnke
It's here! Puppet 2.7.0. This release is available for download at: http://puppetlabs.com/downloads/puppet/puppet-2.7.0.tar.gz It's available as a gem from rubygems.org. See the Verifying Puppet Download section at: http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet Please

Re: [Puppet Users] Geppetto is ready

2011-06-21 Thread Henrik Lindberg
Thanks for the error report. Can you log this issue at github and attach the stack trace? I like to get this reported to the provider of the Git integration (I suspect that is where the NPE is coming from, but the stack trace will tell). Regards - henrik On 6/21/11 11:19 AM, Martin Willemsma

Re: [Puppet Users] Puppet agent problem on Ubuntu

2011-06-21 Thread Ronen Narkis
Hey Im running puppet on Ubuntu On Tue, Jun 21, 2011 at 3:25 PM, John Nicholson vilvic.j...@gmail.comwrote: I'm in the process of setting up puppet and experiencing some issues. I'm running Ubuntu 11.04 desktop and server in two seperate VM's. I've installed puppet master (2.6.4) and puppet

Re: [Puppet Users] confused about file ensure/require

2011-06-21 Thread Denmat
Check your source declaration. source = puppet:///modules/ntp/files/${conf_file}, If your files are in modules/ntp/files you don't include that in your source declaration source = puppet:///modules/ntp/${conf_file}, http://docs.puppetlabs.com/guides/file_serving.html Cheers, Den On

Re: [Puppet Users] Geppetto is ready

2011-06-21 Thread Sergey Zhuga
Hi, thanks for this program. I've just created Gentoo ebuild for Geppetto-1.0.0: https://github.com/Scrill/scrill-overlay/raw/master/app-editors/geppetto/geppetto-1.0.0.ebuild Regards. 21.06.2011 02:38, Henrik Lindberg пишет: Geppetto 1.0 is released and ready for download. We want all the

[Puppet Users] Module in maintenance mode

2011-06-21 Thread Douglas Garstang
All, I have a module that I would like to set a variable for, and then if that is variable is set, consider the module (which deploys software), in 'maintenance mode', where it drops out of the module, and moves into the next module, kind of like a return function. Can puppet do that? I don't

Re: [Puppet Users] Module in maintenance mode

2011-06-21 Thread Patrick
On Jun 21, 2011, at 5:04 PM, Douglas Garstang wrote: All, I have a module that I would like to set a variable for, and then if that is variable is set, consider the module (which deploys software), in 'maintenance mode', where it drops out of the module, and moves into the next module,

Re: [Puppet Users] Module in maintenance mode

2011-06-21 Thread Douglas Garstang
Oh... right... of course... Put the logic one level up... That will work. Thanks On Jun 21, 2011, at 5:54 PM, Patrick kc7...@gmail.com wrote: On Jun 21, 2011, at 5:04 PM, Douglas Garstang wrote: All, I have a module that I would like to set a variable for, and then if that is variable

[Puppet Users] Announce: 2.6.9 Released

2011-06-21 Thread Michael Stahnke
This release is a maintenance release of the 2.6.x series of Puppet. This will likely be the last release in the 2.6.x series for Puppet, now that 2.7 is out. It's also a little odd that we have two production releases on the same day, but that's just how it worked out. This release is