Re: [Puppet Users] Re: Slightly OT: Puppet + OpenQRM

2011-09-07 Thread Ohad Levy
On Wed, Sep 7, 2011 at 11:03 PM, linuxbsdfreak wrote: > Hi Ohad, > > Does foreman support Xen?. Honestly, I switched to KVM a few years ago and never looked at Xen again, however, saying that, we support libvirt, so I think it should be straight forward as simply to changing the domain xml templa

Re: [Puppet Users] Distribution of custom facts

2011-09-07 Thread Aaron Grewell
In 2.6.9 that hasn't been my experience. On first run I provide any custom facts I may need as environment variables. After that they seem to work as expected. On Sep 7, 2011 4:39 PM, "Stefan Schulte" wrote: > On Wed, Sep 07, 2011 at 02:33:30PM -0700, AdamW wrote: >> I noticed that the distribut

Re: [Puppet Users] Release Cycle for September

2011-09-07 Thread Matt Robinson
On Wed, Sep 7, 2011 at 6:15 PM, Michael Stahnke wrote: > 3.  Dashboard has had no commits since 1.2.0, so no RC this month. Dashboard does have commits since 1.2.0 $ git log --oneline --no-merges 1.2.0.. 6b10a5e maint: Move duplicated code to a helper method 02ca4ff maint: Fix node_ids method by

[Puppet Users] Release Cycle for September

2011-09-07 Thread Michael Stahnke
Greetings, This month we're having a couple changes in our release cycle. 1. Facter 1.6.1 will rc shortly. We actually cut rc1 internally and caught some test failures that appear to be order dependent. We are hoping to have this out 08-Sep-2011 2. Puppet 2.7.4rc1 will be cut ASAP, likely 08

Re: [Puppet Users] Distribution of custom facts

2011-09-07 Thread Stefan Schulte
On Wed, Sep 07, 2011 at 02:33:30PM -0700, AdamW wrote: > I noticed that the distribution of custom facts takes place during the > puppet run, so using a custom fact in a manifest may not work > initially, but will work on future runs. Is there a way to put custom > fact distribution into a stage t

Re: [Puppet Users] Re: The require function

2011-09-07 Thread Stefan Schulte
On Wed, Sep 07, 2011 at 02:25:21PM -0700, Douglas Garstang wrote: > On Wed, Sep 7, 2011 at 3:03 AM, R.I.Pienaar wrote: > > > > > > - Original Message - > >> On Sep 6, 8:54 pm, "R.I.Pienaar" wrote: > >> > - Original Message - > >> > > >> > files auto require their parents, it's not

Re: [Puppet Users] Re: The require function

2011-09-07 Thread Nigel Kersten
On Wed, Sep 7, 2011 at 4:07 PM, Douglas Garstang wrote: > On Wed, Sep 7, 2011 at 3:37 PM, Adam Gibbins wrote: > > > > On 7 September 2011 23:22, Douglas Garstang > wrote: > >> > >> We'l see. To be honest, motivation is rather low right now because I > >> was just kicked off the mcollective maili

Re: [Puppet Users] Re: The require function

2011-09-07 Thread Douglas Garstang
On Wed, Sep 7, 2011 at 3:37 PM, Adam Gibbins wrote: > > On 7 September 2011 23:22, Douglas Garstang wrote: >> >> We'l see. To be honest, motivation is rather low right now because I >> was just kicked off the mcollective mailing list by Mr Pienaar for >> asking a question not in a manner to his l

Re: [Puppet Users] Re: The require function

2011-09-07 Thread Adam Gibbins
On 7 September 2011 23:22, Douglas Garstang wrote: > We'l see. To be honest, motivation is rather low right now because I > was just kicked off the mcollective mailing list by Mr Pienaar for > asking a question not in a manner to his liking. > > I'll be honest, hoping you get kicked off this list

Re: [Puppet Users] Re: The require function

2011-09-07 Thread Douglas Garstang
On Wed, Sep 7, 2011 at 3:12 PM, Nigel Kersten wrote: > > > On Wed, Sep 7, 2011 at 2:35 PM, Douglas Garstang > wrote: >> >> On Wed, Sep 7, 2011 at 2:27 PM, Nigel Kersten >> wrote: >> > On Wed, Sep 7, 2011 at 2:25 PM, Douglas Garstang >> > >> > wrote: >> >> >> >> Actually, that's not true. I have

Re: [Puppet Users] Re: The require function

2011-09-07 Thread Nigel Kersten
On Wed, Sep 7, 2011 at 2:35 PM, Douglas Garstang wrote: > On Wed, Sep 7, 2011 at 2:27 PM, Nigel Kersten > wrote: > > On Wed, Sep 7, 2011 at 2:25 PM, Douglas Garstang < > doug.garst...@gmail.com> > > wrote: > >> > >> Actually, that's not true. I have seen numerous situations where > >> puppet trie

