Re: [Puppet Users] vcsrepo type, svn, & ensure => latest

2010-07-15 Thread Michael Knox
Well to wrap this up, I've created a diff and submitted to the puppet-dev list (https://groups.google.com/group/puppet-dev/browse_thread/thread/6f6735933f362892?hl=en#). Code is available at http://github.com/mikeknox/puppet-vcsrepo/tree/bug/svn-update.

[Puppet Users] Re: question about package provider on Solaris

2010-07-15 Thread tehcook
Yes it runs "/opt/csw/bin/pkg-get -f upgrade common" First it was complaining about gpg missing, which I disabled in the pkg-get.conf Now it says : /opt/csw/bin/pkg-get -f upgrade common Pre-existing local file common-1.8.0,REV=2010.05.01-SunOS5.8-sparc- CSW.pkg.gz matches checksum Keeping existin

Re: [Puppet Users] vcsrepo type, svn, & ensure => latest

2010-07-15 Thread James Turnbull
Michael Knox wrote: > ok, > So I think I now have it sorted ... > I've added an insync? method to the type to override the inherited > method, as well as making some tweaks in the svn provider. > Seems to work correctly now with svn so I'll tidy up my code and submit > a patch/diff. Michael Y

Re: [Puppet Users] vcsrepo type, svn, & ensure => latest

2010-07-15 Thread Michael Knox
ok, So I think I now have it sorted ... I've added an insync? method to the type to override the inherited method, as well as making some tweaks in the svn provider. Seems to work correctly now with svn so I'll tidy up my code and submit a patch/diff. Cheers On 12/07/2010, at 11:12 PM, Mich

Re: [Puppet Users] playing nicely with foreman

