[Puppet Users] Re: [Puppet-dev] ANNOUNCE: Facter 1.5.7rc1

2009-09-10 Thread Todd Zullinger
James Turnbull wrote: > Facter 1.5.7rc1 is available. > > This is a maintenance release containing a number of fixes, updates > and additional tests. The vast majority of the work in the release > was done by Paul Nasrat. Thanks to Paul for his exceptional work > here! Indeed, thanks Paul! Pack

[Puppet Users] Re: Puppetd downloading sourced file on *every* run

2009-09-10 Thread Joshua Anderson
Nevermind, I fooled myself. Initially, I had set checksum => mtime on my test file (to try to avoid the disk I/O of checksumming a 30MB file). I didn't realize that using the source parameter forced an MD5 checksum, and that was why I saw the file content being read in truss. I did find a

[Puppet Users] Re: Errors after upgrade to 0.25.0

2009-09-10 Thread ELTigre
On Sep 10, 3:12 am, Brice Figureau wrote: > On Wed, 2009-09-09 at 07:31 -0700, Martin Englund wrote: > > After upgrading one of our puppetmasters to 0.25.0 we get the > > following errors on the client (also running 0.25.0): > > err: /File[/var/puppet/lib]: Failed to generate additional resourc

[Puppet Users] need assistance with autofs5 reload across rhel5/rhel4 hosts

2009-09-10 Thread Mark Christian
I’m trying to manage autofs5 on RHEL4 and RHEL5 hosts and would like to reload /etc/auto.master rather than restart. The following class errors out with “Could not retrieve catalog: Syntax error at '.'; expected '}' at /etc/puppet/modules/autofs/ manifests/init.pp:4 on node somenode” when I attem

[Puppet Users] Re: puppet with zypper

2009-09-10 Thread Eric Crampton
While not fancy, we simply manage SLES 11 / SLED 11 zypper repos by having standard Puppet file resources for the .repo files off in /etc/zypp/repos.d. We used the zypper.rb package provider linked in a previous response. Those two together have solved our needs with zypper. On Thu, Sep 10, 2009

[Puppet Users] ANNOUNCE: Facter 1.5.7rc1

2009-09-10 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Facter 1.5.7rc1 is available. This is a maintenance release containing a number of fixes, updates and additional tests. The vast majority of the work in the release was done by Paul Nasrat. Thanks to Paul for his exceptional work here! You can get

[Puppet Users] Re: What happens if puppet fails half way into processing a catalog?

2009-09-10 Thread Steven Nemetz
If you have dependencies set for a chain of events and it fails part way, that is how the system is left. Everything that succeeded before the failure with stay there and nothing in the dependence chain after the failure will have been done. Every run of puppet after this, it will keep trying to f

[Puppet Users] What happens if puppet fails half way into processing a catalog?

2009-09-10 Thread Tim Uckun
If puppet fails half way into processing a catalog the system might be in an unusable state right? For example if it installs a package but not the one that follows it or can't set up the config file for whatever reason it doesn't know how to "undo " the catalog does it? --~--~-~--~~

[Puppet Users] Re: New 2.5 gem does not create entries into /usr/sbin

2009-09-10 Thread Tim Uckun
>> >> I put the bindir into the PATH. Kind of hacky but it works. >> > > What exactly do you mean here? Can you elaborate? I mean I did at export PATH=/usr/local/lib/ruby/gems/1.8/gems/puppet-0.25.0/sbin/;$PATH I suppose an alias would have worked just as well to start with. --~--~-~--~

[Puppet Users] Re: New 2.5 gem does not create entries into /usr/sbin

2009-09-10 Thread James Turnbull
2009/9/10 Tim Uckun : > >> >> There is a problem with how Gems handle binaries - Puppet has binaries >> in the bin and sbin directories in line with the FHS.  Gems do not >> understand the concept of a binary directory other than "bindir" >> (usually "bin").  So binaries in the sbin directory are

[Puppet Users] Re: New 2.5 gem does not create entries into /usr/sbin

2009-09-10 Thread Tim Uckun
> Perhaps someone who likes gems can dive in there and propose a patch > since upstream doesn't have much time for it? You know the more I think about this the more I am convinced creating a yum or apt repository is a better way to go. Right now on ubuntu I can do a apt-get install puppet and

[Puppet Users] Re: Rails is missing; cannot store configurations - Puppet 0.24.8 / Rails 2.3.2 / Gentoo

2009-09-10 Thread Nicolas Arias
solved: remove rails and action* gem install rails -v 2.0.2 just be sure to have only the 2.0.2 version of rails and its dependencies. On Thu, Sep 10, 2009 at 4:53 PM, Nicolas wrote: > > sorry to raise this message from the death, but im having the same > problem. > > puppet 0.24.8 > rails

