[Puppet Users] Re: Is Hiera the right tool for this ?

2012-04-09 Thread Jeff
I found a workaround by using distinct array names for default/specific sysctl values and requiring the default class in the role specific class... but I hoped there was a clever way.Anyone ? class sysctl::defaults { create_resources( sysctl::config::defaults, hiera('sysctl_settings_d

[Puppet Users] Puppet report with foreman

2012-04-09 Thread niraj
Hi All, I get a error message stating that Could not send report: Error 400 on server: Could not autoload foreman: Function foreman already defined. I am integrating puppet report to be displayed with foreman. What can be the problem ??? Regards Niraj K. -- You received this messa

[Puppet Users] Re: Customizing a hostname facts

2012-04-09 Thread jcbollinger
On Apr 8, 11:51 pm, Mukul Malhotra wrote: > hi, > > But how can i redirect the parameter from hostname to serialnumber so that > puppet will pick the serialnumber by default instead of hostname for the > updates on the nodes. You have a serious misunderstanding. Puppet uses cryptographic cert

[Puppet Users] Re: node-specific resources outside of a general-purpose module

2012-04-09 Thread jcbollinger
On Apr 8, 1:50 am, Jonathon Anderson wrote: > I think there's something simple I'm missing about module best practices > and application to nodes. > > Let's assume I've been a good module developer: I have a general-purpose > module with no site- or node-specific knowledge, and it defines a numb

RE: [Puppet Users] Getting started

2012-04-09 Thread Brown, Rodrick
I'm running 64Bit CentOS 6.2 I'm using the Puppet software from scratch I couldn't find any RPM's is there a yum repo for puppet RPM binaries and dependencies? I didn't see one so I built from source. I need to support roughly ~3000 Linux host, I have a 3 VM's in my lab right now I'm using to

RE: [Puppet Users] Getting started

2012-04-09 Thread Dan White
http://yum.puppetlabs.com/ “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) - Rodrick Brown wrote: > I'm running 64Bit CentOS 6.2 I'm using the Puppet software from scratch

[Puppet Users] using stdlib module

2012-04-09 Thread Shantanu
I am trying to get stdlib installed and working as mentioned in the module of the week blog post - http://puppetlabs.com/blog/module-of-the-week-puppetlabsstdlib-puppet-labs-standard-library/ . I ran following file_line test without noop mode. It created the required file however it didn't agree

[Puppet Users] Puppet Error - Munge - Conf File

2012-04-09 Thread Drew Buschhorn
Hello, I've been using puppet fairly successfully on a 10 server cluster, so I thought I had a decent idea of what I was doing. However, we're starting a new project using a different virtualization system ( XenServer ), and I can't seem to get puppet to accept my previous conf file. The erro

Re: [Puppet Users] Getting started

2012-04-09 Thread Luke Tislow
I think that if you enable the EPEL repo it will be in there. So add the EPEL with - rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm And then you can yum search and install for puppet/facter On Mon, Apr 9, 2012 at 10:46 AM, Brown, Rodrick wrote: > I’m runnin

Re: [Puppet Users] Puppet and Passenger

2012-04-09 Thread JA
Hi Everyone; Thanks for your help! However, I am still not able to get this working. I am using RHEL6 and the instructions are not clear to me. Can anyone shed some light on installing this on RHEL6? It seems that the instructions on the puppet site are a bit outdated. Thanks! On Sun, Apr 8,

Re: [Puppet Users] Re: Customizing a hostname facts

2012-04-09 Thread Christopher Wood
Not that I've ever done it, but perhaps in the same way as Nan Liu suggests to do for the mac address in this thread: https://groups.google.com/group/puppet-users/tree/browse_frm/month/2010-10/060a412fb3b33b2c?rnum=171&_done=%2Fgroup%2Fpuppet-users%2Fbrowse_frm%2Fmonth%2F2010-10%3Ffwc%3D1%26 On

[Puppet Users] Re: Is Hiera the right tool for this ?

2012-04-09 Thread jcbollinger
On Apr 7, 9:18 am, Jeff wrote: > Hi puppeteers, > > I’m starting from scratch with Puppet 2.7 and I’m trying to avoid some > pitfalls from the past using another configuration management tool.  I > think most of the issues I had could be solved by Puppet and Hiera but > being new to the tool and

Re: [Puppet Users] Re: Is Hiera the right tool for this ?

2012-04-09 Thread Nan Liu
On Mon, Apr 9, 2012 at 5:50 AM, Jeff wrote: > I found a workaround by using distinct array names for default/specific > sysctl values and requiring the default class in the role specific class... > but I hoped there was a clever way.    Anyone ? Try using a hash instead of array and hiera_hash fu

Re: [Puppet Users] node-specific resources outside of a general-purpose module

2012-04-09 Thread Nan Liu
On Sat, Apr 7, 2012 at 11:50 PM, Jonathon Anderson wrote: > I think there's something simple I'm missing about module best practices and > application to nodes. > > Let's assume I've been a good module developer: I have a general-purpose > module with no site- or node-specific knowledge, and it de

Re: [Puppet Users] Getting started

2012-04-09 Thread Josh Cooper
Hi Andreas, On Sun, Apr 8, 2012 at 11:30 AM, Andreas Haerter < list+puppet-us...@mail-node.com> wrote: > On 08.04.2012 00:46, Michael Stahnke wrote: > >>> Puppet seems way too clumber some with the amount of dependencies > >>> required so far. > >> > >> Seriously: use the packages of your distrib

[Puppet Users] Puppet/Passenger

2012-04-09 Thread JA
Hi Everyone; I have carefully followed the instructions and installed apache and passenger. I have made the documented configuration changes and now when I attepmt # puppet agent --test I get the following: info: Creating a new SSL certificate request for puppetdev04.cde.vrsn.com info: Certific

[Puppet Users] Re: using stdlib module

2012-04-09 Thread harveyzh
Shantanu: There is a related thread - "stdlib module not working" - : https://groups.google.com/group/puppet-users/browse_thread/thread/9a2502a8fb4f4d50/3f988a9300c78ed2?lnk=gst&q=stdlib#3f988a9300c78ed2 On Apr 9, 9:39 am, Shantanu wrote: > I am trying to get stdlib installed and working as me

Re: [Puppet Users] Re: using stdlib module

2012-04-09 Thread Jeff McCune
On Mon, Apr 9, 2012 at 12:57 PM, harveyzh wrote: > Shantanu: > > There is a related thread - "stdlib module not working" - : Yes, I think the take away from that thread as it relates to this issue is to specify: file_line { '/tmp/dansfile': ensure => present, ... } The other issue you m

[Puppet Users] Re: using stdlib module

2012-04-09 Thread Shantanu
On Apr 9, 1:14 pm, Jeff McCune wrote: > On Mon, Apr 9, 2012 at 12:57 PM, harveyzh wrote: > > Shantanu: > > > There is  a related thread - "stdlib module not working" - : > > Yes, I think the take away from that thread as it relates to this issue is > to specify: > > file_line { '/tmp/dansfile':

[Puppet Users] FYI: Packages available for Puppet natively

2012-04-09 Thread Michael Stahnke
Since we've had a few threads about packages lately, I thought I would share where our Open Sources packages are available from. These areas are kept updated with the latest versions from Puppet Labs. This is in contrast with many distro policies (e.g. Squeeze at 2.6.2, EPEL at 2.6.14, etc). RPM

[Puppet Users] validate_re validation failures

2012-04-09 Thread Shantanu
I am using stdlib module's validate_re function to validate parameters passed to a parameterized class as pasted here: http://pastebin.com/7eYAeLEa . The validation works fine however when I run this manifest locally using 'puppet apply' command where puppet execution stops if a validation test

Re: [Puppet Users] validate_re validation failures

2012-04-09 Thread Jeff McCune
On Mon, Apr 9, 2012 at 4:45 PM, Shantanu wrote: > > I am using stdlib module's validate_re function to validate parameters > passed to a parameterized class as pasted here: > http://pastebin.com/7eYAeLEa > . > > The validation works fine however when I run this manifest locally > using 'puppet ap

[Puppet Users] Taking github noise away from puppet-dev list

2012-04-09 Thread Michael Stahnke
Since our move to github for pull requests and patches, the usefulness of puppet-dev has declined significantly. puppet-dev used to be a great list for development discussion of puppet and the ecosystem around it. With the information and pull request emails from github, unless everybody has finel

Re: [Puppet Users] Puppet report with foreman

2012-04-09 Thread Jeff McCune
On Mon, Apr 9, 2012 at 8:50 AM, niraj wrote: > Hi All, >I get a error message stating that > > Could not send report: Error 400 on server: Could not autoload > foreman: Function foreman already defined. > Sounds like Foreman is getting loaded twice for some reason. I don't think this is

[Puppet Users] Re: OpenSUSE weirdness.

2012-04-09 Thread scot spinner
I'm having a very similar issue. Did anyone figure out a solution to this? On Mar 20, 10:15 am, Douglas Garstang wrote: > I'm having some weird issues with puppet 2.7.6 on OpenSUSE. > > When I run puppet in the foreground, it's all fine. However, when I > run it as aservice, all that get's logge

Re: [Puppet Users] Taking github noise away from puppet-dev list

2012-04-09 Thread Jeff McCune
On Mon, Apr 9, 2012 at 5:09 PM, Michael Stahnke wrote: > > We have a goal to foster development discussion from the community. > Because of that, I am proposing we move the github notifications to a > new list, puppet-commits. I realize this may have a consequence of > reducing patch/commit discu

Re: [Puppet Users] Taking github noise away from puppet-dev list

2012-04-09 Thread Michael Stahnke
On Mon, Apr 9, 2012 at 2:11 PM, Jeff McCune wrote: > On Mon, Apr 9, 2012 at 5:09 PM, Michael Stahnke > wrote: >> >> >> We have a goal to foster development discussion from the community. >> Because of that, I am proposing we move the github notifications to a >> new list, puppet-commits.  I reali

Re: [Puppet Users] Puppet and Passenger

2012-04-09 Thread JA
Stefan, thanks for the link to your blog! Most helpful! On Sun, Apr 8, 2012 at 3:20 AM, Stefan Schlesinger wrote: > Hi Jax, > > On 07.04.2012, at 02:45, Jax01 wrote: >> I am attempting to configure Passenger.  I have followed all of the >> installation instructions but, when I restart my webser

[Puppet Users] Two puppet related events in New York city this month (4/20 and 4/27).

2012-04-09 Thread Brian Gupta
On Friday 4/20 at 6:30pm, Ohad Levy, the author of Foreman, will be giving a talk on Foreman to PuppetNYC, the New York City Puppet User Group: http://www.meetup.com/puppetnyc-meetings/events/59430962/ In addition on the following Friday 4/27, Puppetlabs will be hosting an all day Puppetcamp!! htt

[Puppet Users] Re: validate_re validation failures

2012-04-09 Thread Shantanu
On Apr 9, 4:06 pm, Jeff McCune wrote: > On Mon, Apr 9, 2012 at 4:45 PM, Shantanu wrote: > > > I am using stdlib module's validate_re function to validate parameters > > passed to a parameterized class as pasted here: > >http://pastebin.com/7eYAeLEa > > . > > > The validation works fine however

Re: [Puppet Users] Re: validate_re validation failures

2012-04-09 Thread Jeff McCune
On Mon, Apr 9, 2012 at 2:40 PM, Shantanu wrote: > > > On Apr 9, 4:06 pm, Jeff McCune wrote: > > On Mon, Apr 9, 2012 at 4:45 PM, Shantanu wrote: > > > > > I am using stdlib module's validate_re function to validate parameters > > > passed to a parameterized class as pasted here: > > >http://past

[Puppet Users] unable to validate clients.

2012-04-09 Thread Brown, Rodrick
When trying to start clients I'm seeing the following error on the client. pr 9 17:48:28 jc1lbuildtest puppet-agent[1779]: Could not retrieve catalog from remote server: Error 403 on SERVER: Forbidden request: jc1lbuildtest.global.knight.com(10.20.243.20) access to /certificate_revocation_list

Re: [Puppet Users] Taking github noise away from puppet-dev list

2012-04-09 Thread Gabriel Filion
FWIW, I was following puppet-dev before the move to github, but unsubscribed because of the level of noise it generated. I'm not a skilled ruby dev, but I like to follow discussions around some modifications, especially if I see something around an issue I'm watching on redmine. not a suggestion

Re: [Puppet-dev] [Puppet Users] Taking github noise away from puppet-dev list

2012-04-09 Thread Eric Sorenson
+1 Please do this. On Apr 9, 2012, at 3:11 PM, Jeff McCune wrote: > On Mon, Apr 9, 2012 at 5:09 PM, Michael Stahnke > wrote: > > We have a goal to foster development discussion from the community. > Because of that, I am proposing we move the github notifications to a > new list, puppet-commi

[Puppet Users] Re: validate_re validation failures

2012-04-09 Thread Shantanu
On Apr 9, 4:43 pm, Jeff McCune wrote: > On Mon, Apr 9, 2012 at 2:40 PM, Shantanu wrote: > > > On Apr 9, 4:06 pm, Jeff McCune wrote: > > > On Mon, Apr 9, 2012 at 4:45 PM, Shantanu wrote: > > > > > I am using stdlib module's validate_re function to validate parameters > > > > passed to a parame

[Puppet Users] Use of environments

2012-04-09 Thread Josh Baird
Hi, I'm in the process of planning a new Puppet infrastructure and had a question regarding the usage of environments. This Puppet implementation requires that there are "plans" applied to each type of machine that it manages. I was thinking of managing each of these plans (ie, "app1-devwebserve

Re: [Puppet Users] Re: validate_re validation failures

2012-04-09 Thread Jeff McCune
On Mon, Apr 9, 2012 at 3:23 PM, Shantanu wrote: > > > On Apr 9, 4:43 pm, Jeff McCune wrote: > > On Mon, Apr 9, 2012 at 2:40 PM, Shantanu wrote: > > > > > On Apr 9, 4:06 pm, Jeff McCune wrote: > > > > On Mon, Apr 9, 2012 at 4:45 PM, Shantanu > wrote: > > > > > > > I am using stdlib module's va

Re: [Puppet Users] unable to validate clients.

2012-04-09 Thread Jeff McCune
On Mon, Apr 9, 2012 at 2:52 PM, Brown, Rodrick wrote: > When trying to start clients I’m seeing the following error on the > client. > > ** ** > > pr 9 17:48:28 jc1lbuildtest puppet-agent[1779]: Could not retrieve > catalog from remote server: Error 403 on SERVER: Forbidden request: > jc1l

[Puppet Users] Re: validate_re validation failures

2012-04-09 Thread Shantanu
On Apr 9, 5:37 pm, Jeff McCune wrote: > On Mon, Apr 9, 2012 at 3:23 PM, Shantanu wrote: > > > On Apr 9, 4:43 pm, Jeff McCune wrote: > > > On Mon, Apr 9, 2012 at 2:40 PM, Shantanu wrote: > > > > > On Apr 9, 4:06 pm, Jeff McCune wrote: > > > > > On Mon, Apr 9, 2012 at 4:45 PM, Shantanu > > wro

Re: [Puppet Users] Re: validate_re validation failures

2012-04-09 Thread Jeff McCune
On Mon, Apr 9, 2012 at 4:24 PM, Shantanu wrote: > This failure or rather input validation was intentional. I was testing > validate_re function usage to fail if a bad/unsupported parameter > value was passed. However initially I was seeing successful catalog > application even after getting Error

[Puppet Users] Getting Starting

2012-04-09 Thread wen1023 wu
Hi I'm very interesten in puppet.I want to know what differences between the Entrprise puppet and Community puppet . thanks! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.

Re: [Puppet Users] Getting Starting

2012-04-09 Thread Rayson Ho
see: http://puppetlabs.com/puppet/enterprise-vs-open-source/ http://puppetlabs.com/puppet/faq/ Rayson = Open Grid Scheduler / Grid Engine http://gridscheduler.sourceforge.net/ Scalable Grid Engine Support Program http://www.scalablelogic.com/ On Mon, Apr 9, 20

Re: [Puppet Users] configuration version variable?

2012-04-09 Thread John Warburton
On 7 April 2012 03:12, psychobyte wrote: > Thanks for the reply Patrick but, I should have been more specific. > > I wanted the "puppet configuration version" as in > > info: Applying configuration version '1333729957' > > So any file that gets manipulated by puppet has it in a header. > > This i