Re: [Puppet Users] Re: Puppet installed using Gem

2012-02-07 Thread Felix Frank
Hi, On 02/06/2012 11:39 AM, sateesh wrote: when I run the agent command along with parameter --test, then the catalog is executed for the client to create the test file. Please let me know where I have went wrong. I have waited for 1 hour whether the test file will be created after starting

[Puppet Users] Re: Recommendation for general practice for application deployment?

2012-02-07 Thread 骡骡
Hi, Alessandro Francesch: I am just use Puppi, it's dont work! my configuration: server /etc/puppet/modules/puppi/manifests/init.pp add puppi::project::builder { tengine: source = svn://tvmining:tvmin...@svn.test.local/product/ tengine, source_type = dir,

[Puppet Users] Has anybody tried puppet in combination with NSIS installers?

2012-02-07 Thread Pedro Lafuente
Hi all! Just wondering if anyone has successfully used puppet in combination with NSIS installers (afaik only msi support is available at the moment - i'm not yet familiar with puppet's capabilities under windows systems). Thank you very much in advance, Pedro Lafuente -- You received this

[Puppet Users] class inheritance question

2012-02-07 Thread jimbob palmer
If I have a class class something {} and a subclass class something::blah ($var=0) inherits something { class { 'something::aaa': somevar = 1, } class { 'something::bbb': somevar = 2, } } should the classes called from the subclass inherit the parent class? e.g. which is good

Re: [Puppet Users] class inheritance question

2012-02-07 Thread R.I.Pienaar
- Original Message - From: jimbob palmer jimbobpal...@gmail.com To: puppet-users@googlegroups.com Sent: Tuesday, February 7, 2012 11:52:23 AM Subject: [Puppet Users] class inheritance question If I have a class class something {} and a subclass class something::blah

Re: [Puppet Users] class inheritance question

2012-02-07 Thread Felix Frank
Hi, sorry for jumping to conclusions, but your questions suggest that you're committed to some rather horribly design ideas. Can you add some meat to your inquiry? What are your trying to achieve? Under most circumstances, you don't want inheritance at all. Use it *only* to override the

Re: [Puppet Users] Puppet SSL Problems

2012-02-07 Thread Felix Frank
Hi, sorry for following up late. On 02/02/2012 08:06 PM, Thomas Jones wrote: /usr/sbin/puppetd --server puppet-server.domain.com --verbose --no-daemonize --waitforcert 60 It appears to me that your master... [root@puppet-server thomasjones]# /usr/sbin/puppetca --list --all +

[Puppet Users] Re: class inheritance question

2012-02-07 Thread jimbob palmer
On Feb 7, 1:21 pm, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: Hi, sorry for jumping to conclusions, but your questions suggest that you're committed to some rather horribly design ideas. Then please educate me! What's horrible about it? Can you add some meat to your inquiry? What

Re: [Puppet Users] Re: class inheritance question

2012-02-07 Thread Felix Frank
Hi, On 02/07/2012 01:56 PM, jimbob palmer wrote: sorry for jumping to conclusions, but your questions suggest that you're committed to some rather horribly design ideas. Then please educate me! What's horrible about it? There are few use cases for parameterized classes, and also few for

[Puppet Users] Re: pass values to puppet-lvm

2012-02-07 Thread jcbollinger
On Feb 6, 11:23 am, Luke lutay...@gmail.com wrote: How does everyone else manage LVM on centos? Do you do it manually? Do you have a shell script? Some how through puppet? I do it manually. If I had to do a lot of identical boxes then I might script it, maybe via kickstart, but it's not the

[Puppet Users] Re: Passing class parameters to hiera

2012-02-07 Thread jcbollinger
On Feb 6, 4:23 pm, Gmoney greg.caldwe...@gmail.com wrote: I am using puppet 2.6.11 and want to pass parameter for implementing sudo for mulitple users. So here is my simple code, which I would like to pass to hiera to specify user name lookup. Appreciate any help, thanks in advance. class