[Puppet Users] Re: Puppetd downloading sourced file on *every* run

2009-09-10 Thread Larry Ludwig
On Sep 10, 2009, at 6:51 PM, Joshua Anderson wrote: > > > I was under the impression that puppetd would only download a file > if the local checksum didn't match the puppetmaster's checksum for > that file. Am I mistaken? > You are correct. -L -- Larry Ludwig Reductive Labs --~--~

[Puppet Users] Re: Puppetd downloading sourced file on *every* run

2009-09-10 Thread Larry Ludwig
Hmm can you send stats of the how big the file and how long compared from 0.24.8? I know we focused a lot of memory usage on the puppetmaster, and the amount of calls to the puppetmaster, but I don't know if we performed any performance testing. -L -- Larry Ludwig Reductive Labs --~--~-

[Puppet Users] Puppetd downloading sourced file on *every* run

2009-09-10 Thread Joshua Anderson
Hi all, I'm testing fileserving performance under 0.25 and I noticed that processing large files seems to take much longer than it should. Here's what I've got: class filetest { file { "/var/tmp/test.tar": source => "puppet:///filetest/test.tar", backup

[Puppet Users] Re: puppet with zypper

2009-09-10 Thread Justin Kinney
>> the only thing i found is the zypper.rb on >> http://projects.reductivelabs.com/attachments/393 >> which i copied to /usr/lib/ruby/1.8/puppet/provider/package One other thing. I used the zypper.rb from here: http://groups.google.com/group/puppet-dev/browse_thread/thread/986b51b5b1691a5?pli=1

[Puppet Users] Re: puppet with zypper

2009-09-10 Thread Justin Kinney
> i'd like to manage my opensuse 11.1 systems with puppet and zypper. > the requirements are the manage the repos and install packages. I've just begun work on a new custom type that is aimed at managing zypper repos. Unfortunately I'm not very far along, but I'll certainly let you know when I h

[Puppet Users] puppet with zypper

2009-09-10 Thread Marc Brechbuehl
hi there i'd like to manage my opensuse 11.1 systems with puppet and zypper. the requirements are the manage the repos and install packages. the only thing i found is the zypper.rb on http://projects.reductivelabs.com/attachments/393 which i copied to /usr/lib/ruby/1.8/puppet/provider/package

[Puppet Users] Re: Adding comments to config files with augeas

2009-09-10 Thread David Lutterkort
On Thu, 2009-09-10 at 16:42 +0100, Bryan Ross wrote: > Unfortunately, I can't seem to find any way of inserting arbitrary > strings using augeas. I tried the 'insert' command, but after some > reading I understand now that ins/insert is only meant for controlling > where a parameter should be put

[Puppet Users] Re: Rails is missing; cannot store configurations - Puppet 0.24.8 / Rails 2.3.2 / Gentoo

2009-09-10 Thread Nicolas
sorry to raise this message from the death, but im having the same problem. puppet 0.24.8 rails 2.2.2 any suggestion? thanks! On Jul 28, 2:15 pm, Evan Borgstrom wrote: > Hrm. Downgrading torails-2.2.2 fixed this. > > On Jul 28, 12:43 pm, Evan Borgstrom wrote: > > > > > Hi, > > > I'm having

[Puppet Users] Adding comments to config files with augeas

2009-09-10 Thread Bryan Ross
Hi, I've got a 'define' that I use to set kernel parameters in /etc/sysctl.conf using the augeas type. It works well, but I'd like to be able to add a comment line directly above my the parameter to explain what it does and why it's been changed. We currently just add a comment in site.pp, but

[Puppet Users] Re: mac & Package

2009-09-10 Thread Roy Nielsen
Thanks Nigel, -Roy Nigel Kersten wrote: > > > On Thu, Sep 10, 2009 at 7:30 AM, Roy Nielsen > wrote: > > > Hello, > > I'm working on an upgrade manifest (for the Mac) and need to test it - > however it partially worked once, and now it skips the Package par

[Puppet Users] Re: Puppet 0.25 migration

2009-09-10 Thread Matt
For info - I removed passenger 2.2.5, installed 2.2.2 - rebuilt the passenger apache module, then removed all traces of puppet includes certs. Installed puppet 0.25 rpms, set up the config.ru and all worked. 2009/9/10 philipp Hanselmann : > > philipp Hanselmann schrieb: >> I have similar issues

[Puppet Users] Re: mac & Package

2009-09-10 Thread Nigel Kersten
On Thu, Sep 10, 2009 at 7:30 AM, Roy Nielsen wrote: > > Hello, > > I'm working on an upgrade manifest (for the Mac) and need to test it - > however it partially worked once, and now it skips the Package part, I'm > guessing because it figures the package has already been installed... > > Is there

