Re: [Puppet Users] puppet and std

2012-09-21 Thread Fabrice Bacchella
I'm starting it by hand. It's the same process (pid 1845) that is nulling stderr that is writing to it, so it's not related to the way it's launched, --debug provides no help. Using strace is not a long term solution. It was used to understand why Puppet keep failing silently. I still not know

[Puppet Users] Re: [Puppet-dev] Announce: PuppetDB 1.0 Available

2012-09-21 Thread Nick Lewis
On Thursday, September 20, 2012 10:44:34 PM UTC-7, Erik Dalén wrote: > > Great work! > > But what are the changes since 0.11.0? > > We've been treating our releases until now as betas/release candidates, so actually 1.0 is just a promotion of 0.11.0. It's identical in features. I guess we didn'

[Puppet Users] Installing puppet and using ruby from RVM.

2012-09-21 Thread jdehnert
I'm setting up a pair of VM's to do some puppet testing on, and I am trying to figure out how to install puppet without having the the system also install ruby. I already have ruby installed through RVM, and I'd like to get puppet to use that ruby. For the record, I'm using CentOS 6.3 as the O

[Puppet Users] (again) configuration client already in progress

2012-09-21 Thread Andrei-Florian Staicu
Hi all, I know this issue was discussed ad nauseam, but I did'nt find any of the solution applicable to me. So, the situation: I have 60 clients managed by puppet. All are RHEL 5/6, almost up-to-date regarding packages. All of them have puppet 2.7.19.-1.el(5|6). I have 14 client that won't go out

[Puppet Users] Hiera and multiple roles per host

2012-09-21 Thread megan
I've been researching this for a few days and I've reached a level of desperation sufficient to post. We want to clean up our somewhat baroque Hiera structure and we've come up with a beautiful solution -- assigning multiple roles per host. Our hierarchy would look something like this, more or

[Puppet Users] Wood/trees/hiera discrimination problem

2012-09-21 Thread John Hawkes-Reed
Hello. I think I'm being an idiot (not for the first time), but given the following hiera paragraph: directorymap: www.blah.com: - source: dodgy-uploaded-jpegs target: www.blah.com/wp-content/uploads - source: disturbing-home-videos target: www.blah.com/wp-content/filth w

[Puppet Users] hiera() variables with the same name lookup in different modules

2012-09-21 Thread Vaidas Jablonskis
Hi poeple, I seem to have a slight issue with Hiera. Let's say I have a number or different modules and they have multiple variables, but some of the variables have the same name like other modules. For instance $password variable in module "foo" and $password variable in module "bar". How can

[Puppet Users] puppet --no-client ignore USR1

2012-09-21 Thread Fabrice Bacchella
When puppet is launched as a daemon, a kill -USR trigger a catalog run : Sep 21 12:56:01 XXX puppet-agent[15324]: Caught USR1; calling reload Sep 21 12:56:24 XXX puppet-agent[15324]: Finished catalog run in 12.96 seconds But when launched with --listen --no-client, nothing happens any more : Sep

Re: [Puppet Users] hiera() variables with the same name lookup in different modules

2012-09-21 Thread R.I.Pienaar
- Original Message - > From: "Vaidas Jablonskis" > To: puppet-users@googlegroups.com > Sent: Friday, September 21, 2012 12:16:11 PM > Subject: [Puppet Users] hiera() variables with the same name lookup in > different modules > > Hi poeple, > > I seem to have a slight issue with Hiera.

[Puppet Users] Starting master fails

2012-09-21 Thread Peter Spatz
Hello, first, i´m new to puppet. I´m searching for a configuration management tool and puppet was in focus. I´m using Solaris Zone SunOS: 5.10 Generic_147440-15 sun4v sparc sun4v Ruby: ruby 1.8.5 (2006-12-04 patchlevel 2) [sparc-solaris2.10] puppet: v3.0.0-rc6 /lib:/usr/lib:/opt/coolstack/mysql_3

Re: [Puppet Users] collect facter output of puppet client remotely from the puppetmaster

2012-09-21 Thread Bill Fraser
On 12-09-20 10:36 PM, Hiu wrote: > hi all, > > I would like to gather for the information that facter -p from the puppet > client from a puppet master. How can i do it? thanks! > Hi, Fact data of managed nodes is available in YAML format in the following directory on the Puppet master: /var/l

Re: [Puppet Users] hiera() variables with the same name lookup in different modules

2012-09-21 Thread Vaidas Jablonskis
It does! Thanks a lot. Simple, but powerful. On Friday, 21 September 2012 12:21:42 UTC+1, R.I. Pienaar wrote: > > > > - Original Message - > > From: "Vaidas Jablonskis" > > > To: puppet...@googlegroups.com > > Sent: Friday, September 21, 2012 12:16:11 PM > > Subject: [Puppet Users] hi