[Puppet Users] Researching Puppet - Local host variations

2012-02-07 Thread thinkwell
Hello everyone, First-time poster investigating Puppet for managing CentOS-based firewall distros at various locations. I have approximately 130 machines to administrate so some type of config management is certainly needed. I've been working through Puppet tutorials and I'm wondering if Puppet

Re: [Puppet Users] Re: class inheritance question

2012-02-07 Thread jimbob palmer
2012/2/7 jcbollinger john.bollin...@stjude.org: On Feb 7, 7:33 am, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: Hi, On 02/07/2012 01:56 PM, jimbob palmer wrote: sorry for jumping to conclusions, but your questions suggest that you're committed to some rather horribly design

Re: [Puppet Users] Re: Passing class parameters to hiera

2012-02-07 Thread Nan Liu
On Tue, Feb 7, 2012 at 6:19 AM, jcbollinger john.bollin...@stjude.org wrote: On Feb 6, 4:23 pm, Gmoney greg.caldwe...@gmail.com wrote: I am using puppet 2.6.11 and want to pass parameter for implementing sudo for mulitple users. So here is my simple code, which I would like to pass to hiera

[Puppet Users] Re: Researching Puppet - Local host variations

2012-02-07 Thread Ramin K
On Feb 7, 6:17 am, thinkwell thinkwelldesi...@gmail.com wrote: Hello everyone, 2. Squid ACLs: All machines will have certain Squid ACLs, but many machines will vary otherwise, say in cache size for example. In regards to #2 on your list it's pretty easy to do stuff like this if you're running

Re: [Puppet Users] Re: pass values to puppet-lvm

2012-02-07 Thread Denmat
And I kickstart and script (%post kickstart section) where possible but I'm going to look into the lvm module after finding it a couple of days ago - for partitions I don't plan on hosts I can't rebuild. HTH Den On 08/02/2012, at 1:00, jcbollinger john.bollin...@stjude.org wrote: On Feb

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

2012-02-07 Thread Monkeys Typing
I disliked all the dependencies that the -lsb package pulled onto my servers, like CUPS and X. So I just created a custom fact with the code that has been used since el3 to determine a release: Facter.add(release) do setcode do %x{cat /etc/redhat-release | awk -Frelease {'print $2'} | awk

Re: [Puppet Users] Cipher is not a module

2012-02-07 Thread Anthony J Burton
I too am having this issue. I've noticed that there are quite a few posts available on Google that seem to talk about this, but all of them recommend removing libraries which supposedly solve the problem. Not so in my case... Initially I realized that I did have some i386 and i686 libraries

[Puppet Users] Best sequence for building/managing servers with Puppet?

2012-02-07 Thread weloki
I need to both build some new servers and rebuild some existing ones keeping in mind I want to use Puppet. The question is which is the best sequence to proceed with? A) Develop modules one by one and make sure each component works, then assemble and test modules that need to talk to each other

Re: [Puppet Users] Best sequence for building/managing servers with Puppet?

2012-02-07 Thread Craig White
On Feb 7, 2012, at 1:46 PM, weloki wrote: I need to both build some new servers and rebuild some existing ones keeping in mind I want to use Puppet. The question is which is the best sequence to proceed with? A) Develop modules one by one and make sure each component works, then assemble

Re: [Puppet Users] Re: class inheritance question

2012-02-07 Thread jimbob palmer
2012/2/7 Jan Ivar Beddari jan.ivar.bedd...@uib.no: On 02/07/2012 03:54 PM, jimbob palmer wrote: # The right way class foo::specific {    include 'foo::common'    # specific stuff } So can I be sure that the include will run first, before the specific stuff here? Kind of, but you

[Puppet Users] Removing custom facts from Facter

2012-02-07 Thread wernerbahlke
Hi, I need to remove a custom fact from facter. How to do this? For now, I set the environment variable FACTER_customfact = something but would like to get rid of it permanently. Thanks, Werner -- You received this message because you are subscribed to the Google Groups Puppet Users group.

