Re: [Puppet Users] Re: Puppet version 2.7 or 3?

2012-11-16 Thread Thomas Bendler
Hi Ohad, 2012/11/16 Ohad Levy ohadl...@gmail.com [...] For the record, Puppet 3 support was added to foreman a couple of days ago. [...] do you know when the puppet 3 support will be available in the test RPMs? I've updated to the current test RPMs yesterday but still had to patch some

[Puppet Users] Re: Puppet version 2.7 or 3?

2012-11-16 Thread vioilly
Thanks for the info. I'm going to give 3.0.1 a go. That fact about the performance improvement is the killer. Worth a few rough edges. Oli -- On Thursday, November 15, 2012 2:56:41 PM UTC, llowder wrote: On Thursday, November 15, 2012 8:47:29 AM UTC-6, vioilly wrote: Hi, I am just

[Puppet Users] Params classes and best practices

2012-11-16 Thread Walter Heck - OlinData.com
Hi all, I've been wondering what is considered best practice when it comes to $module_name::params classes? I see for instance the latest versions of the apache and mysql modules from puppetlabs use static variables which cannot be overridden:

Re: [Puppet Users] Getting Started with Hiera

2012-11-16 Thread Martin Alfke
Hi, On 15.11.2012, at 19:20, Worker Bee wrote: Hi Everyone; Can anyone direct me towards documentation on getting started with Hiera? SPecifically, I ma looking for an easy way to verify post-install functionality. I did visit the following page which is is blank...

Re: [Puppet Users] Re: Pass Array as param to custom provider...

2012-11-16 Thread Gavin Williams
Ok, after a considerable amount of reading, and some expermentation, I think I've got a working netapp_volume type/provider which can handle setting volume options! :D Have branched the code to play with, so it's available here:

Re: [Puppet Users] Re: Pass Array as param to custom provider...

2012-11-16 Thread Gavin Williams
Ok, think I've kinda answered my own question... Added some additional logging to *insync?*, and spotted a flaw in my * 'options'* logic. I was stripping matching values at that level, rather than letting *insync *take care of that. So tweaked the *option* as follows: ---

[Puppet Users] puppet dashboard

2012-11-16 Thread vioilly
Hi, Can I have multiple puppet masters speaking to 1 puppet dashboard? Cheers, Oli -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/UXpL5_Vk4vcJ. To post to

Re: [Puppet Users] puppet verion 2.7 or 3?

2012-11-16 Thread vioilly
That's a another reason for me to go toward 3.0.1. I assume it is a stable release? On Thursday, November 15, 2012 4:28:03 PM UTC, Jeff McCune wrote: On Thu, Nov 15, 2012 at 9:45 AM, vioilly olive...@gmail.com javascript: wrote: Hi, I am just rolling out a new puppet deployment.

[Puppet Users] Re: puppet dashboard

2012-11-16 Thread llowder
On Friday, November 16, 2012 6:10:33 AM UTC-6, vioilly wrote: Hi, Can I have multiple puppet masters speaking to 1 puppet dashboard? I don't see why not, just need to configure each one to send the reports. If you are using the inventory service or the ENC it might get a little

[Puppet Users] Re: Params classes and best practices

2012-11-16 Thread jcbollinger
On Friday, November 16, 2012 4:12:13 AM UTC-6, Walter Heck - OlinData.com wrote: Hi all, I've been wondering what is considered best practice when it comes to $module_name::params classes? I see for instance the latest versions of the apache and mysql modules from puppetlabs use static

Re: [Puppet Users] Puppet run failing

2012-11-16 Thread Pradeep Chhetri
I am using puppet-2.6.6-3.2 version. $ rpm -qa | grep puppet puppet-2.6.6-3.2.amzn1.x86_64 puppet-server-2.6.6-3.2.amzn1.x86_64 On Fri, Nov 16, 2012 at 2:20 AM, Jeff McCune j...@puppetlabs.com wrote: What version of Puppet? The puppetca command is pretty old. -Jeff On Thu, Nov 15, 2012

[Puppet Users] Re: Dynamic Collection?

2012-11-16 Thread jcbollinger
On Thursday, November 15, 2012 6:01:24 PM UTC-6, Rajul Vora wrote: I want to do something like this: class foo ( $collection ) { User | $collection | } where $collection would be a string like group == admin or group == powerusers Doesn't work. Is there an alternative way to do

