[Puppet Users] Re: Purging unmanaged augeas entries?

2009-12-15 Thread seph
Frank Sweetser writes: > I'm in the process of setting up sudoers entries to get managed by > augeas. If you can insure a suitable recent sudo, you can use sudo's #includedir option and just manage a directory. seph -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Inherited Client and Server Apps

2009-12-15 Thread Teyo Tyree
Yeah, I can update the external nodes page no problem. On Mon, Dec 14, 2009 at 3:54 PM, James Turnbull wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Teyo > > If you have a chance do you want to throw your email and my email > into the External nodes page?  It really needs some mor

Re: [Puppet Users] Configuring Networking

2009-12-15 Thread Scott Smith
Douglas Garstang wrote: > b) How do you require a definition? That makes no sense. A definition is essentially just a custom resource. -scott -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@goo

[Puppet Users] Re: Configuring Networking

2009-12-15 Thread jcbollinger
On Dec 15, 5:01 pm, Douglas Garstang wrote: > I'll trying to work out the best way to configure networking in > puppet, being routes, dns and ip addresses. > > First question... are definitions executed in the order they appear? Do not attempt to rely on file order to control the sequence in wh

Re: [Puppet Users] Configuring Networking

2009-12-15 Thread Douglas Garstang
On Tue, Dec 15, 2009 at 3:59 PM, Steven VanDevender wrote: > Douglas Garstang writes: >  > On Tue, Dec 15, 2009 at 3:47 PM, Peter Meier > wrote: >  > > -BEGIN PGP SIGNED MESSAGE- >  > > Hash: SHA1 >  > > >  > >> First question... are definitions executed in the order they appear? >  > >

Re: [Puppet Users] Configuring Networking

2009-12-15 Thread Steven VanDevender
Douglas Garstang writes: > On Tue, Dec 15, 2009 at 3:47 PM, Peter Meier wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > >> First question... are definitions executed in the order they appear? > > > > puppet doesn't execute anything. it manages resources and defines are >

Re: [Puppet Users] Configuring Networking

2009-12-15 Thread Scott Smith
Douglas Garstang wrote: > On Tue, Dec 15, 2009 at 3:47 PM, Peter Meier wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >>> First question... are definitions executed in the order they appear? >> puppet doesn't execute anything. it manages resources and defines are >> resources as wel

Re: [Puppet Users] Configuring Networking

2009-12-15 Thread Douglas Garstang
On Tue, Dec 15, 2009 at 3:47 PM, Peter Meier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > >> First question... are definitions executed in the order they appear? > > puppet doesn't execute anything. it manages resources and defines are > resources as well. Fine. Does puppet manages

Re: [Puppet Users] Configuring Networking

2009-12-15 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > First question... are definitions executed in the order they appear? puppet doesn't execute anything. it manages resources and defines are resources as well. cheers pete -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using

Re: [Puppet Users] Configuring Networking

2009-12-15 Thread Douglas Garstang
On Tue, Dec 15, 2009 at 3:22 PM, Douglas Garstang wrote: > On Tue, Dec 15, 2009 at 3:21 PM, Scott Smith wrote: >> Douglas Garstang wrote: >>> On Tue, Dec 15, 2009 at 3:14 PM, Scott Smith wrote: Douglas Garstang wrote: > I'll trying to work out the best way to configure networking in >>>

Re: [Puppet Users] Configuring Networking

2009-12-15 Thread Douglas Garstang
On Tue, Dec 15, 2009 at 3:21 PM, Scott Smith wrote: > Douglas Garstang wrote: >> On Tue, Dec 15, 2009 at 3:14 PM, Scott Smith wrote: >>> Douglas Garstang wrote: I'll trying to work out the best way to configure networking in puppet, being routes, dns and ip addresses. >>> http://gi

Re: [Puppet Users] Re: Announcing Puppet Dashboard 0.1.0 Release

2009-12-15 Thread Rein Henrichs
I understand and sympathize with the political/legal reasons. We obviously want to do our best to support default RHEL4 configurations (since we have so many RHEL4 nodes running Puppet) and it is unfortunate that the available rake RPM lags JUST behind our requirements. Try running things with a r

Re: [Puppet Users] Configuring Networking

2009-12-15 Thread Scott Smith
Douglas Garstang wrote: > On Tue, Dec 15, 2009 at 3:14 PM, Scott Smith wrote: >> Douglas Garstang wrote: >>> I'll trying to work out the best way to configure networking in >>> puppet, being routes, dns and ip addresses. >>> >> http://github.com/ohlol/puppet-network >> >> Doesn't handle route-#{if

Re: [Puppet Users] Configuring Networking

2009-12-15 Thread Scott Smith
Scott Smith wrote: > http://github.com/ohlol/puppet-network > > Doesn't handle route-#{iface} files, but would be trivial to add. > Scratch that -- it does! :) Been a long time since I wrote that. -scott -- You received this message because you are subscribed to the Google Groups "Puppet Use

Re: [Puppet Users] Configuring Networking