Re: [Puppet Users] Using Puppet to reset admin passwords on Windows

2011-09-07 Thread Jacob Helwig
On Wed, 07 Sep 2011 13:54:53 -0700, M. Hand wrote: > > Please bare with me as I have VERY limited experience with this: > > I need to find a way to be able to reset administrator passwords on > our network. Most of our network is Linux, however we are looking into > the Windows side. > > Any hel

Re: [Puppet Users] Re: The require function

2011-09-07 Thread Douglas Garstang
On Wed, Sep 7, 2011 at 2:27 PM, Nigel Kersten wrote: > On Wed, Sep 7, 2011 at 2:25 PM, Douglas Garstang > wrote: >> >> Actually, that's not true. I have seen numerous situations where >> puppet tries to create /foo/bar before /foo, and then complains that >> /foo does not exist. And, please don't

[Puppet Users] Using Puppet to reset admin passwords on Windows

2011-09-07 Thread M. Hand
Please bare with me as I have VERY limited experience with this: I need to find a way to be able to reset administrator passwords on our network. Most of our network is Linux, however we are looking into the Windows side. Any help would be appreciated. -- You received this message because you a

Re: [Puppet Users] Slightly OT: Puppet + OpenQRM

2011-09-07 Thread m.rechenb...@t-online.de
Hi Trey, just some infos what you can do with openQRM's Puppet integration. Via the openQRM puppet plugin Puppet gets installed and setup automatically in best practice manner by auto-creating a subversion repository for your recipes. This repo then already includes some default openQRM puppet r

[Puppet Users] Distribution of custom facts

2011-09-07 Thread AdamW
I noticed that the distribution of custom facts takes place during the puppet run, so using a custom fact in a manifest may not work initially, but will work on future runs. Is there a way to put custom fact distribution into a stage that runs before the manifest that needs the fact? Thanks, --ad

Re: [Puppet Users] Re: The require function

2011-09-07 Thread Nigel Kersten
On Wed, Sep 7, 2011 at 2:25 PM, Douglas Garstang wrote: > > Actually, that's not true. I have seen numerous situations where > puppet tries to create /foo/bar before /foo, and then complains that > /foo does not exist. And, please don't get all pissy at me for having > a different view of this tha

Re: [Puppet Users] Re: The require function

2011-09-07 Thread Douglas Garstang
On Wed, Sep 7, 2011 at 3:03 AM, R.I.Pienaar wrote: > > > - Original Message - >> On Sep 6, 8:54 pm, "R.I.Pienaar" wrote: >> > - Original Message - >> > >> > files auto require their parents, it's not even needed to do >> > the require => or require() >> > >> > >> Could you please

[Puppet Users] Re: Puppet unable to find a defined resource.

2011-09-07 Thread Brad Krane
Paul, I'm not exactly sure, but from your class setup it looks like the createsysuser resource would have the full scope of accounts::virtual::createsysuser and should be referenced by virtual::createsysuser and not just createsysuser when it is used in accounts::appaccts. Cheers, On Sep 2, 7:28

[Puppet Users] Re: Slightly OT: Puppet + OpenQRM

2011-09-07 Thread linuxbsdfreak
Hi Ohad, Does foreman support Xen?. Regards, Kevin On 7 Sep., 08:10, Ohad Levy wrote: > On Tue, Sep 6, 2011 at 6:44 PM, treydock wrote: > > I've recently been looking to move my KVM management (currently via > > Puppet and virt-manager) to something web-based and robust (ie > > "Cloud"), and c

Re: [Puppet Users] small problem with init script on RHEL6

2011-09-07 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > This change in the init script fixed the problem: > > #pidfile=/var/run/puppet/puppetmasterd.pid > pidfile=/var/lib/puppet/run/puppetmasterd.pid > > Is that a bug worth reporting? I would, at least somebody can then decide if it's really a bug or

Re: [Puppet Users] small problem with init script on RHEL6

2011-09-07 Thread Russell Van Tassell
I've seen a few conflicts between RPM and Source installations relating to path ... on an Ubuntu server, for example, the binaries landing in /usr/bin rather than /usr/sbin. Really gets frustrating when distro / repository maintainers move everything around "to suit their distro" -- it seems like i

[Puppet Users] small problem with init script on RHEL6

2011-09-07 Thread Jim N
I was getting this when starting puppetmasterd (puppet- server-0.25.5-1.el6.noarch RPM install): $ sudo /etc/init.d/puppetmaster start Starting puppetmaster: Could not run: Could not create PID file: /var/ lib/puppet/run/puppetmasterd.pid This change in the init script fixed the problem: #pidf

[Puppet Users] Re: custom type treating a parameter as a method?