Re: [Puppet Users] Re: Initial run problems

2012-11-16 Thread jcbollinger
On Thursday, November 15, 2012 3:04:57 PM UTC-6, Bret Wortman wrote: Nope. Same outcome. Numerous No child processes errors. I'm not up to performing a code dive at the moment to find out where those messages may be emitted, but that might be useful information to have. It might also be

[Puppet Users] delete a file created with puppet

2012-11-16 Thread Alex Stanhope
I'd like to create a file, use it in a number of other puppetted processes, then clean it up. I can create it: file { 'bash-agent-key' : path = /home/${user}/.bash_keyautoload.tmp, content = template('ssh_agent_add/bash_keyautoload.erb'), mode = 0700, owner = $user, group

[Puppet Users] Scope object available functions and getting the local scope, or node scope variable values

2012-11-16 Thread Jayapandian Ponraj
Is there a way to get the local scope values of puppet variables via scope.? wat r all the available functions in scope? can anyone provide a working example. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view this discussion on the

[Puppet Users] Re: new puppet client not updating

2012-11-16 Thread jcbollinger
On Thursday, November 15, 2012 7:55:33 PM UTC-6, JGonza1 wrote: I do see the that the client server pdlnx-pntp02.kareoprod.ent does have a certificate on the master under the directory /etc/puppet/ssl/ca/signed. Also the the puppet master I do not have auto-signing turned on. I have to

[Puppet Users] Re: puppet dashboard

2012-11-16 Thread John Dixon
If you are using the inventory service or the ENC it might get a little complicated but from what I have seen it shouldn't be too bad. Just as a disclaimer, I only run with one master, so I could be rather off base here. Cheers, Oli We use one dashboard and have 3 masters, one

Re: [Puppet Users] Re: Initial run problems

2012-11-16 Thread Bret Wortman
I'm absolutely ready for this to be something I've not done properly during the kickstart process. I'm just getting started with these tools, so that's definitely a strong probability. I'll do this again shortly with strace and see what it reveals. -- You received this message because you are

Re: [Puppet Users] Sending output to debug level log from custom parser function

2012-11-16 Thread Abhijeet R
Thanks. That worked. :) On Wed 14 Nov 2012 10:11:10 PM IST, Jeff McCune wrote: On Wed, Nov 14, 2012 at 4:29 AM, Abhijeet R abhijeet.1...@gmail.com wrote: Hi, I created a custom function by reading the doc from here http://docs.puppetlabs.com/guides/custom_functions.html It's a function to

Re: [Puppet Users] Puppet run failing

2012-11-16 Thread Jeff McCune
On Fri, Nov 16, 2012 at 9:17 AM, Pradeep Chhetri pradeep.chhetr...@gmail.com wrote: I am using puppet-2.6.6-3.2 version. $ rpm -qa | grep puppet puppet-2.6.6-3.2.amzn1.x86_64 puppet-server-2.6.6-3.2.amzn1.x86_64 Do you still have the problem with 2.7.20 or 3.0.1 ? Puppet 2.6 is quite old at

[Puppet Users] OSX 10.8 - Puppet 3.0.1 fails to start as root

2012-11-16 Thread Trey Ormsbee
Im new to puppet on mac, so i might be doing something wrong... However, I cannot get puppet to run as the root user. I get messages regarding not being able to create the required directories. Here is the debug/trace outbput that I am getting: Debug:

[Puppet Users] Re: new puppet client not updating

2012-11-16 Thread jcbollinger
On Friday, November 16, 2012 9:05:38 AM UTC-6, jcbollinger wrote: [...] If the master does load the node block but does not match it to your node, then either the node's certname is not what you think it is, or [...]. One notable possibility along those lines is if your new nodes' ideas

[Puppet Users] Fwd: Call for talks: Configuration/Systems Management DevRoom at FOSDEM 2013

2012-11-16 Thread Dawn Foster
We posted this to the FOSDEM mailing lists, but I wanted to cross post it here to encourage all of you to submit config/systems mgmt or DevOps talks for FOSDEM. Or you might just want to save the date on your calendar to attend the Configuration/Systems Management DevRoom on Saturday, February 2,

[Puppet Users] Re: Dynamic Collection?

