Re: [Puppet Users] virtual resource realizing by require?

2010-02-12 Thread Frederik Wagner
Hi again, On Thu, Feb 11, 2010 at 11:12 AM, Frederik Wagner wrote: > On Thu, Feb 11, 2010 at 10:42 AM, Alan Barrett wrote: >> On Tue, 09 Feb 2010, Frederik Wagner wrote: >>> I just tried using the define, and hit a problem which I would avoid >>> (and actually need to avoid) by using the not imp

Re: [Puppet Users] Re: How to disable file checksums?

2010-02-12 Thread Joshua Anderson
On Feb 9, 2010, at 11:12 AM, Tim Stoop wrote: > file { "/tmp": mode => 1777 } I think you're seeing odd behavior because Puppet doesn't know that /tmp is supposed to be a directory. Try this instead: file { "/tmp": ensure => directory, mode => 1777 } -Josh -- You received this message becau

Re: [Puppet Users] Building a better puppetrun and related ideas

2010-02-12 Thread Alan Barrett
On Thu, 11 Feb 2010, Scott Smith wrote: > >Of course there are change control procedures for getting the manifests > >updated on the puppetmaster, but that's not enough; it's also necessary > >to run the puppet client only when specifically authorised. For > >example, the manifest update and a --n

[Puppet Users] custom function load

2010-02-12 Thread Frederik Wagner
Hi again, reading the documentation about custom function distribution , I don't understand the following: Normally custom per module facts, types, providers and functions are distributed to the puppet hosts when they are in a the module

Re: [Puppet Users] vmwaretools

2010-02-12 Thread Filip Slunecko
thx, that helps a lot. Filip On Thu, Feb 11, 2010 at 9:37 PM, Ohad Levy wrote: > the way we solved it is by setting up an additional service which compiles > and set the driver (main reason for that was that network gets restarted > which might disturb the puppet run) > > an example can be found

[Puppet Users] Re: puppetrun doesn't update the clients

2010-02-12 Thread jcbollinger
On Feb 11, 1:48 pm, Raj Gurung wrote: [...] > I ran puppetrun with > #puppetrun --host client.mydomain.com > > But it doesn't looks like the client get updated and exits with > "Failed to load ruby LDAP library. LDAP functionality will not be > available > Finished" I'm not certain about puppe

[Puppet Users] Re: puppetrun doesn't update the clients

2010-02-12 Thread jcbollinger
On Feb 11, 1:48 pm, Raj Gurung wrote: > *I am running 0.24.5-3 version of puppet/puppetmaster on lenny systems. Also, that's a pretty old version of Puppet. If you need to stick with the 0.24 series, then I suggest updating to 0.24.8. The latest released version is 0.25.4; that is probably yo

[Puppet Users] Re: Failed to retrieve current state of resource: Error 400 on SERVER: Permission denied

2010-02-12 Thread jcbollinger
On Feb 11, 9:16 am, Anchi Zhang wrote: > Thank you for the pointers.  My thinking was that if puppetd was allowed to > do "owner => root" puppetmasterd should be able to read files owned by root, > without realizing puppetd was running as root. You're welcome. Yes, puppetmasterd and puppetd ar

[Puppet Users] Re: virtual resource realizing by require?

2010-02-12 Thread jcbollinger
On Feb 12, 3:23 am, Frederik Wagner wrote: > So wouldn't be a simple idea to just change the realize function (or > the '<| ... |>' operator) to return the resources it realised? I second this feature request, especially for the <| |> and <<| |>> operators. John -- You received this message

Re: [Puppet Users] Re: Port 8139 needs to be open between machine running puppetrun and a client puppetd machine, correct?

2010-02-12 Thread Joe McDonagh
Raj Gurung wrote: Modified the puppet.conf but no joy still. # puppetrun -d --host client.mydomain.com debug: Parsing /etc/puppet/puppet.conf Finished I dont see the changes pushed to client.mydomain.com box. I wonder if LDAP is require

[Puppet Users] Re: virtual resource realizing by require?

2010-02-12 Thread jcbollinger
On Feb 12, 8:32 am, jcbollinger wrote: > I second this feature request, especially for the <| |> and <<| |>> > operators. In fact, I have logged a feature request in redmine, issue 3178. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.

Re: [Puppet Users] Re: virtual resource realizing by require?