2011-09-07 Thread Luke Bigum
Ahh, thanks Carla. I've hacked around that for the moment. I've also got a few other hacks on the libvirt provider I'll provide back to you when I'm done. Another problem has risen out of what I'm doing, it's not exactly related so deservers a new post. On Sep 7, 6:06 pm, Carla Araujo wrote: > H

Re: [Puppet Users] Package provider for gentoo?

2011-09-07 Thread Daniel Pittman
On Tue, Sep 6, 2011 at 20:00, Matthew Marlowe wrote: >> This comes down to the package provider depending on eix, which is >> presumably some sort of interface to portage that isn't standard; >> fixing the provider should fix the problem there.  That pretty much >> depends on someone who cares sen

Re: [Puppet Users] custom type treating a parameter as a method?

2011-09-07 Thread Carla Araujo
Hi Luke I have updated the virt type with 'interfaces' as a new property instead of a parameter, like it was used do be in the last version. This change was made focused on the openvz provider but I forgot to apply the changes to the libvirt provider. My mistake :( I'll fix that and I'll notify yo

[Puppet Users] custom type treating a parameter as a method?

2011-09-07 Thread Luke Bigum
Hi list, I'm currently looking at the puppet-virt module at https://github.com/carlasouza/puppet-virt.git to see if it will work in my environment and I've run into a Puppet/Ruby problem I don't know where to begin debugging. It looks like one of the custom type's parameters is being interpreted

[Puppet Users] My Solution: Clients that change name and IP address (with one small issue remaining)

2011-09-07 Thread Dan White
Hey folks, I promised to share what I figured out and here it is: First of all, I'm using cobbler/kickstart to build the machines, so I edited the snippet "puppet_register_if_enabled" to the following: #if $str($getVar('puppet_auto_setup','')) == "1" # generate puppet certificates and trigger a

[Puppet Users] Qualified variable inside a metaparameter

2011-09-07 Thread ikkaro
Hi, I'm adapting our modules to version 2.7.3. Currently I 've this example in a iptables module class iptables_script { file { $iptables_init: owner => "root", group => "root", mode => "0700",

Re: [Puppet Users] OS X Lion group membership not updated

2011-09-07 Thread Nigel Kersten
On Tue, Sep 6, 2011 at 12:42 PM, James Turnbull wrote: > David Thompson wrote: > > Switching to puppet (2.7.3) for managing my OS X Lion systems, I'm > > finding group membership not being updated. > > > > > > Any help much appreciated... > > > > David > > I think there are a bunch of OSX Lion bug

Re: [Puppet Users] Re: The require function

2011-09-07 Thread R.I.Pienaar
- Original Message - > Thanks for the explanation. It turns out that I already use my stuff > the very same way, only without understanding the significance. > > Two related question though: > a. Does order matter? Like: > > file{"/foo/bar": content => "hello world"} >

[Puppet Users] Re: The require function

2011-09-07 Thread Sans
Thanks for the explanation. It turns out that I already use my stuff the very same way, only without understanding the significance. Two related question though: a. Does order matter? Like: file{"/foo/bar": content => "hello world"} file{"/foo": ensure => directory} b. Ca

Re: [Puppet Users] undefined method `function_extlookup'

2011-09-07 Thread Peter Meier
On 09/07/2011 11:44 AM, piavlo wrote: > Trying to use extlookup from within template i use > > <%= scope.function_extlookup("blah") %> > > but get the undefined method `function_extlookup' error > > According to > http://docs.puppetlabs.com/guides/templating.html#access-to-variables-and-puppet-

Re: [Puppet Users] Re: The require function

2011-09-07 Thread R.I.Pienaar
- Original Message - > On Sep 6, 8:54 pm, "R.I.Pienaar" wrote: > > - Original Message - > > > > files auto require their parents, it's not even needed to do > > the require => or require() > > > > > Could you please explain what exactly does it mean? Cheers!! Given 2 file resour

[Puppet Users] undefined method `function_extlookup'

2011-09-07 Thread piavlo
Trying to use extlookup from within template i use <%= scope.function_extlookup("blah") %> but get the undefined method `function_extlookup' error According to http://docs.puppetlabs.com/guides/templating.html#access-to-variables-and-puppet-functions-with-the-scope-object this should work. Tha

[Puppet Users] Re: The require function

2011-09-07 Thread Sans
On Sep 6, 8:54 pm, "R.I.Pienaar" wrote: > - Original Message - > > files auto require their parents, it's not even needed to do > the require => or require() > > Could you please explain what exactly does it mean? Cheers!! -- You received this message because you are subscribed to the Go

Re: [Puppet Users] "Cross-nodes" modules: howto?

2011-09-07 Thread Francis GALIEGUE
On Tue, Sep 6, 2011 at 16:59, Brian Gallew wrote: > I do this with a define.  In my case, I define a web application and pass in > several arrays of hosts.  This expands, in turn, to a series of if > statements that check to see which array (if any) $hostname is in and then > sets appropriate vari