[Puppet Users] Re: puppet --no-client ignore USR1

2012-09-21 Thread jcbollinger
On Friday, September 21, 2012 6:21:04 AM UTC-5, Fabrice Bacchella wrote: > > When puppet is launched as a daemon, a kill -USR trigger a catalog run : > > Sep 21 12:56:01 XXX puppet-agent[15324]: Caught USR1; calling reload > Sep 21 12:56:24 XXX puppet-agent[15324]: Finished catalog run in 12.96

[Puppet Users] Re: [Puppet-dev] Do you rely on 'param=>undef' being equal to '(nothing)'?

2012-09-21 Thread Trevor Vaughan
After reading through the follow up messages, I think that the proposed change won't affect me at all. Thanks for the follow up. Trevor On Tue, Sep 18, 2012 at 8:30 PM, Eric Sorenson wrote: > On Saturday, September 15, 2012 5:06:52 PM UTC-7, Trevor Vaughan wrote: >> >> I also use the undef to u

[Puppet Users] Re: Wood/trees/hiera discrimination problem

2012-09-21 Thread jcbollinger
On Friday, September 21, 2012 6:04:37 AM UTC-5, John Hawkes-Reed wrote: > > Hello. > > I think I'm being an idiot (not for the first time), but given the > following hiera paragraph: > > directorymap: > www.blah.com: > - source: dodgy-uploaded-jpegs > target: www.blah.com/wp-con

[Puppet Users] Re: Installing puppet and using ruby from RVM.

2012-09-21 Thread jcbollinger
On Friday, September 21, 2012 1:14:56 AM UTC-5, jdehnert wrote: > > I'm setting up a pair of VM's to do some puppet testing on, and I am > trying to figure out how to install puppet without having the the system > also install ruby. > > I already have ruby installed through RVM, and I'd like to

Re: [Puppet Users] puppet and std

2012-09-21 Thread jcbollinger
On Friday, September 21, 2012 4:35:41 AM UTC-5, Fabrice Bacchella wrote: > > I'm starting it by hand. It's the same process (pid 1845) that is nulling > stderr that is writing to it, so it's not related to the way it's launched, > --debug provides no help. > > Using strace is not a long term s

Re: [Puppet Users] Staging environment

2012-09-21 Thread jcbollinger
I seem to be missing something here. The OP's problem is that part of what he wants to test is his code's environment-dependent behavior. I maintain that no solution requiring a different environment to be declared than the one he wants to test can in fact test such behavior adequately. I do

[Puppet Users] Re: Installing puppet and using ruby from RVM.

2012-09-21 Thread Stephen Price
John's right. Yum and RVM will manage Rubies separately. Is there a specific reason you want Puppet to use 1.9.2 instead of CentOS 6's version from yum repos (1.8.7)? I run CentOS on close to 100 hosts, all with 1.8.7 as the default install. A number of these also have RVM with various Rubies i

[Puppet Users] Re: Version control design for puppet and data (hiera) repositories

2012-09-21 Thread Stephen Price
Just a followup: I merged my "-staging" repositories in to the main "puppet" and "puppet-data" repositories. Instead of managing permissions by repository, I'm using Mercurial's ACL extension to restrict pushes to the "production" branch to specific groups. Makes for a cleaner layout. On Tuesd

Re: [Puppet Users] Re: Wood/trees/hiera discrimination problem

2012-09-21 Thread John Hawkes-Reed
On 21 Sep 2012, at 15:42, jcbollinger wrote: > > > On Friday, September 21, 2012 6:04:37 AM UTC-5, John Hawkes-Reed wrote: > Hello. > > I think I'm being an idiot (not for the first time), but given the following > hiera paragraph: > > directorymap: > www.blah.com: > - source: dodg

Re: [Puppet Users] collect facter output of puppet client remotely from the puppetmaster

2012-09-21 Thread Michael Stahnke
There's also http://rubygems.org/gems/web-facter. not sure if that would help. I haven't played with web-facter, but thought it looked somewhat interesting. Mike On Fri, Sep 21, 2012 at 5:07 AM, Bill Fraser wrote: > On 12-09-20 10:36 PM, Hiu wrote: >> hi all, >> >> I would like to gather for t

Re: [Puppet Users] Re: Installing puppet and using ruby from RVM.

2012-09-21 Thread Michael Stahnke
On Fri, Sep 21, 2012 at 8:45 AM, Stephen Price wrote: > John's right. Yum and RVM will manage Rubies separately. > > Is there a specific reason you want Puppet to use 1.9.2 instead of CentOS > 6's version from yum repos (1.8.7)? I run CentOS on close to 100 hosts, all > with 1.8.7 as the default i

