Re: [Puppet Users] Puppet & Hudson CI

2010-12-29 Thread Nikolay Sturm
* Scott [2010-12-29]: > I'm looking for additional information regarding Puppet and Hudson. I blogged about our company's puppet setup here: http://blog.nistu.de/Continuous_Integration_for_Puppet.html Since that post I wrote cucumber-puppet, allowing me to implement some kind of automated test s

Re: [Puppet Users] Testing Puppet Manifests?

2010-12-29 Thread Nikolay Sturm
* Dustin J. Mitchell [2010-12-28]: > I'm having a hard time figuring out how best to develop and test > changes to Puppet manifests. Depending on the meaning of "test changes to Puppet manifests", cucumber-puppet might be of interest. It allows you to specify test cases and verifies catalog behavi

Re: [Puppet Users] Package Repositories at http://yum.puppetlabs.com/

2010-12-29 Thread hai wu
Does it mean mod_passenger RPM package for 2.2.11 is not recommended going forward? I had to run the built-in script from rubygem-passenger to build passenger module for apache earlier since no such RPM package was available from both repositories .. Thanks, Hai On Wed, Dec 29, 2010 at 8:20 PM, J

Re: [Puppet Users] Re: OS X package management

2010-12-29 Thread Gary Larizza
Hi Sean, I'm one of the guys looking into Munki/Puppet integration. I hope to have something hashed out very soon. For now, Nigel has outlined the alternatives. I have a small wiki setup at http://links.huronstudents.com/puppet that describes how I handle packages, but everything is still quite in

[Puppet Users] How to group actions

2010-12-29 Thread Dmytro Bablinyuk
Hi Everyone, I have a very big chunk of code that consists from file, package, exec, auges actions. I need to execute certain actions on certain hosts. Each group of actions is valid for a single client host only thus they are not re-usable. I was thinking about grouping those actions into some so

[Puppet Users] Package Repositories at http://yum.puppetlabs.com/

2010-12-29 Thread Jeff McCune
There has recently been some confusion over the contents of the package repositories located at http://yum.puppetlabs.com/ I hope to clarify the intended purpose of these repositories with the following information. The "base" repository located at: http://yum.puppetlabs.com/base/ contains offici

[Puppet Users] OS X package management

2010-12-29 Thread Sean Lazar
Hello, I've got puppet installed and working. I'm looking for a way to update software on OS X desktops. I have successfully set up the appdmg package provider, and I can update an application. How do you manage installs? I want to update an application but not when the user is using the appl

[Puppet Users] Re: Puppet & Hudson CI

2010-12-29 Thread Scott
Stefan, This is a great start, thank you! This is what I needed; once I check in the source code revision (and it passes the requisite tests) I can have Hudson trigger the sync tool on the puppet masters. It will work as-is; but if you could add the option for a specific revision I would be grat

[Puppet Users] Re: Puppet & Hudson CI

2010-12-29 Thread Scott
Thanks, Nigel. That actually gives me a few more ideas re: PXE booting against specific bootstrap images. I'll keep that in mind! On Dec 29, 12:04 pm, Nigel Kersten wrote: > On Wed, Dec 29, 2010 at 7:28 AM, Scott wrote: > > All, > > > I'm looking for additional information regarding Puppet and

[Puppet Users] Re: OS X package management

2010-12-29 Thread Nigel Kersten
On Wed, Dec 29, 2010 at 4:59 PM, Sean Lazar wrote: > Hello, > > I've got puppet installed and working. I'm looking for a way to update > software on OS X desktops. I have successfully set up the appdmg package > provider, and I can update an application. How do you manage installs? I > want to upd

Re: [Puppet Users] Re: puppet +with build support

2010-12-29 Thread Stefan Schlesinger
Hey Sanjiy, On Nov 16, 2010, at 11:41 , sanjiv.singh wrote: > i am able to use environment option for build support .. Don't know whether this might still be of use to you. I wrote a puppet-sync script, which in this setup could maybe solve your problem. http://sts.ono.at/blog/2010/12/22/s

Re: [Puppet Users] Puppet & Hudson CI

2010-12-29 Thread Stefan Schlesinger
Hey Scott, I wrote a puppet-sync tool which syncs a git branch from Git to puppet masters. http://sts.ono.at/blog/2010/12/22/synchronize-puppet-with-git/ Maybe you could trigger it from hudson and sync the build from the Git repository. Only thing which might still be missing, is to specify a rev

Re: [Puppet Users] Issues with puppet first launch

2010-12-29 Thread Patrick
On Dec 29, 2010, at 7:13 AM, Shawn wrote: > err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of > resource: undefined method `closed?' for nil:NilClass Could not retrieve file > metadata for puppet://puppetmaster.domainname.com/plugins: undefined method > `closed?' for nil:Nil

[Puppet Users] Re: case statement err?

2010-12-29 Thread An
Issue solved. It was something simple, the double quotation was missing when declaring the File. An. On Dec 29, 1:58 pm, An wrote: > Hi, > > I'm a newbie to Puppet so please bare with me if I made silly mistakes > or question something really simple. > > I was trying to intergrate Puppet with Na

[Puppet Users] case statement err?

2010-12-29 Thread An
Hi, I'm a newbie to Puppet so please bare with me if I made silly mistakes or question something really simple. I was trying to intergrate Puppet with Nagios and I was customizing David S's manifests/init.pp - extra_host define. I basically added one more variable ($host_template) in the purpose

Re: [Puppet Users] Puppet & Hudson CI

2010-12-29 Thread Nigel Kersten
On Wed, Dec 29, 2010 at 7:28 AM, Scott wrote: > All, > > I'm looking for additional information regarding Puppet and Hudson. > Specifically, I am looking to automatically push successful > environment builds (say for Dev, QA, Production environments) from > Hudson to Puppet.  Thus, when a puppet c

