[Puppet Users] Puppet Enterprise HA Setup Error Free trial version

2014-02-20 Thread Anshul Tripathi
Hi I am trying to setup puppet enterprise(10 node free trial) HA. My environment- 1 CA server(centos 6.2) 1 master server 1 DB 1 client CA server is also the load balancer . Load balancer is configured using HA proxy. First time during certificate signing there is no error but when I am trying

[Puppet Users] Puppet client removing yum / rpm cache?

2014-02-20 Thread Christopher Opena
Howdy folks, I've got some weird behavior from one of my puppet clients (actually the client running on the puppet master), where running the agent somehow destroys either the yum cache or the rpm db. Directly after running the agent I get the following message from yum (without modifying yum.

[Puppet Users] Puppet apply hangs when trying to use puppet.conf manifest attribute

2014-02-20 Thread Alan Castro
Hi, I've been trying to use puppet apply with no manifest argument, so that it uses the manifest defined on my environment in my puppet.conf. For my suprise, it didn't work. I simply don't understand why the modulepath works and the manifest doesn't.. Well, on my research I found this issue:

[Puppet Users] Patch management in Puppet Open Source

2014-02-20 Thread WL
Hi all, I am very new to Puppet and was wondering how to setup patch management in puppet open source? Wendy -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to p

[Puppet Users] Announce: Hiera 1.3.2-rc2 Now Available

2014-02-20 Thread Melissa Stone
**Release Candidate** Hiera 1.3.2-rc2 --- Pre-release: Hiera 1.3.2 is not yet released. - RC2: February 20, 2014 - RC1: February 11, 2014 Hiera 1.3.2-rc2 Downloads -- Source: https://downloads.puppetlabs.com/hiera/

[Puppet Users] Style and Formatting Best Practice

