[Puppet Users] Re: nodes inherits with external node

2009-09-01 Thread Moty
Hi, I like Lab42 example. I understand what you saying about sticking to something instead of adapting it to your needs but In terms of structural idea I liked Lab42 example it gives you a nice abstraction level of nodes and classes. It's flexible and makes you "write once, use many". I'm not usi

[Puppet Users] Re: Storing puppet info in a database

2009-09-01 Thread Joel Krauska
Puppet already stores a lot of this data in YAML. Take a look at /var/lib/puppet/yaml/facts/ Here's a quick and dirty perl tool. (it needs the YAML perl module to work) #!/usr/bin/perl use YAML; $facts ='/var/lib/puppet/yaml/facts/*.yaml'; foreach my $file ( glob $facts ) { my $data = YAM

[Puppet Users] Re: Storing puppet info in a database

2009-09-01 Thread Ohad Levy
and, I forgot, you are not forced to use store configs just for the inventory. On Wed, Sep 2, 2009 at 9:27 AM, Ohad Levy wrote: > I also recommend using external nodes and facts as inventory. > > if you are looking for an active project (unlike puppetshow and iclassiy) > you might consider gni.

[Puppet Users] Re: Storing puppet info in a database

2009-09-01 Thread Ohad Levy
I also recommend using external nodes and facts as inventory. if you are looking for an active project (unlike puppetshow and iclassiy) you might consider gni. it already does what you want, and more :) http://wiki.github.com/ohadlevy/gni cheers, Ohad On Wed, Sep 2, 2009 at 1:00 AM, Kenneth Holt

[Puppet Users] Re: classifier is failing to compile

2009-09-01 Thread Asif Iqbal
On Tue, Sep 1, 2009 at 2:03 PM, Dan Bode wrote: > I add some code to indirector/exec.rb so that I can get some error messages > back in case of failure, without it I would be helplessly stuck when trying > to debug external node errors (for 24.8 anyways..). > > Its one line of code, it is mentione

[Puppet Users] Re: nodes inherits with external node

2009-09-01 Thread Joe McDonagh
Moty wrote: > So , If i'm currently working with the model of: > > infrastructure.pp > roles.pp > nodes.pp > > (model taken from Lab42 example) > > I need to break the infrastructure.pp and find some place to put all > of my node parameters ( in the classes probably) > > hmmmI liked Lab42 mod

[Puppet Users] Re: installing different versions of packages (APT)

2009-09-01 Thread Silviu Paragina
You may use a syntax like this package { "resource-name-aka-in-puppet-name": name =>"debian-package-name", .. } Second check the naming of packages beacause your package probably has a different name than the debian one. Silviu ELTigre wrote: > Thanks Eric for your soon

[Puppet Users] Re: puppet 0.24.8, random problem with very slow puppetruns - no stored-configuration

2009-09-01 Thread Joe McDonagh
Kurt wrote: > Hello list, > > In our company we use puppet to configure our ec2 instances. > we start our servers with fresh instances debian lenny, some small and > some large. > > we install puppet like this: > apt-get -y --force-yes install ruby1.8 rubygems1.8 > gem install puppet --include-dep

[Puppet Users] Re: Using Puppet for updating Ubuntu machines over the network

2009-09-01 Thread Nigel Kersten
We use Puppet environments for unstable, testing, stable, and mirror this with our own apt repositories. Thus our sources list for a given unstable/testing/stable install matches the equivalent apt repository, with a template. We do schedule apt updates just before each puppet run. --~--~--

[Puppet Users] Re: Using Puppet for updating Ubuntu machines over the network

2009-09-01 Thread Joe McDonagh
Justin Kinney wrote: >> I'm new with Puppet and as far as I have searched I couldn't find a >> very good solution for updating some machines over the network. I >> > > I think that many on the list feel that you should use the correct > tool for the job here, which in your case sounds like an

[Puppet Users] Re: Storing puppet info in a database

2009-09-01 Thread Joe McDonagh
Kenneth Holter wrote: > Hi all. > We have a bunch of RHEL servers running Puppet. They are also > connected to our Red Hat Satellite server. > Currently we don't have any master documentation system that stores > all relevant information (i.e. type of server, hardware info, linux > configurati

[Puppet Users] Re: Mac OS X open ssh server refresh from puppet...

2009-09-01 Thread Nigel Kersten
On Tue, Sep 1, 2009 at 3:14 PM, Allan Marcus wrote: > > I'm going to take my puppet-dev server (running Mac OS X server 10.5.7 > and puppet 0.24.8 and upgrade it to 10.6. I will then install your > puppet and give it a try with some 24.8 clients. Then I'll try it with > some clients using your pac

[Puppet Users] Re: Mac OS X open ssh server refresh from puppet...

2009-09-01 Thread Allan Marcus
I'm going to take my puppet-dev server (running Mac OS X server 10.5.7 and puppet 0.24.8 and upgrade it to 10.6. I will then install your puppet and give it a try with some 24.8 clients. Then I'll try it with some clients using your package. --- Thanks, Allan Marcus 505-667-5666 On Sep

[Puppet Users] Re: Mac OS X open ssh server refresh from puppet...

2009-09-01 Thread Nigel Kersten
so this turned out to not be as much work as I thought it could be, as the interaction between the disabled flag in a launchd job plist and the overrides plist is much simpler than I thought it was, and I decided to only support system level launchd jobs. At some point in the future I'd like to s

[Puppet Users] Re: Mac OS X open ssh server refresh from puppet...

2009-09-01 Thread Nigel Kersten
yep, see: http://groups.google.com/group/puppet-dev/browse_thread/thread/1ff894c6af240244 for a pending patch. If you could test this, that would be awesome. It's currently at my git repo: http://github.com/nigelkersten/puppet/tree/tickets/0.25.x/2581 On Tue, Sep 1, 2009 at 11:49 AM, Alla

[Puppet Users] Re: Mac OS X open ssh server refresh from puppet...

2009-09-01 Thread Allan Marcus
I believe the disabled state is stored in /var/db/launchd.db/ com.apple.launchd/overrides.plist so to bound ntp, for example: launchctl unload "/System/Library/LaunchDaemons/org.ntp.ntpd.plist" 2> /dev/null /usr/libexec/PlistBuddy -c "set :org.ntp.ntpd:Disabled false" /var/db/ launchd.db/com

[Puppet Users] Re: Storing puppet info in a database

2009-09-01 Thread Larry Ludwig
On Sep 1, 2009, at 3:28 PM, Disconnect wrote: > > We use iclassify - it works as an external node tool (feeds tags, > facts etc to puppetmaster) and clients feed it with automated info > (facts) and manual tags/info/descriptions/etc.. Keep in mind while iclassify works, the original developers

[Puppet Users] Re: Storing puppet info in a database

2009-09-01 Thread Disconnect
We use iclassify - it works as an external node tool (feeds tags, facts etc to puppetmaster) and clients feed it with automated info (facts) and manual tags/info/descriptions/etc.. On Tue, Sep 1, 2009 at 1:00 PM, Kenneth Holter wrote: > Hi all. > We have a bunch of RHEL servers running Puppet. Th

[Puppet Users] Re: classifier is failing to compile

2009-09-01 Thread Dan Bode
I add some code to indirector/exec.rb so that I can get some error messages back in case of failure, without it I would be helplessly stuck when trying to debug external node errors (for 24.8 anyways..). Its one line of code, it is mentioned in the following ticket. http://projects.reductivelabs.

[Puppet Users] Re: Storing puppet info in a database

2009-09-01 Thread Dan Bode
I am using external node classifiers that parse information FROM a database (well really a csv file, but it could easily be a database:) in order to build the classifications. This is the opposite of what you are proposing, here its the database that controls how puppet classifies machines, not the

[Puppet Users] Re: restart puppetmaster when files change

2009-09-01 Thread Paul Lathrop
Why would you want to do this? puppetmaster will notice changes to these files without needing to be restarted. --Paul On Sun, Aug 30, 2009 at 11:34 AM, ELTigre wrote: > > I create this class pmaster in order to restart puppetmaster daemon > after /etc/puppet/puppet.conf  file change. > > class

[Puppet Users] Storing puppet info in a database

2009-09-01 Thread Kenneth Holter
Hi all. We have a bunch of RHEL servers running Puppet. They are also connected to our Red Hat Satellite server. Currently we don't have any master documentation system that stores all relevant information (i.e. type of server, hardware info, linux configuration, etc) about the servers. So what I'd

[Puppet Users] Re: User's and managing expired passwords

2009-09-01 Thread Kyle Mallory
On Aug 31, 4:06 pm, Andrew Shafer wrote: > git blame > > I am the culprit. > > The only provider that does passwords this way is user_role_add on > Solaris. If you are not using Solaris, you are not running that code. > > The rational at the time was, useradd/mod do not support the password > p

[Puppet Users] Re: User's and managing expired passwords

2009-09-01 Thread jcbollinger
On Aug 31, 5:06 pm, Andrew Shafer wrote: [...] > The rational at the time was, useradd/mod do not support the password > parameter on Solaris and libshadow for Ruby is an unmaintained > project, difficult to build and without upstream support as a package > on the platform. Fair enough. [...]

[Puppet Users] Re: User's and managing expired passwords

2009-09-01 Thread jcbollinger
On Aug 31, 4:11 pm, James Turnbull wrote: > 2009/8/28 Kyle Mallory : > > > > > The problem is, the User type (w/ manage_passwords enabled and ruby- > > shadow installed) will only set the password in /etc/shadow, but it > > doesn't manage any of the other shadow parameters, namely the > > sp_ls

[Puppet Users] Re: nodes inherits with external node

2009-09-01 Thread Moty
So , If i'm currently working with the model of: infrastructure.pp roles.pp nodes.pp (model taken from Lab42 example) I need to break the infrastructure.pp and find some place to put all of my node parameters ( in the classes probably) hmmmI liked Lab42 model Moty On Tue, Sep 1, 2009

[Puppet Users] Re: Puppet, Mongrel, Apache and Debian

2009-09-01 Thread Aldo Foot
On Mon, Aug 31, 2009 at 4:46 PM, Justin Kinney wrote: > >> You can see my settings in the above pastie, Apache starts fine and >> appears to function fine.  However when I run puppetd --test on any node >> I receive the following error: >> >> warning: Certificate validation failed; consider using

[Puppet Users] Re: nodes inherits with external node

2009-09-01 Thread Ohad Levy
Hi, You dont, you use the script to do the dirty job :) Ohad On Tue, Sep 1, 2009 at 5:53 PM, Moty wrote: > > > Hi, > > I'm somewhat confuse about the way to set node inheritance > with external node script. > > Where do I actually define it ? > > > 10x in advance > > Moty > > > --~--~

[Puppet Users] nodes inherits with external node

2009-09-01 Thread Moty
Hi, I'm somewhat confuse about the way to set node inheritance with external node script. Where do I actually define it ? 10x in advance Moty --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group.