Re: [Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-22 Thread Walter Heck
On Tue, May 22, 2012 at 12:02 AM, Marc Zampetti wrote: > Is Puppet Labs saying they are ending support of MySQL and instead will only > support PostgreSQL? That is going to be a big problems for shops that do not > support PostgresSQL, or are only allowed to run DB systems on an approved > list. W

[Puppet Users] Announce: Puppet 3.0.0rc2 Available

2012-05-22 Thread Matthaus Litteken
Puppet 3.0.0rc2 is a feature release candidate for the 3.0 series of Puppet. It addresses issues #14514 and #14609, and includes contributions from Chris Price and Kelsey Hightower. Downloads are available at: * Source http://downloads.puppetlabs.com/puppet/puppet-3.0.0rc2.tar.gz RPMs are availa

Re: [Puppet Users] Re: CA error

2012-05-22 Thread China Shanghainese
Thank you for your repley. I figured it out. Because I has not set FQDN, when clients access server, there would be more than one certificates generated for each client. One of the clients could not generate sencond certificate successfully. This occured error. Now I set FQDN, only one certificate

Re: [Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-22 Thread Deepak Giridharagopal
On Tue, May 22, 2012 at 7:02 PM, Deepak Giridharagopal < dee...@puppetlabs.com> wrote: > On Tue, May 22, 2012 at 6:24 PM, Sean Millichamp wrote: > >> In a slightly different vein, does PuppetDB support a cluster or HA >> configuration? I assume at least active/passive must be okay. Any gotchas >

Re: [Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-22 Thread Deepak Giridharagopal
On Tue, May 22, 2012 at 6:24 PM, Sean Millichamp wrote: > ** > On Mon, 2012-05-21 at 15:39 -0600, Deepak Giridharagopal wrote: > > 1) The data stored in PuppetDB is entirely driven by puppetmasters > compiling catalogs for agents. If your entire database exploded and lost > all data, everything w

[Puppet Users] Projects.puppetlabs.com outage 5/22/2012

2012-05-22 Thread James Turnbull
Hi all Due to some required maintenance our provider is doing the Redmine projects site will be down from 6.00PM PST to 6.30PM PST tonight (5/22/2012). We apologize for the inconvenience and the short notice. If you have any questions or concerns please contact me. Thanks James Turnbull -- J

Re: [Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-22 Thread Sean Millichamp
On Mon, 2012-05-21 at 15:39 -0600, Deepak Giridharagopal wrote: > 1) The data stored in PuppetDB is entirely driven by puppetmasters > compiling catalogs for agents. If your entire database exploded and > lost all data, everything will be 100% repopulated within around > $runinterval minutes. I

[Puppet Users] Trying to get complex data set into Puppet from ENC

2012-05-22 Thread Jared Ballou
Hi everyone, I've been reading the groups here for a while, and have gotten a lot of things fixed by finding other people's posts, so hopefully someone will be able to set me straight. I am working on a Puppet deployment that needs to have a lot of disparate data pulled together, and as far as the

Re: [Puppet Users] Announce: Puppet 3.0.0rc1 Available

2012-05-22 Thread Daniel Pittman
On Tue, May 22, 2012 at 2:59 PM, Erik Dalén wrote: > After some tweaks I got a 3.0 puppetmaster and client working. But if > I try a 3.0 client against a 2.7 master I get the following error: > Error: Failed to apply catalog: Could not intern from pson: source > '"# I know it isn't generally suppo

[Puppet Users] Announce: Hiera-Puppet 1.0.0rc1 Available

2012-05-22 Thread Matthaus Litteken
Hiera-Puppet 1.0.0rc1 is a feature release candidate designed to accompany Puppet 3.0 and Hiera 1.0. It includes Puppet functions for hiera and also the puppet backend for hiera lookups. Downloads are available: * Source http://downloads.puppetlabs.com/hiera/hiera-puppet-1.0.0rc1.tar.gz * Apt a

Re: [Puppet Users] Installing up to date puppet on Ubuntu

2012-05-22 Thread Michael Stahnke
On Tue, May 22, 2012 at 5:07 AM, felix wrote: > > ah ! thanks > > before: > > puppet: >   Installed: (none) >   Candidate: 0.25.4-2ubuntu6.7 >   Version table: >      0.25.4-2ubuntu6.7 0 >         500 http://archive.ubuntu.com/ubuntu/ lucid-updates/main Packages >         500 http://security.ubunt

Re: [Puppet Users] Announce: Puppet 3.0.0rc1 Available

2012-05-22 Thread Erik Dalén
After some tweaks I got a 3.0 puppetmaster and client working. But if I try a 3.0 client against a 2.7 master I get the following error: Error: Failed to apply catalog: Could not intern from pson: source '"# wrote: > Puppet 3.0.0rc1 is a feature release candidate for the 3.0 series of Puppet. > > P

[Puppet Users] Announce: Hiera 1.0.0rc3 Available

2012-05-22 Thread Matthaus Litteken
Hiera 1.0.0rc3 is a feature release candidate designed to accompany Puppet 3.0. Changes to Hiera since 1.0.0rc2 were mainly to ease packaging and improve testing. Downloads are available: * Source http://downloads.puppetlabs.com/hiera/hiera-1.0.0rc3.tar.gz It includes contributions from the fol

[Puppet Users] Announce: Facter 2.0.0rc3 Available

2012-05-22 Thread Moses Mendoza
Facter 2.0.0rc3 is a maintenance release candidate with bug fixes. It includes contributions from Hailee Kenney and Moses Mendoza. This release is available for download at: https://downloads.puppetlabs.com/facter/facter-2.0.0rc3.tar.gz https://apt.puppetlabs.com https://yum.puppetlabs.com Se

Re: [Puppet Users] Is there a quick way to export a manifest from a master/client to a new standalone?

2012-05-22 Thread Ryan Coleman
On Mon, May 21, 2012 at 7:22 PM, James Glenn wrote: > Yes, this sounds like what I am looking for. I need to include file > content as well as package and user management. Will this work? Should > I try a different tactic? What are your limitations? Why are you unable to rely on the Puppet Agent

Re: [Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-22 Thread Brian Gallew
I'm a long-term PostgreSQL fan, but MySQL has one feature that makes it a hands-down winner in our environment: trivial replication. I have puppetmasters in two different datacenters. Being able to have my dashboard see the status of systems in both datacenters makes it a lot more useful to the t

[Puppet Users] Puppet Scalability - any good references

2012-05-22 Thread matan
Hi, Could anyone point out a good existing discussion of Puppet scalability? I'm relating to the Puppet master and ecosystem parts that are not the actual agents sitting on the managed servers. In particular anything that would shed insight upon: 1. Does a Puppet master gracefully degrade w

Re: [Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-22 Thread Nick Lewis
On Tuesday, May 22, 2012 8:26:22 AM UTC-7, Brice Figureau wrote: > > On Mon, 2012-05-21 at 15:39 -0600, Deepak Giridharagopal wrote: > > On Mon, May 21, 2012 at 2:04 PM, Marc Zampetti > > wrote: > > >Why wouldn't a DB-agnostic model be used? > > > >

Re: [Puppet Users] How to create run stages from an ENC?

2012-05-22 Thread Nan Liu
On Tue, May 22, 2012 at 9:42 AM, Cristian Măgherușan-Stanciu wrote: > Hello, > > Is there a way to create run stages using just an ENC? If so, how > would it look like in YAML format? > > I was thinking about something like this, but the YAML parser we use > doesn't accept it and a colleague of mi

Re: [Puppet Users] puppet-load forbidden request to /catalog/*

2012-05-22 Thread Ryan Coleman
On Tue, May 22, 2012 at 2:56 AM, Matthew Burgess wrote: > Thanks for any help, either in being able to get puppet-load to load > test our environment, or in letting me know what might cause our > clients to fail to check in reliably if it's not a load issue. > Hi Matt, I ran into this as well, i

[Puppet Users] How to create run stages from an ENC?

2012-05-22 Thread Cristian Măgherușan-Stanciu
Hello, Is there a way to create run stages using just an ENC? If so, how would it look like in YAML format? I was thinking about something like this, but the YAML parser we use doesn't accept it and a colleague of mine said that maybe Puppet support for this is missing too. Is it true? stages:

[Puppet Users] Re: Puppet master does not list certificate request

2012-05-22 Thread felix
I've gotten it to work by removing the entire /var/lib/puppet/ssl on master and all clients. It seems quite finicky. more SSL errors now when I try to do any connection On Tuesday, May 22, 2012 5:44:35 PM UTC+2, felix wrote: > > > and even tried removing all master / client ssl files > > -

[Puppet Users] Re: Puppet First Run after Install failing in module pe_mcollective

2012-05-22 Thread Shiva
Thanks Jeff Puppet enterprise 2.5.1 and RHEL 6.2 Shiva On May 22, 11:37 am, Jeff McCune wrote: > What version of PE and RHEL? > > I've seen this problem a couple of times and I believe we have a fix > already. I'll just need to track it down and make sure it's the same issue. > > -Jeff > > > >

Re: [Puppet Users] Hiera Questions: Virtual User Resources and Hiera

2012-05-22 Thread Jeff McCune
On Tuesday, May 22, 2012, Dan White wrote: > I found an answer to this particular issue. Thanks for the reminder so I > can share the answer: > > I found the hiera/yaml way to indicate an empty array ! > So, to use my earlier example: > > users: > beast: > username : beast > uid :

[Puppet Users] Puppet master does not list certificate request

2012-05-22 Thread felix
This seems to be fairly common, and I've tried master clean and client remove and even tried removing all master / client ssl files and restarted the puppetmaster both client/server are running 2.7.14 I did have master running 2.6.4 the first time I tried and I DID get the certificates reco

Re: [Puppet Users] Puppet First Run after Install failing in module pe_mcollective

2012-05-22 Thread Jeff McCune
What version of PE and RHEL? I've seen this problem a couple of times and I believe we have a fix already. I'll just need to track it down and make sure it's the same issue. -Jeff On Tuesday, May 22, 2012, Shiva wrote: > I am installing puppet enterprise manager (master) on a RHEL box. > Though

Re: [Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-22 Thread Brice Figureau
On Mon, 2012-05-21 at 15:39 -0600, Deepak Giridharagopal wrote: > On Mon, May 21, 2012 at 2:04 PM, Marc Zampetti > wrote: >Why wouldn't a DB-agnostic model be used? > > > The short answer is performance. To effectively >

[Puppet Users] How to define class inheritance with Puppet Ruby DSL

2012-05-22 Thread Ingo Fischer
I have a module "Ruby": # init.pp class ruby { package { 'libldap-ruby1.8': ensure => 'installed' } } Then I have a manifest written with Ruby-DSL, which should inherit this module: # ldap.rb hostclass 'ruby::ldap' do (...) end How do I define that *ruby::ldap* inherits *ruby*? --

[Puppet Users] Re: issue with custom types and providers

2012-05-22 Thread Matt
This is with puppet 2.6 and one minor difference was in my code I tried both newparam and newproperty to see if it was potentially just a simple mistake. On Tuesday, May 22, 2012 10:55:19 AM UTC-4, Matt wrote: > > So I'm trying to follow the example in the Pro Puppet book and I'm running > into

[Puppet Users] issue with custom types and providers

2012-05-22 Thread Matt
So I'm trying to follow the example in the Pro Puppet book and I'm running into the issue where "resource" variable is not defined. Looking at the code for packages, I did something similar but it doesnt work either. newparam(:type) do desc "Deprecated form of `provider`." mung

[Puppet Users] Re: Managing Users over multiple servers

2012-05-22 Thread jcbollinger
On May 21, 2:40 pm, lth wrote: > LDAP is something we've been considering and will probably > be implementing that sooner than later.  However while that takes care of > the 100s of regular web users, we still don't think we want our 8-10 system > administrators to be doing that.  So we're still

[Puppet Users] Puppet First Run after Install failing in module pe_mcollective

2012-05-22 Thread Shiva
I am installing puppet enterprise manager (master) on a RHEL box. Though the install itself succeeds without any issues, the first run of puppet when it tries to deploy the pe_mcollective module fails with the following error. Message: change from notrun to 0 failed: sh -c 'umask 077; keytool - im

Re: [Puppet Users] Hiera Questions: Virtual User Resources and Hiera

2012-05-22 Thread Dan White
I found an answer to this particular issue. Thanks for the reminder so I can share the answer: I found the hiera/yaml way to indicate an empty array ! So, to use my earlier example: users: beast: username : beast uid : ingroups : - '' info : Let

Re: [Puppet Users] Installing up to date puppet on Ubuntu

2012-05-22 Thread felix
ah ! thanks before: puppet: Installed: (none) Candidate: 0.25.4-2ubuntu6.7 Version table: 0.25.4-2ubuntu6.7 0 500 http://archive.ubuntu.com/ubuntu/ lucid-updates/main Packages 500 http://security.ubuntu.com/ubuntu/ lucid-security/main Packages 100 /var/lib/dpkg

Re: [Puppet Users] modifying file(s) on the fly

2012-05-22 Thread Sans
Thanks Den, Jo! I did it using template() now. Cheers, San On Tuesday, May 22, 2012 11:10:39 AM UTC+1, Jo wrote: > > Use a template instead. Then you can install the file already modified > for the host. > > On May 21, 2012, at 2:33 PM, Sans wrote: > > I'm trying to figure out how to do this -

Re: [Puppet Users] Installing up to date puppet on Ubuntu

2012-05-22 Thread Martin Alfke
Hi, On 22.05.2012, at 13:08, felix wrote: > Hi, > > Ubuntu Lucid has a very outdated puppet, 0.25.4 > > according to: > http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html#for-debian-and-ubuntu > > I did this to "enable the repository": > > wget http://apt.puppetlabs.com/pu

[Puppet Users] Installing up to date puppet on Ubuntu

2012-05-22 Thread felix
Hi, Ubuntu Lucid has a very outdated puppet, 0.25.4 according to: http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html#for-debian-and-ubuntu I did this to "enable the repository": wget http://apt.puppetlabs.com/puppetlabs-release_1.0-3_all.deb sudo dpkg -i puppetlabs-release_1

[Puppet Users] puppet-load forbidden request to /catalog/*

2012-05-22 Thread Matthew Burgess
Hi, To try and cut a long story short, foreman is telling us that anywhere between 15-30 of our ~130 nodes are failing to check-in within the last 35 minutes. Hosts that fail to check in continue to fail for roughly 1.5 hours, then check in successfully. The group of failing nodes seems to rotat

Re: [Puppet Users] [SOLVED] Puppet Enterprise replacing puppet node private keys?

2012-05-22 Thread Stuart Sears
Unsurprisingly, all my fault, details below. On 22/05/12 10:15, Stuart Sears wrote: Hi all, I am seeing some very curious behaviour with puppet enterprise (on a trial license to evaluate, before I get redirected there :) ) I have client systems (RHEL) being kickstarted and installing pe-puppet

Re: [Puppet Users] modifying file(s) on the fly

2012-05-22 Thread Jo Rhett
Use a template instead. Then you can install the file already modified for the host. On May 21, 2012, at 2:33 PM, Sans wrote: > I'm trying to figure out how to do this - first copy a "common" file to every > node and then modify the file according to the node type. I've tried this: > > > if $

Re: [Puppet Users] Puppet Enterprise replacing puppet node private keys?

2012-05-22 Thread Jo Rhett
On May 22, 2012, at 2:15 AM, Stuart Sears wrote: > It looks like the preliminary puppet run is receiving a cert and then using > that to connect to the puppet master, which works just fine, but then once > the node has rebooted, a completely new key pair appears to have been > generated on the c

Re: [Puppet Users] linting manifests with long lines

2012-05-22 Thread Jo Rhett
On May 21, 2012, at 12:13 PM, Nan Liu wrote: >> like for our manifests to be warning-free. The class of warnings >> related to long lines has me questioning what the best practice is to >> avoid lines longer than 80 characters. > > You can use a variable to shorten it, but I don't know if that >

Re: [Puppet Users] modifying file(s) on the fly

2012-05-22 Thread Denmat
Yep. Templates are just normal files that go through the ERB parser so you can make adjustments on the fly. And it appears you are trying to push out the file anyway (using the source => param) so it seems like a good fit to me. Cheers Den On 22/05/2012, at 18:45, Sans wrote: > Yes, I did th

[Puppet Users] Puppetlabs firewall module

2012-05-22 Thread Julia Smith
I'm trying to use the firewall resource and it works fine for me for iptables. However, I'm not sure how I purge ip6tables? doing... resources { "firewall": purge => true } only purges iptables. Currently I have 2 execs for persistence, 1 for iptables and 1 for ip6tables depending on which

[Puppet Users] Puppet Enterprise replacing puppet node private keys?

2012-05-22 Thread Stuart Sears
Hi all, I am seeing some very curious behaviour with puppet enterprise (on a trial license to evaluate, before I get redirected there :) ) I have client systems (RHEL) being kickstarted and installing pe-puppet and a couple of other basic packages, before using puppet agent -t --environment

Re: [Puppet Users] Hiera Questions: Virtual User Resources and Hiera

2012-05-22 Thread Luke Bigum
On 22/05/12 00:22, Jeff McCune wrote: On Mon, May 21, 2012 at 1:24 AM, Luke Bigum > wrote: I agree with Gary, Dan, it's probably the lack of data in the 'v_ingroups' key in your YAML that create_resources() is complaining about. If it truly can't pass an e

Re: [Puppet Users] modifying file(s) on the fly

2012-05-22 Thread Sans
Yes, I did think about using template one point. So, do you generate the entire file using "template"? For us, it's just a few lines to change in the default gmod.conf file. cheers, San On Tuesday, May 22, 2012 9:02:59 AM UTC+1, denmat wrote: > > Hi, > > I think templates would be easier to

Re: [Puppet Users] modifying file(s) on the fly

2012-05-22 Thread Denmat
Hi, I think templates would be easier to manage in this setup. http://docs.puppetlabs.com/learning/templates.html It will give good flexibility. It the way I have managed my ganglia setup. Cheers, Den On 22/05/2012, at 7:33, Sans wrote: > Dear all, > > I'm trying to figure out how to do th