[Puppet Users] puppet modules for suse / sles !!!

2012-11-02 Thread Rakesh Kathpal
Hi, I am a sysadmin and currently evaluating puppet. I am not a programmer so generally use ready modules from Lab42 or other contributors on puppet forge / github. Currently I am looking for Apache / Mysql and Php puppet modules for SLES, I have got the modules working for rhel/ububtu and

[Puppet Users] puppet 3 + hiera + cross modules references

2012-11-02 Thread Jean Baptiste Favre
Hello, I'm trying to figure out how I can use puppet 3 hiera in an efficient way. Let's say that I've two classes: class foo ( $param ) { notify {foo: message = value is ${foo::param}} } class bar ( $param ) { notify {bar: message = value is ${bar::param}} } My hiera file looks like: ---

[Puppet Users] Puppet F5 Network device

2012-11-02 Thread Gavin Williams
Hi all I'm trying to test the F5 network device support in Puppet 3.0 However I seem to be failing at the first hurdle... I've created a device.conf file in /etc/puppet with the following content: $ cat device.conf [actint-star-f501.card.co.uk] type f5 url

[Puppet Users] Re: Apply multiple defines in sequence

2012-11-02 Thread Erwin Bogaard
As there is no response, maybe some extra info: For classes I use 'inherits' to apply multiple classes to one resource. For defines I can't find a similar technique. Is there one? On Thursday, November 1, 2012 3:30:52 PM UTC+1, Erwin Bogaard wrote: In retrospect: a better subject would have

Re: [Puppet Users] puppet modules for suse / sles !!!

2012-11-02 Thread Darin Perusich
Here's a couple types that you'll find useful. The puppet-apache-modules type provides support for adding/removing apache flags and modules on SuSE, you'll need to write an apache module but I'm sure you can merge it into other modules. Any of the puppet modules on my github have been had suse

[Puppet Users] memory constraint agent (100MB)

2012-11-02 Thread asq
hi, we're currently evaluating use of puppet agents on memory constrained agents (like hypervisors and low-end vps servers). since our upgrade to 3.0.1 they seem to consume more resources, ie. we observe nrpe timeouts on those servers while puppet agent is running. anybody has an experience on

Re: [Puppet Users] Re: Puppet 2.7 v 3.0 in the PuppetLabs yum repo

2012-11-02 Thread jcbollinger
On Thursday, November 1, 2012 4:44:46 PM UTC-5, Michael Stanhke wrote: I'm trying to close the loop on this thread. I appreciate that. Completed: * The upgrade guide has been updated to mention software pinning/freezing etc: http://docs.puppetlabs.com/guides/upgrading.html * We

Re: [Puppet Users] Does anyone know how to evaluate a node hostname in nodes.pp file?