2014-02-20 Thread Charles McLaughlin
Hello, I'm trying to develop Puppet style guidelines at my job and would like some feedback and opinions on a few patterns. Example 1 - notice the difference in ")" indention (often we have many parameters, which is why we're in the habit of listening them on a separate) class foo { $param

[Puppet Users] Getting rid of YAML?

2014-02-20 Thread JonY
Looks like my server updated to 3.4.2. Since then I've started seeing these occasional messages like: Feb 20 14:19:05 puppet-master[5626]: YAML in network requests is deprecated and will be removed in a future version. See http://links.puppetlabs.com/deprecate_yaml_on_network Feb 20 14:19:05 p

Re: [Puppet Users] apache / passenger how do you update puppet on the server in EL6.4?

2014-02-20 Thread jmp242
It was running 3.2.x and once upgraded we have restarted apache. On Thursday, February 20, 2014 3:00:31 PM UTC-5, Mike Delaney wrote: > > Was your Puppet Master previously running an older version of Puppet as > well? If so, has Apache been restarted since you upgraded the RPM? > > > On Tue, Feb

Re: [Puppet Users] apache / passenger how do you update puppet on the server in EL6.4?

2014-02-20 Thread Mike Delaney
Was your Puppet Master previously running an older version of Puppet as well? If so, has Apache been restarted since you upgraded the RPM? On Tue, Feb 18, 2014 at 11:32 AM, jmp242 wrote: > I've got a working puppet on apache / passenger on EL6.4. However, ever > since updating the puppet client

[Puppet Users] Windows client - mcollective:- incompatible marshal file format (can't be read) error in mcollective.log

2014-02-20 Thread Pradeep Reddy
Hi Team, We are trying to install mcollective in windows, observing errors in mcollective.log. Following are the steps followed to install mcollective in windows. 1) OS:- windows server 2008 R2 64 bit. 2) Installed windows puppet agent 3.4.2. Puppet Master is in Linux box(i.e RHEL 6.4 64 b

[Puppet Users] Register gce instance with puppet agent to puppet master

2014-02-20 Thread michael . obrien
Is it possible to start up a google compute engine (gce) instance with a static IP address but without a FQDN and get it to register with a puppet master? I've installed puppet (agent) from puppetlabs repo and the service is ensured and running using the command puppet resource service puppet

[Puppet Users] Re: Getting augeas working on sles 11.2/3

2014-02-20 Thread David Lutterkort
On Friday, February 14, 2014 1:50:27 AM UTC-8, Michael Wörz wrote: > > > did anyone get augeas working on current SLES releases without messing up > the system. > What i find on OBS brings a lot of dependencys and conflicts. >its jus one small ruby binding to libaugeas - shouldn't be to hard g

[Puppet Users] Re: Facter errors with InfiniBand and VDSM

2014-02-20 Thread Jon Forrest
On Sunday, February 9, 2014 1:34:57 PM UTC-8, treydock wrote: > > After some debugging it seems it's the ";vdsmdummy;" interface that's > causing both problems. I have a host with Infiniband, and the same version > of Puppet and Facter, that has no errors running facter. My guess is when > i

[Puppet Users] Re: Combining stages with hiera

2014-02-20 Thread jcbollinger
On Wednesday, February 19, 2014 2:23:58 PM UTC-6, Jordan Wright wrote: > > > I guess I should explain my situation a bit. > The bottom line seems to be that the systems being configured are intended to have exactly one local account in their final state, with autologon enabled on that account

[Puppet Users] Get subdirectories by fact

2014-02-20 Thread Daniel K.
Hello everyone, i am trying to write my first custom fact but i don't know how. I didn't find any good instructions or list of functions i can use. What i want to do is the following: On our machines we have the directory "/work", There is a list of all possible subdirectories, but no machine

[Puppet Users] Best practices: client/server VS Git

2014-02-20 Thread Julien Deloubes
Hello there, i'm actually learning Puppet in order to pass the exam. I have no professional experience on the product yet, and wanting some feedback from you professional devops. For the moment i see 2 ways for Puppet to synchronize nodes: -Puppet client/server way with a puppetmaster node -Decent

Re: [Puppet Users] Hash iteration order in a template not consistent

2014-02-20 Thread jcbollinger
On Wednesday, February 19, 2014 1:47:35 PM UTC-6, Andre Nathan wrote: > > Hello > > Sorry to ressurect this old thread, but I've just found this issue > upgrading from Puppet 2.7.x to Puppet 3. It's true that ruby 1.8 hash order > cannot be relied on, but it should always be the same, right? I

[Puppet Users] Re: connecting puppet master and agent

2014-02-20 Thread jcbollinger
On Wednesday, February 19, 2014 11:48:18 AM UTC-6, krishna chaitanya kurnala wrote: > > Error: Could not request certificate: Connection refused - connect(2) > > It looks like the firewall on your master is blocking the agent's connections to Puppet's service port. See http://docs.puppetlabs.c

Re: [Puppet Users] Sending Mail from puppet master !!!

2014-02-20 Thread Rakesh Kathpal
Looks good.. Tks a lot Johan & Martin.. On Thu, Feb 20, 2014 at 3:13 PM, Martin Alfke wrote: > Hi, > On 20 Feb 2014, at 10:21, Rakesh Kathpal wrote: > > > Johan, > > > > Thanks for your reply. > > > > I had tried to explore this option but it seems, the report/output that > is generated is on

[Puppet Users] Re: how to require a md5sum before installing?

2014-02-20 Thread Rafael Cristaldo
Hi Andy.. Tell me more about your goal! What you really need!? Are your client Windows or Linux ? 2014-02-19 14:32 GMT-03:00 Andy Spiegl : > Hi Rafael, > > > http://forge.puppetlabs.com/gini/archive > Thanks, I'll try that! Sounds promising. > Now I only have to find a way to securely get m

Re: [Puppet Users] Sending Mail from puppet master !!!

2014-02-20 Thread Martin Alfke
Hi, On 20 Feb 2014, at 10:21, Rakesh Kathpal wrote: > Johan, > > Thanks for your reply. > > I had tried to explore this option but it seems, the report/output that is > generated is only related and limited to the puppet run. Even for the script > / command that I will be running via puppet,

Re: [Puppet Users] Sending Mail from puppet master !!!

2014-02-20 Thread Johan De Wit
Hi Rakesh, I was afraid of that :) Have you looked at the exec attribute - **logoutput** Whether to log command output in addition to logging the exit code. Defaults to `on_failure`, which only logs the output when the command has an exit code that does not match any value spec

Re: [Puppet Users] Sending Mail from puppet master !!!

2014-02-20 Thread Rakesh Kathpal
Johan, Thanks for your reply. I had tried to explore this option but it seems, the report/output that is generated is only related and limited to the puppet run. Even for the script / command that I will be running via puppet, the report just contains whether it was successfully executed or not,

Re: [Puppet Users] Sending Mail from puppet master !!!

2014-02-20 Thread Johan De Wit
Hi, http://docs.puppetlabs.com/references/latest/report.html#tagmail If you can get the output in execution report on your node, you could use the tagmail configuration on the master to send email to the right resource. That's the first place I would look at for a possible solution Grts Jo

Re: [Puppet Users] Good resources for writing rspec tests for puppet code changes?

2014-02-20 Thread Martin Alfke
On 19 Feb 2014, at 18:36, HPUX_PUPPET wrote: > > On Wednesday, February 19, 2014 9:28:55 AM UTC-5, Johan De Wit wrote: > Don't have any experience/access to hpux, but you can always show us > the code and the rspec files. > So we can have at least a look at it :) > > And multiple eyes see

[Puppet Users] Sending Mail from puppet master !!!

2014-02-20 Thread Rakesh Kathpal
Hi, The functionality that I am trying to achieve is Step 1: Running a command / script triggered by a puppet run on the client Step 2: Gathering the output of script Step 3: Send the output via email to external source Please note here, I am not sure about email settings on the client, so I wou