Re: [Puppet Users] Issues with puppet first launch

2010-12-29 Thread Nigel Kersten
On Wed, Dec 29, 2010 at 7:13 AM, Shawn wrote: > In one screen I am running the puppet daemon. > > r...@puppetmaster:~# puppetmasterd --verbose --no-daemonize > info: Caching certificate for ca > info: Creating a new SSL certificate request for puppetmaster > notice: puppetmaster has a waiting cert

Re: [Puppet Users] Puppet doesn't work over slow connections?

2010-12-29 Thread Nigel Kersten
On Tue, Dec 28, 2010 at 4:07 PM, Adam Nielsen wrote: > Hi all, > > I'm trying to do exactly the same thing as described on this bug report, and > I'm having exactly the same problem: > >  http://projects.puppetlabs.com/issues/4762 Adam, can you vote or watch that bug please so we know other peopl

[Puppet Users] Puppet & Hudson CI

2010-12-29 Thread Scott
All, I'm looking for additional information regarding Puppet and Hudson. Specifically, I am looking to automatically push successful environment builds (say for Dev, QA, Production environments) from Hudson to Puppet. Thus, when a puppet configuration is checked into Hudson and the build succeeds

[Puppet Users] Puppet doesn't work over slow connections?

2010-12-29 Thread Adam Nielsen
Hi all, I'm trying to do exactly the same thing as described on this bug report, and I'm having exactly the same problem: http://projects.puppetlabs.com/issues/4762 The bug report seems to suggest that "editing the line on the puppet master" will fix the problem, but I don't know what this

[Puppet Users] Issues with puppet first launch

2010-12-29 Thread Shawn
In one screen I am running the puppet daemon. r...@puppetmaster:~# puppetmasterd --verbose --no-daemonize info: Caching certificate for ca info: Creating a new SSL certificate request for puppetmaster notice: puppetmaster has a waiting certificate request notice: Signed certificate request for pup

Re: [Puppet Users] Puppet and augeas - onlyif conditions; overwriting default values

2010-12-29 Thread Rob McBroom
On Dec 29, 2010, at 3:07 AM, Os wrote: > But perhaps I am doing the whole thing wrong, is there an other way to > solve this default-custom thing? Depending on how conceptually “close together” they are, you could just define the defaults in one class and have another class that inherits from it

Re: [Puppet Users] How do you extend a previous setting?

2010-12-29 Thread Adam Nielsen
Is there any way I can make the node definition "inherit" the site one? All I want to do is add another entry into the array passed as the 'groups' parameter. Good keyword that. Put the use definition in a class. Each list of groups is a subclass such that class my_user_in_group_foo inherits m

Re: [Puppet Users] How do you extend a previous setting?

2010-12-29 Thread Felix Frank
On 12/29/2010 01:26 PM, Adam Nielsen wrote: > Hi all, > > I have a site.pp which defines the user I want to log in as, however on > some nodes (depending on which software is installed) this user needs to > be a member of particular groups. > > If I define the user in site.pp with core details an

[Puppet Users] How do you extend a previous setting?

2010-12-29 Thread Adam Nielsen
Hi all, I have a site.pp which defines the user I want to log in as, however on some nodes (depending on which software is installed) this user needs to be a member of particular groups. If I define the user in site.pp with core details and then in each class alter the group membership (the

Re: [Puppet Users] Modify file with use of regex

2010-12-29 Thread Felix Frank
On 12/29/2010 12:44 AM, Dmytro Bablinyuk wrote: > Hi Everyone, > > I am trying to modify /etc/drbd.d/global_common.conf that in general > looks like this > > ... > net { > # snd‐buf-size rcvbuf-size timeout connect-int ping- > int ping-timeout max-buffers >

Re: [Puppet Users] Testing Puppet Manifests?

2010-12-29 Thread Felix Frank
On 12/28/2010 09:04 PM, Patrick wrote: > > On Dec 28, 2010, at 9:45 AM, Dustin J. Mitchell wrote: > >> Second, I'm working on refactoring our puppet configuration, and in so >> doing it would be best to ensure I haven't unexpectedly changed any >> resources. Is there any machine-parsable way of

Re: [Puppet Users] Generating Certs

2010-12-29 Thread Felix Frank
On 12/28/2010 08:34 PM, Mike wrote: > Hi, > > I am trying to generate certificates on my puppet client to enable > communication with my puppet master. However, when I run rake > cert:create_key_pair I get the following message from rake: > > rake aborted! > Don't know how to build task 'cert:cr

Re: [Puppet Users] Use MySQL replication with stored configs

2010-12-29 Thread Carles Amigó
Thanks. I'll give it a shot :) El 28/12/2010 17:40, Ohad Levy escribió: 2010/12/27 Carles Amigó mailto:carles.am...@softonic.com>> Couldn't find any related thread... We're using it mainly for collection so far (ie: nagios), but in the future we'll probably use it for inventory too

Re: [Puppet Users] How the agents are distinguishing the matching config changes ?

2010-12-29 Thread Felix Frank
On 12/28/2010 03:45 PM, mbuyukkarakas wrote: > Dear members, > > I'm a newbie in Puppet. I was not able to find answers about this. > Could you please redirect me to the correct resources. Thank you. > > > I need to manage several Solaris10 servers. But I guess every server > wont have the same

[Puppet Users] Puppet and augeas - onlyif conditions; overwriting default values

2010-12-29 Thread Os
Hello, I am still not getting warm with augeas and puppet, there are some things I do not understand. At the moment I am trying the following: - I want to set some kernel parameters in the /etc/sysctl.conf file - in one puppet module, I have defined some default values for the kernel parameters -