2010-02-12 Thread Frederik Wagner
Hi John, perfect, thanks! In the meantime I already found the flaw in the before mentioned "simple" extension of the realize function: The (virtual) requirements of virtual resources are evaluated, even if the resource itself is not realized. E.g. just including the following class test::virtual

[Puppet Users] Re: Error 400 on SERVER: private method `gsub' called for nil:NilClass

2010-02-12 Thread Eric Black
That is awesome! I had to go back to cfengine for this task, but now I can implement this type of thing in puppet again. Thanks so much! On Thu, Feb 11, 2010 at 10:13 PM, Dan wrote: > I figured it out. I hacked around and found that by adding params > 'ignore' and 'recurselimit' the problem g

[Puppet Users] Re: Error 400 on SERVER: private method `gsub' called for nil:NilClass

2010-02-12 Thread Dan
I found also that with puppetd --pluginsync I also get: Feb 11 20:25:02 emu1076 puppetd[10505]: (/File[/var/puppet/lib]) Failed to generate additional resources using 'eval_generate': Error 400 on SERVER: private method `gsub' called for nil:NilClass which forms the URL: /pro

[Puppet Users] Problems with certs

2010-02-12 Thread James Cammarata
Trying to setup a sandbox environment, and I'm running into some issues. When I run the system in --noop mode, everything works as it should (long list of options truncated to ...): [r...@kvm001 ~]# puppetd ... --noop info: Caching catalog at /var/lib/puppet/localconfig.yaml notice: Starting cat

[Puppet Users] Puppet Paris Meet up?

2010-02-12 Thread Brice Figureau
Hi, I know there are some French Puppet users around here. On next wednesday (Feb 17th), there is a Github Drinkup[1] in Paris, and I was wondering if we couldn't piggy-back the event for a mini-puppet meet up. It seems we're already a few to be interested in this event (github and/or puppet). S

Re: [Puppet Users] Building a better puppetrun and related ideas

2010-02-12 Thread Scott Smith
On 2/12/10 2:10 AM, Alan Barrett wrote: Not exactly, but that would probably be acceptable. What actually happens today is that puppetd is not run at all on the client unless an authorised change is known to be ready for deployment; then puppetd is run in --noop mode to verify that the changes i

Re: [Puppet Users] satellite sites management

2010-02-12 Thread Michael DeHaan
On Thu, Feb 11, 2010 at 7:20 PM, Nat wrote: > Hi, > > We have got puppet set up and running at our main office with no > issues. > We are using an external node classifier instead of directly creating > node definition files. > > We would like to manage our remote offices using puppet also. A litt

[Puppet Users] Re: Exec doesn't work with Ubuntu Server 10.04 (Lucid Lynx) 64bit

2010-02-12 Thread Joel Ebel
Kai, and anyone else experiencing this problem, please go vote, and optionally chime in with any details you can provide on: https://bugs.launchpad.net/ubuntu/+source/ruby1.8/+bug/520715 Thanks, Joel On Feb 11, 3:06 pm, Joel Ebel wrote: > I've reported this bug to Ubuntu.  The solution is to reb

Re: [Puppet Users] satellite sites management

2010-02-12 Thread Nigel Kersten
On Fri, Feb 12, 2010 at 11:41 AM, Michael DeHaan wrote: > On Thu, Feb 11, 2010 at 7:20 PM, Nat wrote: >> Hi, >> >> We have got puppet set up and running at our main office with no >> issues. >> We are using an external node classifier instead of directly creating >> node definition files. >> >> W

Re: [Puppet Users] Puppet Continuous Integration - your help needed

2010-02-12 Thread Aaron Lippold
Hi James, My team at DISA and the Forge.mil project is looking to setup a Puppet/Hudson/Cobbler driven setup for our CI. I was hoping you may have some pointers you would be willing to share. Thanks, Aaron On Mon, Dec 1, 2008 at 10:19 PM, James Turnbull wrote: > > Hi all > > We're implementing

Re: [Puppet Users] Puppet Continuous Integration - your help needed

2010-02-12 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13/02/10 11:28 AM, Aaron Lippold wrote: > Hi James, > > My team at DISA and the Forge.mil project is looking to setup a > Puppet/Hudson/Cobbler driven setup for our CI. I was hoping you may > have some pointers you would be willing to share. > Hi