2009-12-15 Thread Douglas Garstang
On Tue, Dec 15, 2009 at 3:14 PM, Scott Smith wrote: > Douglas Garstang wrote: >> I'll trying to work out the best way to configure networking in >> puppet, being routes, dns and ip addresses. >> > > http://github.com/ohlol/puppet-network > > Doesn't handle route-#{iface} files, but would be trivia

Re: [Puppet Users] Configuring Networking

2009-12-15 Thread Scott Smith
Douglas Garstang wrote: > I'll trying to work out the best way to configure networking in > puppet, being routes, dns and ip addresses. > http://github.com/ohlol/puppet-network Doesn't handle route-#{iface} files, but would be trivial to add. -scott -- You received this message because you ar

[Puppet Users] Configuring Networking

2009-12-15 Thread Douglas Garstang
I'll trying to work out the best way to configure networking in puppet, being routes, dns and ip addresses. First question... are definitions executed in the order they appear? If I put definitions way up the node hierarchy, and they are indeed executed first, I can be sure that the network will

[Puppet Users] Re: Announcing Puppet Dashboard 0.1.0 Release

2009-12-15 Thread jw2dot...@gmail.com
I'm sure this RubyGems topic probably deserves it's own thread... We go through a lot of political/legal paperwork at $WORK to deploy open-source software on our Red Hat systems. Throwing logic aside, we managed to get approval to use any RPM package from EPEL, but that's not the case for RubyGem

[Puppet Users] Announcing Puppet dashboard 0.1.1 Release

2009-12-15 Thread Rein Henrichs
Greetings Folks, Because I did something dumb, I am announcing the immediate release of Puppet Dashboard 0.1.1. This release adds the missing reports migration that made rake install totally not work. My bad. Get the code at http://github.com/reductivelabs/puppet-dashboard. Submit feature reques

Re: [Puppet Users] Re: Announcing Puppet Dashboard 0.1.0 Release

2009-12-15 Thread Rein Henrichs
At the risk of sparking another flame war, the best way to manage Ruby library dependencies is via Rubygems rather than your platform's packaging system -- which tends to have out of date Ruby packages and can conflict with installed gems[1]. Fortunately, it is entirely possible and in fact quite e

[Puppet Users] Re: Announcing Puppet Dashboard 0.1.0 Release

2009-12-15 Thread jw2dot...@gmail.com
Bummer. Requires rake >= 0.8.4, but RHEL5/EPEL is only 0.8.3. http://download.fedora.redhat.com/pub/epel/5/x86_64/repoview/rubygem-rake.html On Dec 14, 3:29 pm, Rein Henrichs wrote: > Greetings Puppeteers, > > It's the holidays once again and, in the spirit of the season, I bring you > the imm

Re: [Puppet Users] Provider Augeas not functional on Sles10?

2009-12-15 Thread David Lutterkort
On Mon, 2009-12-14 at 08:24 -0800, Os wrote: > Is there something else I am missing or does augeas and puppet do not > work on Sles10 ? As others have mentioned, you need the ruby-augeas bindings. Rather than building them from a tarball/gem, you might try to find (a) an srpm from OpenSuSe or (b)

Re: [Puppet Users] puppet-dashboard

2009-12-15 Thread Rein Henrichs
Luke, Upon further review of the play, apparently a migration file "went missing". I'm not sure how, but it has been restored. Sorry about this bush league slacker stuff, things should be working fine with the just released 0.1.1 code (or the code fresh off the HEAD of the master branch, which sho

Re: [Puppet Users] puppet-dashboard

2009-12-15 Thread Rein Henrichs
Luke, Interesting. I think the issue here is with migration order. The Report#success? method depends on the existence of a `success` boolean field on the reports table, which may happen at a later migration than when the method is called. Flattening the migrations into a single file should allevi

[Puppet Users] puppet-dashboard

2009-12-15 Thread Baker, Luke Jefferson
I'm trying to set up puppet-dashboard but I seem to have run into a roadblock: when executing 'rake install' the follow message gets returned.. rake aborted! undefined method `success?' for # If it makes a difference, I'm using an sqlite database. Any assistance would be much appreciated ;) --

[Puppet Users] puppet-dashboard installation