2010-07-15 Thread Ohad Levy
usage of defines in node blocks and external nodes never played nicely, your best way at the moment, would be to create classes which you can include via Foreman. (Once hashes becomes part of puppet e.g. in 2.6 - I'm guessing it would be much easier). Ohad On Fri, Jul 16, 2010 at 1:51 AM, Jon Cho

Re: [Puppet Users] puppet doing full read on files with replace => no

2010-07-15 Thread Brice Figureau
On 15/07/10 21:43, John Cesario wrote: > Will give that a shot tonight. I'm not sure it will help. The issue here is that puppet is checksumming your files to compare them with the source (even though you said: replace => no). BTW, in 0.25.5 we implemented checksum => none, which makes sure Pupp

Re: [Puppet Users] Re: Passenger barfs.

2010-07-15 Thread Gary Larizza
Glad I could help! Last I heard, Jeff McCune was doing some tests with Passenger to figure out the best combination of Passenger/Rack. He filed a bug ( http://projects.puppetlabs.com/issues/4218), so be sure to Watch/Vote for it if you'd like to see it addressed. -Gary On Thu, Jul 15, 2010 at 3

Re: [Puppet Users] puppet doing full read on files with replace => no

2010-07-15 Thread John Cesario
Will give that a shot tonight. Thanks for your help Pete, -JC On Thu, Jul 15, 2010 at 12:38 PM, Peter Meier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 07/15/2010 08:49 PM, John Cesario wrote: > > I dont want to ship big files through puppet. I only want to manage them. > We

[Puppet Users] Re: Passenger barfs.

2010-07-15 Thread alaric
Hi Gary, I just wanted to thank you for the post, I was running into this exact same issue and rolling back to rack 1.1.0 worked for me. This was really frustrating! I'm on RHEL5 using EPEL and Gems, so I felt like I was being as vanilla as you could get! Thanks again! -a On Jun 25, 7:14 am,

Re: [Puppet Users] puppet doing full read on files with replace => no

2010-07-15 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/15/2010 08:49 PM, John Cesario wrote: > I dont want to ship big files through puppet. I only want to manage them. We > seed the app data and then it just naturally grows to 500GB+ > > What puppet ships through (souce =>) is a dataseed which is

Re: [Puppet Users] puppet doing full read on files with replace => no

2010-07-15 Thread John Cesario
I dont want to ship big files through puppet. I only want to manage them. We seed the app data and then it just naturally grows to 500GB+ What puppet ships through (souce =>) is a dataseed which is at most a few MB. If you still want to do it: *) Is puppet still doing this read on the client? ye

Re: [Puppet Users] puppet doing full read on files with replace => no

2010-07-15 Thread Patrick Mohr
On Jul 15, 2010, at 10:27 AM, John Cesario wrote: > Hey all, > > This is on puppet 0.25.4: > > The manifest for one of the directories looks like this. This class/object > does not have anything below it (nothing inherits this). > > file { > "/var/lib/data/$name": > ensure

Re: [Puppet Users] How do I get a node to forget its state?

2010-07-15 Thread Patrick Mohr
On Jul 15, 2010, at 11:02 AM, hernan wrote: > I had a bad manifest at one point which told puppetd to --recurse on a > massive directory that I didn't actually want it to manage. I reverted the > config. Ever since then however, the nodes that once applied that --recurse > take a much longer

Re: [Puppet Users] Re: Puppet DDNS and Preseed -- Any easier alternative

2010-07-15 Thread steve .
It seems like it would be a big headache to do this via dhclient for new Puppet hosts, unless you want to set up a means of distributing a default dhclient.conf to all new hosts... I've centralized all DDNS updates on the "provisioning server," which runs Puppet and the Cobbler services (DHCP, TFT

[Puppet Users] How do I get a node to forget its state?

2010-07-15 Thread hernan
I had a bad manifest at one point which told puppetd to --recurse on a massive directory that I didn't actually want it to manage. I reverted the config. Ever since then however, the nodes that once applied that --recurse take a much longer time to update themselves. What I see is this: debug:

[Puppet Users] playing nicely with foreman

2010-07-15 Thread Jon Choate
I currently have a define for setting up files in /etc/apt/preferences.d for different packages on different machines: define apt::preferences ( $pattern, $pin, $pin_priority) { $cont = "Package: #{pattern} Pin: #{pin} Pin-Priority: #{pin_priority}" file{"

[Puppet Users] puppet doing full read on files with replace => no

2010-07-15 Thread John Cesario
Hey all, This is on puppet 0.25.4: The manifest for one of the directories looks like this. This class/object does not have anything below it (nothing inherits this). file { "/var/lib/data/$name": ensure => directory, owner=> "data", group=> "data",

Re: [Puppet Users] Adding multiple custom facts for use in any module

2010-07-15 Thread Antony Mayi
Hi Tim, check the existing fact scripts for network interfaces providing details as ipaddress_eth0, ipaddress_eth1 - this all is done by one facter script - this could give you an idea how to implement your facts. it can be found at /usr/lib/ruby/site_ruby/1.8/facter/interfaces.rb (depending on

[Puppet Users] schedule option

2010-07-15 Thread Chuck
So if I set the schedule option: schedule { daily: period => daily, range => "0 - 4", } package { $packagelist: ensure => "latest", schedule => "daily", } Is there a way to make it run every time puppet runs b

Re: [Puppet Users] Creating a directory fails

2010-07-15 Thread Christopher Johnston
Sure! On Thu, Jul 15, 2010 at 11:27 AM, Peter Meier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > One minor complaint, the debug output from puppetd doesn't really explain > > what the exact issue is and where its failing. ie, would be good if it > said > > it was attempting to

Re: [Puppet Users] Creating a directory fails

2010-07-15 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > One minor complaint, the debug output from puppetd doesn't really explain > what the exact issue is and where its failing. ie, would be good if it said > it was attempting to chown/chmod a directory or file. can you file a bug/feature request for t

Re: [Puppet Users] Creating a directory fails

2010-07-15 Thread Christopher Johnston
Its possible, I realized I had a recurse => true when I removed it seems to work. In my email I just typed it up real quick and didnt paste the actual type I have in my manifest. So that would explain it as under that directory there are device files and recursively is failing to set the perms.

Re: [Puppet Users] Creating a directory fails

2010-07-15 Thread Patrick Mohr
I might know the problem. Do you have device files or sockets in /var/named/chroot? If so puppet might be trying to manage the permissions on stuff in that folder and failing the sanity check when is sees they aren't regular files. On Jul 15, 2010, at 7:21 AM, Christopher Johnston wrote: >

Re: [Puppet Users] Creating a directory fails

2010-07-15 Thread Christopher Johnston
They exist for sure.. # ls -ld /var/named/ drwxr-x--- 6 root named 4096 2010-07-15 06:20 /var/named/ # ls -ld /var/named/chroot/ drwxr-xr-x 5 named named 4096 2010-07-15 06:20 /var/named/chroot/ On Thu, Jul 15, 2010 at 12:09 AM, Patrick Mohr wrote: > I'd check to see if /var/named exists or if

[Puppet Users] Puppet cache

2010-07-15 Thread william pink
Hi, I am using FileServing to distribute configuration files and it has been working fine but today when I went to deploy some changes the client didn't pick them up and I presume it's configuration is cached, here is what I am using On the server puppetmasterd --verbose --no-daemonize --debug

Re: [Puppet Users] Augeas and grub.conf

2010-07-15 Thread Rob McBroom
On Jul 14, 2010, at 5:23 PM, Erinn Looney-Triggs wrote: > I hope that the answer to this isn't posted up somewhere else, I have > looked around and I haven't found much of anything, augeas documentation > seems to be thin. Is there even full documentation for all the augeas > function and language

[Puppet Users] Re: Puppet DDNS and Preseed -- Any easier alternative

2010-07-15 Thread Harihara Vinayakaram
Hi Wagner Could you elaborate a bit more please. The problem for me is that only secure updates work for the DDNS . I have got it working by doing an update of the dhclient.conf, dhclient-exit-hooks as well as the keys as part of the preseed late_command . But it looks more of a hack to me and I

Re: [Puppet Users] Re: Updating node's configuration

2010-07-15 Thread Jesús M. Navarro
El Miércoles, 14 de Julio de 2010 23:22:54, David Ward escribió: > What I would suggest is to change the puppetd from a daemon to a cron > job and add the argument of --tags. This way you can stipulate which > classes to run on the cronjob run, which can run every 15mins or so. > > eg > 15 * * * *