2012-11-16 Thread Rajul Vora
Thanks for the effort in explaining these alternatives. I apologize I didn't do justice to explaining the bigger picture in the first place. So here it goes: Goal: Use hiera to provision different groups of users in different environments. Approach: First create virtual users from hiera that

[Puppet Users] Re: delete a file created with puppet

2012-11-16 Thread Ellison Marks
You're trying something that's essentially timing based in puppet, which is more state based. You can't really tell puppet that a file should exist and not exist in the same run. Could you give some more info on what you're trying to accomplish with this? That way we might offer some ideas to

[Puppet Users] Sending debug messages from manifests

2012-11-16 Thread Abhijeet R
Hi, I created a custom function named debug_msg() which could used to send different kind of debug messages straight from the manifest. It can be used something like: debug_msg(notice,NOTICE message) debug_msg(debug, Send as a debug message) More information can be found here:

[Puppet Users] Re: delete a file created with puppet

2012-11-16 Thread Alex Stanhope
On Friday, November 16, 2012 5:11:22 PM UTC, Ellison Marks wrote: Could you give some more info on what you're trying to accomplish with this? That way we might offer some ideas to help. Of course. I use a temporary file to store a private key passphrase. That passphrase is used to allow

[Puppet Users] Re: OSX 10.8 - Puppet 3.0.1 fails to start as root

2012-11-16 Thread Ellison Marks
Isn't the root account disabled by default on OSX? If you haven't explicitly enabled it, that might be the problem... On Friday, November 16, 2012 7:51:38 AM UTC-8, Trey Ormsbee wrote: Im new to puppet on mac, so i might be doing something wrong... However, I cannot get puppet to run as

Re: [Puppet Users] Getting Started with Hiera

2012-11-16 Thread Rajul Vora
http://docs.puppetlabs.com/hiera/1/index.html is the only document I could find and some of the pages are empty or light on content. I also did git clone of the hiera project from github to read some of the docs / code / examples there. Also, the Puppet function reference has no documentation

[Puppet Users] Re: Sending debug messages from manifests

2012-11-16 Thread Abhijeet R
Sorry, the code for the custom function is: Puppet::Parser::Functions::newfunction(:debug_msg, :type = :statement, :doc = Send messages to a particular debug level ) do |vals| $level, $code_to_execute = vals $possible_levels = [debug,info,notice,warning,err,alert,emerg,crit] if

[Puppet Users] Re: Sending debug messages from manifests

2012-11-16 Thread Rajul Vora
Aren't all of these functions already available? http://docs.puppetlabs.com/references/latest/function.html Rajul On Friday, November 16, 2012 9:22:57 AM UTC-8, Abhijeet Rastogi wrote: Sorry, the code for the custom function is: Puppet::Parser::Functions::newfunction(:debug_msg, :type =

Re: [Puppet Users] Re: puppet dashboard

2012-11-16 Thread Oliver Leach
This sounds like what I want. I have different production networks and I was hoping I could have one master looking after each production network and all masters using the 1 dashboard. Each of the masters could be their own ca for their respective production networks which could work well. How

Re: [Puppet Users] Re: Sending debug messages from manifests