Re: [Puppet Users] Re: class inheritance question

2012-02-07 Thread Nan Liu
On Tue, Feb 7, 2012 at 1:13 PM, jimbob palmer jimbobpal...@gmail.com wrote: 2012/2/7 Jan Ivar Beddari jan.ivar.bedd...@uib.no: On 02/07/2012 03:54 PM, jimbob palmer wrote: # The right way class foo::specific {    include 'foo::common'    # specific stuff } So can I be sure that the

Re: [Puppet Users] Re: class inheritance question

2012-02-07 Thread Craig White
On Feb 7, 2012, at 2:13 PM, jimbob palmer wrote: 2012/2/7 Jan Ivar Beddari jan.ivar.bedd...@uib.no: On 02/07/2012 03:54 PM, jimbob palmer wrote: # The right way class foo::specific { include 'foo::common' # specific stuff } So can I be sure that the include will run first,

[Puppet Users] Error 400 on SERVER: No support for http method POST

2012-02-07 Thread rjl
Hi All, I found a post from last year similar to this but it did not provide me with a solution. I just upgraded from 2.6.7 to 2.7.10. My clients that are still running the older 2.6.7 version are working fine. However, my clients that I have upgraded to 2.7.10 are throwing the following error:

[Puppet Users] Re: Error 400 on SERVER: No support for http method POST

2012-02-07 Thread rjl
The puppet master is at the same version. [root@stsdev-pri conf.d]# rpm -qa | grep puppet puppet-server-2.7.10-1.el5 level3-osp-puppetmaster-2.2.07-el5 puppet-2.7.10-1.el5 On Feb 7, 3:21 pm, Craig White craig.wh...@ttiltd.com wrote: On Feb 7, 2012, at 2:37 PM, rjl wrote: Hi All, I found a

Re: [Puppet Users] proper way to mirror apt.puppetlabs.com?

2012-02-07 Thread Zach Leslie
When the announcement was made, the rsync configuration was not changed, so the excludes were not in sync with reality. I have just reviewed the settings on the rsync server and tested better excludes. The following command is now working like I expect. rsync -av --copy-links --del

Re: [Puppet Users] Re: Error 400 on SERVER: No support for http method POST

2012-02-07 Thread Shawn
I noticed this problem today with a 2.6.3 client which was upgraded today to 2.7.10. Master is 2.6.3 Sent via BlackBerry -Original Message- From: rjl rjlin...@gmail.com Sender: puppet-users@googlegroups.com Date: Tue, 7 Feb 2012 15:01:14 To: Puppet Userspuppet-users@googlegroups.com

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

2012-02-07 Thread d...@looprock.com
I use this: Facter.add(operatingsystemrelease_mv) do setcode do %x{cat /etc/redhat-release |awk \{'print $3'\}|cut - c1}.chomp end end On Feb 3, 11:29 am, Ramin K ramin.khat...@gmail.com wrote: You'll need to add the redhat-lsb package to your kickstart system

[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

[Puppet Users] puppetd hanging on some nodes

2012-02-07 Thread Gonzalo Servat
Hi All, In my set-up, I've got a cron job that triggers a Puppet run every 20 minutes. I've found that on approximately 13 nodes (out of 166), puppetd just hangs. I have to go in, kill the process, remove /var/lib/puppet/state/puppetdlock, and run puppet again and then it's fine. After a while,

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

2012-02-07 Thread Wolf Noble
I'd enjoy coming to this. Please keep me posted as things develop. Thanks Dan! MobileMail On Feb 7, 2012, at 7:05 PM, Dan Bode d...@puppetlabs.commailto:d...@puppetlabs.com 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

Re: [Puppet Users] puppetd hanging on some nodes

2012-02-07 Thread Brian Gallew
If you are like me, the problem is that the ruby for your platform sucks. The webstack ruby 1.8.7 for Solaris 10 has a nasty tendency to hang (for the daemons) and core dump for individual runs. Individual runs out of a crontab are the most reliable way I've found to make it all work. On Tue,