Re: [Puppet Users] Starting master fails

2012-09-21 Thread Jakov Sosic
On 09/21/2012 01:35 PM, Peter Spatz wrote: Hello, first, i´m new to puppet. I´m searching for a configuration management tool and puppet was in focus. I´m using Solaris Zone SunOS: 5.10 Generic_147440-15 sun4v sparc sun4v Ruby: ruby 1.8.5 (2006-12-04 patchlevel 2) [sparc-solaris2.10] puppet: v3.

Re: [Puppet Users] PuppetDB - HA

2012-09-21 Thread Deepak Giridharagopal
On Thu, Sep 20, 2012 at 11:47:30PM -0700, ollies...@googlemail.com wrote: Hello, So in my company I have put in this fully load-balanced (behind F5) solution with multiple PM's/CA's/ENC and a single entry client entry point no matter where the servers are located globally - puppet. and the F5

[Puppet Users] Announce: Puppet 3.0.0-rc7 Available

2012-09-21 Thread Matthaus Owens
Puppet 3.0.0-rc7 is a feature release candidate for the 3.x series of Puppet. Downloads are available at: * Source http://downloads.puppetlabs.com/puppet/puppet-3.0.0-rc7.tar.gz RPMs are available at http://yum.puppetlabs.com Debs are available at http://apt.puppetlabs.com Gems are available v

[Puppet Users] Solaris Packages for Puppet 3.0.0-rc7, Facter 1.6.0 and Hiera 1.0.0

2012-09-21 Thread Moses Mendoza
-- Forwarded message -- From: Rahul Gopinath Date: Fri, Sep 21, 2012 at 4:43 PM Subject: [Puppet-dev] Solaris Packages for Puppet 3.0.0, Facter 1.6.0 and Hiera 1.0.0 To: puppet-users@googlegroups.com, puppet-...@googlegroups.com Hello, For the first time, experimental Solaris

[Puppet Users] Re: Installing puppet and using ruby from RVM.

2012-09-21 Thread jdehnert
On Friday, September 21, 2012 7:59:46 AM UTC-7, jcbollinger wrote: > > You have a wrong concept: yum and rpm don't care whether any particular * > software* is installed, they care only about what *packages* (RPMs) are > installed. That's why they don't care about the Ruby you've installed via

Re: [Puppet Users] Re: Installing puppet and using ruby from RVM.

2012-09-21 Thread jdehnert
On Friday, September 21, 2012 1:11:22 PM UTC-7, Michael Stanhke wrote: > > > > As long as we're talking about installing from source, there's a 4th > option: > > use RVM's Ruby 1.9.2-p230 to install the Puppet gem. Instructions are > here > > (though you'll need to adapt it to your specific env

Re: [Puppet Users] install vmware tools through puppet

2012-09-21 Thread Jakov Sosic
On 09/19/2012 11:55 PM, Hai Tao wrote: There seems to be a few vmware tools installation modules. Has someone used these modules to install VMware tools? Searching http://forge.puppetlabs.com ... NAMEDESCRIPTION AUTHORKEYWORDS vchoi-vmware

Re: [Puppet Users] Complex custom type?

2012-09-21 Thread Jakov Sosic
On 09/17/2012 07:18 PM, Nan Liu wrote: On Sun, Sep 16, 2012 at 2:23 PM, Jakov Sosic wrote: On 09/16/2012 04:47 PM, Stefan Schulte wrote: or the interface property could accept a hash. I have not tried it myself but it should work because the puppetlabs f5 type seems to use it: https://github

Re: [Puppet Users] Re: Installing puppet and using ruby from RVM.

2012-09-21 Thread Jakov Sosic
On 09/22/2012 03:21 AM, jdehnert wrote: I'm aware of the issues of installing software through source vs. pkg management systems. I should have mentioned that I've been in IT for over 20 years. Its just puppet and ruby that are new to me, but I'm learning fast. We are in agreement about stick

Re: [Puppet Users] Re: Installing puppet and using ruby from RVM.

2012-09-21 Thread Jakov Sosic
On 09/22/2012 03:44 AM, jdehnert wrote: Sounds like I should just install whats available through yum which is ruby-1.8.7. Sounds like a good idea. -- Jakov Sosic www.srce.unizg.hr -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post t

Re: [Puppet Users] Re: Installing puppet and using ruby from RVM.

2012-09-21 Thread jdehnert
On Friday, September 21, 2012 7:11:18 PM UTC-7, Jakov Sosic wrote: > > On 09/22/2012 03:21 AM, jdehnert wrote: > > > I'm aware of the issues of installing software through source vs. pkg > > management systems. I should have mentioned that I've been in IT for > > over 20 years. Its just pupp