2012-11-16 Thread Abhijeet R
Oh, for some reason, I missed that. They are already available. I am new to puppet. I should really read all the reference before doing things myself. Sorry for the trouble guys. I wish I could delete the irrelevant post but this is a ML. :( On Fri 16 Nov 2012 11:06:49 PM IST, Rajul Vora

Re: [Puppet Users] Re: Initial run problems

2012-11-16 Thread Bret Wortman
On Friday, November 16, 2012 9:47:28 AM UTC-5, jcbollinger wrote: On Thursday, November 15, 2012 3:04:57 PM UTC-6, Bret Wortman wrote: Nope. Same outcome. Numerous No child processes errors. I'm not up to performing a code dive at the moment to find out where those messages may be

[Puppet Users] Re: Puppet dashboard over passenger: The environment must be purely alphanumeric, not ''

2012-11-16 Thread Andrew Gooding
This is the config.ru file that I have inside the folder /usr/share/puppet-dashboard : # a config.ru, for use with every rack-compatible webserver. # SSL needs to be handled outside this, though. # if puppet is not in your RUBYLIB: # $LOAD_PATH.unshift('/opt/puppet/lib') $0 = master # if you

Re: [Puppet Users] Re: Initial run problems

2012-11-16 Thread jcbollinger
On Friday, November 16, 2012 11:44:38 AM UTC-6, Bret Wortman wrote: On Friday, November 16, 2012 9:47:28 AM UTC-5, jcbollinger wrote: On Thursday, November 15, 2012 3:04:57 PM UTC-6, Bret Wortman wrote: Nope. Same outcome. Numerous No child processes errors. I'm not up to performing a

[Puppet Users] Re: delete a file created with puppet

2012-11-16 Thread jcbollinger
On Friday, November 16, 2012 11:17:23 AM UTC-6, Alex Stanhope wrote: On Friday, November 16, 2012 5:11:22 PM UTC, Ellison Marks wrote: Could you give some more info on what you're trying to accomplish with this? That way we might offer some ideas to help. Of course. I use a temporary

[Puppet Users] Re: Dynamic Collection?

2012-11-16 Thread Rajul Vora
Yes, I was actually thinking of doing that after I sent my reply to you - based on your mymodule::usergroup defined resource idea. Thanks for confirming that idea. I'll implement it and it will work for what I am trying to do. Simple is better. Rajul On Friday, November 16, 2012 11:16:36 AM

Re: [Puppet Users] OSX 10.8 - Puppet 3.0.1 fails to start as root

2012-11-16 Thread Josh Cooper
Hi Trey, On Fri, Nov 16, 2012 at 7:51 AM, Trey Ormsbee treyorms...@gmail.com wrote: Im new to puppet on mac, so i might be doing something wrong... However, I cannot get puppet to run as the root user. I get messages regarding not being able to create the required directories. Here is the

[Puppet Users] Missing Dependency: libselinux-ruby is needed by package puppet-3.0.1-1.el5.noarch (puppetlabs-products)

2012-11-16 Thread Nishant Jain
Hello Everybody, I am trying to install puppet on Red Hat Enterprise Linux Server release 5.8 Beta (Tikanga) I have installed the following rpms sudo rpm -ivh http://yum.puppetlabs.com/el/5/products/i386/puppetlabs-release-5-6.noarch.rpm I am getting the following

[Puppet Users] DevOps and Ruby ... a CFP

2012-11-16 Thread pat eyler
MountainWest RubyConf is in it's 6th year as a leading regional Ruby conference, and this year we're spreading out a little by adding a full day of DevOps goodness to an already awesome program. If you're interested in Ruby and/or DevOps (and as Puppet folks, why wouldn't you be?) this is the

Re: [Puppet Users] Missing Dependency: libselinux-ruby is needed by package puppet-3.0.1-1.el5.noarch (puppetlabs-products)

2012-11-16 Thread Matthaus Owens
libselinux-ruby is in base on EL 5. Do you have the base OS repos enabled? On Fri, Nov 16, 2012 at 12:15 PM, Nishant Jain nishant.cit...@gmail.comwrote: Hello Everybody, I am trying to install puppet on Red Hat Enterprise Linux Server release 5.8 Beta (Tikanga) I

Re: [Puppet Users] Missing Dependency: libselinux-ruby is needed by package puppet-3.0.1-1.el5.noarch (puppetlabs-products)

2012-11-16 Thread Nishant Jain
Hello Matthaus, I have got following on my os rpm -qa | grep libselinux libselinux-1.33.4-5.7.el5 libselinux-1.33.4-5.7.el5 libselinux-utils-1.33.4-5.7.el5 libselinux-python-1.33.4-5.7.el5 It's still giving me the above error. On Friday, November 16, 2012 3:40:47 PM

[Puppet Users] Load Balance Puppet 3 masters with PuppetDB backend

2012-11-16 Thread Felipe Salum
Hi there. I'm setting up a Puppet 3 + PuppetDB environment with the following architecture: 2 x puppetmaster/passenger with apache using Proxy Balance 1 x puppetdb Following the Pro Puppet book, I set Apache on both puppetmasters to proxy the CA requests to just 1 puppetmaster server, and

Re: [Puppet Users] Missing Dependency: libselinux-ruby is needed by package puppet-3.0.1-1.el5.noarch (puppetlabs-products)

2012-11-16 Thread Matthaus Owens
What is the output of `yum repolist` ? libselinux-ruby is in the base OS repo for rhel/centos, so the most likely reason it wouldn't be available to yum would be if the base OS repo weren't available/enabled. On Fri, Nov 16, 2012 at 1:02 PM, Nishant Jain nishant.cit...@gmail.comwrote: Hello