2012-11-02 Thread jcbollinger
On Thursday, November 1, 2012 3:38:38 PM UTC-5, Ramin K wrote: On 11/1/2012 12:12 PM, romario nguyen wrote: Does any one know how to evaluate a node hostname in the nodes.pp file? for example something like this.. node 'node1.com', 'node2.com', 'node3.com' { case node.name {

[Puppet Users] Puppet 3 on OSX, using Puppet gem and running as sudo requires puppet group/user

2012-11-02 Thread JeanMertz
I'm trying to setup a Puppet script that bootstraps my development machine with some basic installs like Zsh shell, Vim, etc… I have these things working without using sudo to run puppet. However, now I need to modify /etc/shells to add the zsh shell to this list, but to edit this file, I need

[Puppet Users] Re: Apply multiple defines in sequence

2012-11-02 Thread jcbollinger
On Friday, November 2, 2012 7:14:14 AM UTC-5, Erwin Bogaard wrote: As there is no response, maybe some extra info: For classes I use 'inherits' to apply multiple classes to one resource. For defines I can't find a similar technique. Is there one? Perhaps there are no responses because

[Puppet Users] Re: Puppet Oracle Database config management

2012-11-02 Thread Gavin Williams
Afternoon all... I've started looking at coding this into our framework now, and have hit a possible stumbling block... Currently, I've got a fact that reads out the configured Oracle SIDs in /etc/oratab and sticks that into an 'oracle_sids' fact. I've also got a Property

[Puppet Users] Re: Dynamic list of files managed from hiera

2012-11-02 Thread jcbollinger
On Thursday, November 1, 2012 8:35:46 AM UTC-5, Guillem Liarte wrote: All, I use hiera in an straight way, for example: --- mode: '0644' that makes easy to do: file { somefile: mode = hiera('mode') } So far so good. But what about more complex structures? I would liek to

[Puppet Users] Really long puppet runs...

2012-11-02 Thread llowder
I've got a 3.0.0 node on Ubuntu 12.04 talking to a 2.7.19 master on Ubuntu 10.04. Until yesterday, this worked fine (and the other 3.0.0 node works fine as well) This node is in my 'test' environment and the other node uses an almost identical node def except is in the 'prod' environment. I

[Puppet Users] Re: Puppet F5 Network device

2012-11-02 Thread Gavin Williams
Hmm, not sure if this is by design, but it looks like I had to do a *'puppet agent -t'* run on the puppet master in order for *puppet device* to work... :s Also looks like the new providers etc are being downloaded by every single client. Is this really necessary for something that's only

[Puppet Users] Re: Really long puppet runs...

2012-11-02 Thread llowder
Turns out it was a stray recurse = true On Friday, November 2, 2012 9:56:40 AM UTC-5, llowder wrote: I've got a 3.0.0 node on Ubuntu 12.04 talking to a 2.7.19 master on Ubuntu 10.04. Until yesterday, this worked fine (and the other 3.0.0 node works fine as well) This node is in my 'test'

[Puppet Users] Re: Really long puppet runs...

2012-11-02 Thread Paul Tötterman
I've got a 3.0.0 node on Ubuntu 12.04 talking to a 2.7.19 master on Ubuntu 10.04. Stop. That is not supported. Master must be newer or equal to client. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view this discussion on the web

Re: [Puppet Users] Spec test failure

2012-11-02 Thread Justin Lambert
Jeff, Thanks for your response. It is possible, but I'm not sure. Would uploading some sample modules that show the breakage help? Thanks, jl On Oct 31, 2012, at 3:37 PM, Jeff McCune j...@puppetlabs.com wrote: I'm not entirely certain, but do you think this could be a variant of this

[Puppet Users] Re: puppet 3 + hiera + cross modules references

2012-11-02 Thread jcbollinger
On Friday, November 2, 2012 5:42:24 AM UTC-5, JB wrote: Hello, I'm trying to figure out how I can use puppet 3 hiera in an efficient way. Let's say that I've two classes: class foo ( $param ) { notify {foo: message = value is ${foo::param}} } class bar ( $param ) {

[Puppet Users] Re: case statement exec

2012-11-02 Thread jcbollinger
On Wednesday, October 31, 2012 7:53:21 AM UTC-5, Trammael wrote: Hello, I'm trying to send parameters to an Exec (exec1) based on values, using a case statement. I've tried putting the two versions of the exec in a case block, which failed (exec1 is a dependency of exec2, and exec2

Re: [Puppet Users] Re: Puppet F5 Network device

2012-11-02 Thread Nan Liu
On Fri, Nov 2, 2012 at 8:19 AM, Gavin Williams fatmc...@gmail.com wrote: Hmm, not sure if this is by design, but it looks like I had to do a 'puppet agent -t' run on the puppet master in order for puppet device to work... :s I think this is related to:

Re: [Puppet Users] Re: Really long puppet runs...

2012-11-02 Thread Nikola Petrov
Is there any particular reason that you are using an older master than the client. If not now it will pop up as a problem in the future. Why don't you just make the move? Best, Nikola On Fri, Nov 02, 2012 at 08:28:12AM -0700, llowder wrote: Turns out it was a stray recurse = true On Friday,

Re: [Puppet Users] Re: Really long puppet runs...

2012-11-02 Thread llowder
On Friday, November 2, 2012 1:10:37 PM UTC-5, nikolavp wrote: Is there any particular reason that you are using an older master than the client. If not now it will pop up as a problem in the future. Why don't you just make the move? 2 of my nodes got provisioned wrong. I am ready to

[Puppet Users] mco status returns different number of hosts each time I run it

2012-11-02 Thread Bill James
trying to use mco to run commands on hosts I don't get the full list of hosts. Doing a command like mco puppetd --with-fact domain=test.j2noc.com status returns a different number of hosts each time. How do I get it to use the full list? [root@billcent6 httpd]# mco puppetd --with-fact

Re: [Puppet Users] mco status returns different number of hosts each time I run it

2012-11-02 Thread R.I.Pienaar
- Original Message - From: Bill James billjam...@gmail.com To: puppet-users@googlegroups.com Sent: Friday, November 2, 2012 6:07:00 PM Subject: [Puppet Users] mco status returns different number of hosts each time I run it trying to use mco to run commands on hosts I don't get

Re: [Puppet Users] multiple puppetmasters, single ca

2012-11-02 Thread ryan wallner
Jeff, I wound up not having SSLProxyEngine On specified in my vhost. I made the additional change to http to https in the load balancer and this worked as well. Though, now I am having trouble getting the actual certificate from the CA, I can see the agent send the REST call to GET

[Puppet Users] Re: Dynamic list of files managed from hiera

2012-11-02 Thread Ellison Marks
You also might look at R.I.P's blog posts on the subject. They don't have info on the 3.0 behavior, of course, but they were enormously useful to me when I was first trying to understand the system. http://www.devco.net/archives/2011/06/05/hiera_a_pluggable_hierarchical_data_store.php

[Puppet Users] Re: Certificate verify failed when syncing to self

2012-11-02 Thread hasufel
I'm having this issue, too. On Tuesday, July 10, 2012 3:04:24 PM UTC-4, llowder wrote: I am using puppet to control my master, but currently when the agent runs (on the master) I am getting err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read

[Puppet Users] Re: Apply multiple defines in sequence

2012-11-02 Thread Erwin Bogaard
Thanks for your reply. Let me clarify things a little more. I use the following class to apply to a certain node: class sugar::instances { sugar::definitions_sugar { # SugarCRM - ECM2 'node1': mysql_dbname = 'dbname1', mysql_pwd= 'password1';

Re: [Puppet Users] Certificate verify failed when syncing to self

2012-11-02 Thread Jeff McCune
On Friday, November 2, 2012, hasufel wrote: I'm having this issue, too. What version of Puppet? Is the master using a different confdir than it was in a previous version? The semantics of the default confdir have changed as of 3.0. -Jeff -- You received this message because you are

Re: [Puppet Users] multiple puppetmasters, single ca

2012-11-02 Thread Jeff McCune
On Friday, November 2, 2012, ryan wallner wrote: Jeff, I wound up not having SSLProxyEngine On specified in my vhost. I made the additional change to http to https in the load balancer and this worked as well. Though, now I am having trouble getting the actual certificate from the CA, I

Re: [Puppet Users] Certificate verify failed when syncing to self

2012-11-02 Thread hasufel
I'm using Puppet 2.7.14, on a CentOS 6.3 VM. I'm using the VM for both the master and agent, and I was able to get things running using puppet apply site.pp, but I can't get things running with puppet agent --test; it gives me the following errors: err: Could not retrieve catalog from remote

Re: [Puppet Users] Certificate verify failed when syncing to self

2012-11-02 Thread hasufel
I've tried clearing out the SSL directory and cleaning the certificates, but it's still giving me the same errors. On Friday, November 2, 2012 5:22:58 PM UTC-4, hasufel wrote: I'm using Puppet 2.7.14, on a CentOS 6.3 VM. I'm using the VM for both the master and agent, and I was able to get

[Puppet Users] Re: Apply multiple defines in sequence

2012-11-02 Thread jcbollinger
On Friday, November 2, 2012 2:54:11 PM UTC-5, Erwin Bogaard wrote: Thanks for your reply. Let me clarify things a little more. I use the following class to apply to a certain node: class sugar::instances { sugar::definitions_sugar { # SugarCRM - ECM2 'node1':

Re: [Puppet Users] Spec test failure

2012-11-02 Thread Jeff McCune
On Friday, November 2, 2012, Justin Lambert wrote: Jeff, Thanks for your response. It is possible, but I'm not sure. Would uploading some sample modules that show the breakage help? Yes, if you publish modules that trigger the issue I'll definitely make an effort to reproduce the problem

Re: [Puppet Users] in-module data with hiera

2012-11-02 Thread Eric Sorenson
Hi, I'm catching up on a backlog of tickets and wondered if any of the folks who'd expressed interest in this change have had the opportunity to try it out from RI's branch: https://github.com/ripienaar/puppet/tree/feature/master/16856 If you have, can you please put your feedback in the

Re: [Puppet Users] Can we monitor the bandwidth utilization of a vm (agent) or can i get the last login time of a agent using puppet

2012-11-02 Thread Jeff McCune
On Thursday, November 1, 2012, SRIRAAM DHILIBAN wrote: Can we monitor the bandwidth utilization of a vm (agent) or can i get the last login time of a agent using puppet Puppet does not provide this information without being extended. Luckily, there are lots of extension points in Puppet.

Re: [Puppet Users] Certificate verify failed when syncing to self

2012-11-02 Thread Jeff McCune
On Fri, Nov 2, 2012 at 2:24 PM, hasufel mever...@hammers.com wrote: I've tried clearing out the SSL directory and cleaning the certificates, but it's still giving me the same errors. How is the master process being started? Could you paste the exact command with the complete argument vector

Re: [Puppet Users] Certificate verify failed when syncing to self

2012-11-02 Thread hasufel
To properly reply to you, I killed my puppet process, and restarted it, and somehow everything started working correctly with puppet agent --test, from the master VM. However, the agent VM is still giving the same error, so I guess it's possible it's now just a time issue. The master process

[Puppet Users] Overriding settings from puppetlabs-apache

2012-11-02 Thread Jared Curtis
I've been using the puppetlabs-apache module and I find it very complete and useful. But I ran into an issue today. I have a new system that's running a customized version of Redhat and a using custom RPM of Apache. I need to override the settings held in apache::params, to adjust some paths

Re: [Puppet Users] Console color in 3.0.1

2012-11-02 Thread thinkwell
I'm not a ruby programmer and the puppet internals will remain a wilderness to me for the near future. So I'll have to content myself with watching the ticket and waiting for the final solution. Thanks alot for your ideas, though. On Wednesday, October 31, 2012 7:45:54 PM UTC-4, Jeff McCune