2009-12-15 Thread Luke Baker
I’m trying to set up puppet-dashboard but I seem to have run into a roadblock: when executing ‘rake install’ the follow message gets returned.. rake aborted! undefined method `success?' for # If it makes a difference, I’m using an sqlite database. Any assistance would be much appreciated ;) --

Re: [Puppet Users] AIX Puppet clients is not sending request for cert

2009-12-15 Thread M.F.Haris
yes, this is a problem but you can do add --server="your-server-address" when executing the puppet at client's command prompt Muhammad Haris Farooque MSc. Software Engineering (Hochshule Für Technik-Stuttgart) Home: +49-711-121-70007 Cell:+49-176-701-39163 On Mon, Dec 14, 2009 at 9:31 PM, R

Re: [Puppet Users] ACLs plugin

2009-12-15 Thread Joe McDonagh
jeanvaljean wrote: > Hello everybody, > I would like to know if there is a plugin that allow us to manage > advances ACL on a linux system (Debian ) > Because for the moment,the idea to use "exec setfacl" to set my ACLs > sounds a little bit "dirty" > Thanks > > -- > > You received this message bec

[Puppet Users] ACLs plugin

2009-12-15 Thread jeanvaljean
Hello everybody, I would like to know if there is a plugin that allow us to manage advances ACL on a linux system (Debian ) Because for the moment,the idea to use "exec setfacl" to set my ACLs sounds a little bit "dirty" Thanks -- You received this message because you are subscribed to the Google

[Puppet Users] Re: problems with onlyif/unless directives

2009-12-15 Thread sHaggY_caT
I think, problems was resolved: Exec with this "onlyif": onlyif => "test `/root/test-new.sh ${veid} ${vetarif}` = 0 " Run only if $veid=302: Dec 15 19:12:19 vz-test puppetd[16426]: Starting catalog run Dec 15 19:12:45 vz-test puppetd[16426]: (//Node[vz-test.local]/ Mod_class_ovzconfigs::Mod_de

Re: [Puppet Users] "no certificate found and waitforcert is disabled" on all new puppet clients

2009-12-15 Thread paul matthews
Silviu, That fixed it. I had assumed removing the .pem file ( /etc/puppet/ssl/certs/client.hostname.pem ) would be enough but removing the whole directory was the answer Thanks very much Paul 2009/12/15 Silviu Paragina > This looks a lot like this problem: > http://projects.reductivelabs.com/i

[Puppet Users] generating rrds from reports

2009-12-15 Thread Chad Huneycutt
I have a bunch of puppet report files, and I would like to regenerate the rrd files for those reports. Can anyone tell me what the process is to do that? -- Chad M. Huneycutt -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this gro

Re: [Puppet Users] "no certificate found and waitforcert is disabled" on all new puppet clients

2009-12-15 Thread Silviu Paragina
This looks a lot like this problem: http://projects.reductivelabs.com/issues/2890 Have you tried rm -rf /etc/puppet/ssl on the client? Or you are avoiding exactly that? In 0.25.1 puppet seems to force the usage of the cached certificates despite the fact that some of the data may be wrong, so yo

[Puppet Users] Re: How to override / redefine outside child class (usecase and example detailled)

2009-12-15 Thread jcbollinger
On Dec 15, 4:03 am, Alexandre wrote: >    I though i found a way to do it, and i would like to show it here, > but unfortunately it does not exactly work well, see the comment in > uppercase: global variables seems to be set even if no class from > the .pp file is included. Yes. Modules and ma

Re: [Puppet Users] "no certificate found and waitforcert is disabled" on all new puppet clients

2009-12-15 Thread paul matthews
After further investigation it seems the problem exists with new 0.25.1 clients On the server I run:- puppetca --clean client.hostname On the client I run :- rm /etc/puppet/ssl/certs/client.hostname.pem Followed by the command that brings up the error # /opt/csw/bin/puppetd --trace --debug --t

[Puppet Users] Re: problems with onlyif/unless directives

2009-12-15 Thread sHaggY_caT
Hi John, Thank you for answer. > For debugging your manifests, you could try using > > unless => "/bin/true" > > or > > unless => "/bin/false" > > to take that test script out of the picture. Script, in "command" work fine. > Speaking of the test script, are you sure your nodes are g

Re: [Puppet Users] Re: Provider Augeas not functional on Sles10?

2009-12-15 Thread Silviu Paragina
Os wrote: > No, I have just installed the 4 packages. How do I compile these > bindings, I have not worked with ruby that much. > I have downloaded "ruby-augeas-0.3.0.tgz" from "http://augeas.net/ > download/ruby/" but do not know how to go further. > I need rake to compile this Rakefile? > > Yo

[Puppet Users] Re: How to override / redefine outside child class (usecase and example detailled)

2009-12-15 Thread Alexandre
I though i found a way to do it, and i would like to show it here, but unfortunately it does not exactly work well, see the comment in uppercase: global variables seems to be set even if no class from the .pp file is included. And i also think now i am going to far into akwardness, just tryin

Re: [Puppet Users] Installing Specific RPM Version

2009-12-15 Thread Silviu Paragina
Douglas Garstang wrote: > Silviu, > > My system is aware of both the -1 and -2 releases in the repo. > > This is before running puppet... > > papp1 ~:# yum list tf-elements-core-tfel0-14.3-1.tf > [ stuff removed ] > Available Packages > tf-elements-core-tfel0.noarch > 14

[Puppet Users] Re: Provider Augeas not functional on Sles10?

2009-12-15 Thread Os
No, I have just installed the 4 packages. How do I compile these bindings, I have not worked with ruby that much. I have downloaded "ruby-augeas-0.3.0.tgz" from "http://augeas.net/ download/ruby/" but do not know how to go further. I need rake to compile this Rakefile? On 14 Dez., 22:52, Dan Bode