Re: [Puppet Users] Missing Dependency: libselinux-ruby is needed by package puppet-3.0.1-1.el5.noarch (puppetlabs-products)

2012-11-16 Thread Nishant Jain
Sorry for the post. Seems like the VM is not subscribed to the RHN , so it was not able to get the package from the Red Hat Repository. Thanks for the reply, Nishant On Friday, November 16, 2012 4:55:43 PM UTC-5, Matthaus Litteken wrote: What is the output of `yum repolist` ?

Re: [Puppet Users] Missing Dependency: libselinux-ruby is needed by package puppet-3.0.1-1.el5.noarch (puppetlabs-products)

2012-11-16 Thread Matthaus Owens
CentOS has the packages at http://mirror.centos.org/centos/5/os/x86_64/CentOS/libselinux-ruby-1.33.4-5.7.el5.x86_64.rpmand http://mirror.centos.org/centos/5/os/i386/CentOS/libselinux-ruby-1.33.4-5.7.el5.i386.rpm On Fri, Nov 16, 2012 at 1:57 PM, Nishant Jain nishant.cit...@gmail.comwrote: Sorry

[Puppet Users] migrating puppetmasters the console database (puppet enterprise)

2012-11-16 Thread Mike Skint
Hi group, I'm in the process of migrating a puppetmaster to a new host, and didn't want to have to manually add in my classes and group configs in the console. So I was looking into the console db, and it appears to hold all the info on nodes classes and groups. So my question is this: Is it

[Puppet Users] Issue with service = disabled and stopped

2012-11-16 Thread Forrie
I have a simple manifest that I'm using to keep unwanted services from running on an array of Linux systems. On my test host, I see these two services repeatedly come up in the puppet.log, even tho they are not running and are chkconfig set to off: service { cups: enable

RE: [Puppet Users] Issue with service = disabled and stopped

2012-11-16 Thread Steven Nemetz
If it is happening every time, it is usually an issue with init script. Puppet is not understanding the output of the init script, so it is not saving the correct state.Run the init script manually and see what it is returning. If it is not obvious, run puppet with --debug and see the exact

RE: [Puppet Users] Creating files from array?

2012-11-16 Thread Steven Nemetz
Change your yaml file to: files: - a - b - c Then puppet will read it in as an array. Pass the array to a define and the define will run once for each element of the array Steven Date: Sat, 17 Nov 2012 03:27:20 +0100 From: jso...@srce.hr To: puppet-users@googlegroups.com Subject:

Re: [Puppet Users] Re: puppet failing to run

2012-11-16 Thread Asif Iqbal
On Wed, Nov 14, 2012 at 6:18 PM, Jeff McCune j...@puppetlabs.com wrote: On Fri, Nov 9, 2012 at 12:11 AM, Asif Iqbal vad...@gmail.com wrote: Here is another simple one # puppet apply --trace --evaltrace -e 'user {dummy: ensure = present}' http://paste.ubuntu.com/1344435/ These

[Puppet Users] Re: OSX 10.8 - Puppet 3.0.1 fails to start as root

2012-11-16 Thread Trey Ormsbee
Hmm... it's enabled on mine, this is an upgrade from 10.7 if that matters. On Friday, November 16, 2012 11:18:03 AM UTC-6, Ellison Marks wrote: Isn't the root account disabled by default on OSX? If you haven't explicitly enabled it, that might be the problem... On Friday, November 16,

Re: [Puppet Users] OSX 10.8 - Puppet 3.0.1 fails to start as root

2012-11-16 Thread Trey Ormsbee
Sounds good, I will give that a go sometime this weekend and let you know. Thanks, Trey On Friday, November 16, 2012 1:29:30 PM UTC-6, Josh Cooper wrote: Hi Trey, On Fri, Nov 16, 2012 at 7:51 AM, Trey Ormsbee treyo...@gmail.comjavascript: wrote: Im new to puppet on mac, so i might

[Puppet Users] Re: OSX 10.8 - Puppet 3.0.1 fails to start as root

2012-11-16 Thread Trey Ormsbee
Looks like that worked, I pulled down the commit listed in the bug report installed it an all is good. I'll keep an eye for the official release of 3.0.2 Thank you! -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view this discussion on