[Puppet Users] Re: new require function for 0.25

2009-09-10 Thread Matt
The stats class are appending to an array, which the template uses in the define, so the stats class needs to be required rather than include. I've done this and it appears to be working properly. Only gotcha I had was that $mystat1 += ["processName"] didn't work - I got a "unable to convert arr

[Puppet Users] Re: Activerecord and 0.25 issues

2009-09-10 Thread Allan Marcus
hard to read below due to wrapping. text file attached. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this

[Puppet Users] mac & Package

2009-09-10 Thread Roy Nielsen
Hello, I'm working on an upgrade manifest (for the Mac) and need to test it - however it partially worked once, and now it skips the Package part, I'm guessing because it figures the package has already been installed... Is there a receipt or something I can delete so it doesn't think the pac

[Puppet Users] Re: Activerecord and 0.25 issues

2009-09-10 Thread Allan Marcus
bash-3.2# puppetmasterd --no-daemonize --trace /Library/Ruby/Site/1.8/facter/util/macosx.rb:1 /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/rubygems/custom_require.rb:31:in `gem_original_require' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/

[Puppet Users] Re: New 2.5 gem does not create entries into /usr/sbin

2009-09-10 Thread Todd Zullinger
Tim Uckun wrote: > Just a heads up. > > If you do a gem install puppet it does not create the entries into > the proper directories. In addition to what James said, here's the upstream RubyGems bug (filed by some Luke Kanies guy a little more than 2 years ago): http://rubyforge.org/tracker/index.

[Puppet Users] trouble with custom type on 0.24.8

2009-09-10 Thread Justin Kinney
I'm having trouble getting a simple custom type to work. Clients are giving me the following error: "Could not retrieve catalog: Could not find resource type zypper_repo at /etc/puppet/manifests/nodes/mgt.pp:33 on node " The custom type is present in the /var/lib/puppet/lib/puppet/type directory

[Puppet Users] MacPorts Puppet 0.25.0 released

2009-09-10 Thread Nigel Kersten
The 0.25.0 patches for the Puppet Portfile have been integrated. Note that I've set Puppet in MacPorts to have an "openmaintainer" maintainer. This means that I'm not a bottleneck for trivial patches and version updates if anyone else wishes to submit those patches. -- Nigel Kersten nig...@go

[Puppet Users] Re: scheduling refresh when set to noop

2009-09-10 Thread Dan Bode
its not a prob, its just annoying for the event generation classes that I have to have to add more regular expression and separate refreshes into their own hash (blah, blah,...), those hashes, by the way are (so that someone might understand what I am talking about) # we will just store the lo

[Puppet Users] Re: Emitting warnings in a custom function.

2009-09-10 Thread Trevor Vaughan
It turns out that it was happening, but getting buried in the logs on the server. I suppose that I was expecting something to come up on the client as most other warnings and errors do. I understand that a function is a server-side object, but if I 'raise Puppet::ParseError' it certainly shows u

[Puppet Users] Re: /etc puppet or some of the directories can't be symlinks.

2009-09-10 Thread Michael Gliwinski
On Thursday 10 September 2009 03:42:31 Tim Uckun wrote: > > Is this really that big of a deal?  You can use puppet.conf to > > configure where the directories will be, so at worst you have a single > > file in /etc/puppet/puppet.conf, or you can start your daemons with -- > > config /my/puppet.con

[Puppet Users] Re: Puppet 0.25 migration

2009-09-10 Thread philipp Hanselmann
philipp Hanselmann schrieb: > I have similar issues with passenger 2.2.5. > > Now I am trying to downgrade passenger to 2.2.2 >gem install passenger -v 2.2.2 > > This will install 2.2.2, but the passenger 2.2.5 remains installed? > > Than I noticed that the install process, still use 2.2.5! >

[Puppet Users] Re: Errors after upgrade to 0.25.0

2009-09-10 Thread Brice Figureau
On Wed, 2009-09-09 at 07:31 -0700, Martin Englund wrote: > After upgrading one of our puppetmasters to 0.25.0 we get the > following errors on the client (also running 0.25.0): > err: /File[/var/puppet/lib]: Failed to generate additional resources > using 'eval_generate': Error 403 on SERVER: Forb

[Puppet Users] Re: Puppet 0.25 migration

2009-09-10 Thread philipp Hanselmann
I have similar issues with passenger 2.2.5. Now I am trying to downgrade passenger to 2.2.2 gem install passenger -v 2.2.2 This will install 2.2.2, but the passenger 2.2.5 remains installed? Than I noticed that the install process, still use 2.2.5! passenger-install-apache2-module So ho