[Puppet Users] Re: Error: Could not prepare for execution: Could not create PID file: /var/run/pe-puppet/agent.pid

2013-09-09 Thread Rahul Khengare
Hi Manchana, can you check the *rundir *option in */etc/puppetlabs/puppet/puppet.conf * file as, . *rundir = /var/run/pe-puppet * Thanks and Regards, Rahul Khengare, NTT DATA OSS Center, Pune, India. On Monday, September 9, 2013 6:53:53 PM UTC+5:30, sandeep kumar wrote: > > Hi All, > > Whil

[Puppet Users] Announce: Facter 1.7.3 Available

2013-09-09 Thread Matthaus Owens
Facter 1.7.3 is a bugfix release in the 1.7 series. To see a list of the issues addressed by this release, check out the 1.7.3 version in our issue tracker at: https://projects.puppetlabs.com/versions/414 Downloads are available at: * Source: https://downloads.puppetlabs.com/facter/facter-1.7.3.

Re: [Puppet Users] puppet agent modules/ manual pull

2013-09-09 Thread Rich Burroughs
For #1: Puppet is very good at managing cron jobs, in fact there's a cron resource type that makes that very easy: http://docs.puppetlabs.com/references/latest/type.html#cron I'm not sure if there's an easy way to do #2. You could maybe run a puppet apply on that manifest out of cron if you have

Re: [Puppet Users] Error on tried to used this module in development environment.

2013-09-09 Thread Denmat
Is pentaho in a different module path on the two environments? Is the code exactly the same or does it contain extra code for the environments that doesn't compile? On 10/09/2013, at 0:14, Eduardo Terzella wrote: > Error 400 on SERVER: Could not find class pentaho for > srvdev206.cia.stefani

Re: [Puppet Users] manage puppet modules, but not all of them

2013-09-09 Thread Denmat
I believe the librarian can manage a specified directory. You can add that directory to your module path in your puppet.conf. That help? On 09/09/2013, at 22:02, Jason Antman wrote: > We currently have one git repository for our modules/ directory, which is > mostly homegrown, but includes a

[Puppet Users] Ordering and templates question/issue

2013-09-09 Thread sjr
Hi, I've been doing some tests with some internal methods just to mess a little and learn a bit about puppet internals but found myself in a situation which I don't really understand and I was hoping someone around could help me to get it. I have a test module with the following init.pp: clas

[Puppet Users] Re: Puppet Forge Happenings

2013-09-09 Thread octomeow
How do I create forge server for internal modules? Due to security concerns, we are limited in what we can public back to the community, but would like to use the forge format vs librarian. thanks On Tuesday, October 2, 2012 7:35:34 PM UTC-7, Ryan Coleman wrote: > > Hello, > > If you weren't a

Re: [Puppet Users] Re: Importing declarations into node/class scope

2013-09-09 Thread Stepan Seycek
Hi John, Am 09.09.2013 15:39, schrieb jcbollinger: On Monday, September 9, 2013 1:52:43 AM UTC-5, Stepan Seycek wrote: Hi John, thanks for your reply. Unfortunately that does not solve my actual problem. I want to avoid maintaining multiple vhost entries inside one file. M

[Puppet Users] Puppet calls the ENC twice for some nodes.

2013-09-09 Thread Steven VanDevender
pierra mathieu writes: > Hi everyone, > > I have an issue setting up Puppet with an ENC. > For some nodes, puppet calls my ENC twice with a 2 sec interval. Why is that a problem? Your ENC should always return the same data for the same node, and it should be efficient enough that it can be

[Puppet Users] Use of defined()

2013-09-09 Thread Brian Lalor
As my previous email this morning probably indicated, I'm struggling with the use of the defined( ) function. The documentation says its operation is parse-order dependent; I'm trying to figure out how it's usable at all. Since resource order with Puppet is nondeterministic (without explicitly

Re: [Puppet Users] agent will not run

2013-09-09 Thread jcbollinger
On Friday, September 6, 2013 8:44:44 AM UTC-5, Werner Flamme wrote: > > Werner Flamme [28.08.2013 13:18]: > > Hi, > > > > I wonder why the puppet agent on the server itself will not run: > > > > ---snip--- > > # puppet agent --test > > Error: Could not run Puppet configuration client: Pupp

Re: [Puppet Users] Solaris useradd uses /export/home and not /home

2013-09-09 Thread jcbollinger
On Friday, September 6, 2013 8:07:24 AM UTC-5, Andreas Dvorak wrote: > > Hi Dick, > > thank you for the help, but it did not change anythink. The error mesage > stays exactly the same. > > Puppet ignores the setting of the home variable. > > Now I have created the missing home directory in /expo

[Puppet Users] Error 400 on SERVER: Could not find class pentaho for server.test.com

2013-09-09 Thread Eduardo Terzella
Good morning , I could help to debug this problem ? "puppet agent - test" Debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using pson Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class pentaho for s

Re: [Puppet Users] agent will not run

2013-09-09 Thread Werner Flamme
jcbollinger [09.09.2013 16:48]: > > > On Friday, September 6, 2013 8:44:44 AM UTC-5, Werner Flamme wrote: >> >> Werner Flamme [28.08.2013 13:18]: >>> Hi, >>> >>> I wonder why the puppet agent on the server itself will not run: >>> >>> ---snip--- >>> # puppet agent --test >>> Error: Could not

Re: [Puppet Users] Re: Custom Function that uses powershell

2013-09-09 Thread Rob Reynolds
The next version of facter will bring in executable external facts (which can be a powershell script) that would allow you to do the fact workaround. Another thing you can do is set environment variables on the machine that would contain user/pass and use those. And then there is also ENC On Fr

Re: [Puppet Users] Odd behaviour trying to specify restart command for service on windows

2013-09-09 Thread Rob Reynolds
Try this restart => 'c:/windows/system32/cmd.exe /c c:\Tomcat7\bin\RestartService. bat' cmd.exe may not know how to find items with a path that contains forward slashes. On Thu, Sep 5, 2013 at 12:50 PM, Adam Scarborough wrote: > Hi > > i'm having a strange issue and was wondering if anyone co

[Puppet Users] Error on tried to used this module in development environment.

2013-09-09 Thread Eduardo Terzella
Good morning , I could audar to debug this problem ? "puppet agent - test" Debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using pson Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class pentaho for srvdev206.cia.stefanini.com on nod

Re: [Puppet Users] Resource ordering problem

2013-09-09 Thread Brian Lalor
On Sep 9, 2013, at 10:02 AM, Brian Lalor wrote: > I'm struggling once again with resource ordering with Puppet. *sigh* Looks like the if defined(Class['rabbitmq::service']) { … } guard I've got around these relationships is wrong. It's gonna be that kind of week, isn't it? :-( Sor

[Puppet Users] Resource ordering problem

2013-09-09 Thread Brian Lalor
I'm struggling once again with resource ordering with Puppet. I'm using Puppet 3.2.4, v3.0.0 of the Puppetlabs RabbitMQ module and v0.7.5 of the Sensu module. I'm trying to compose a system from these modules that runs the Sensu server, as well as the RabbitMQ server. I have the following rel

[Puppet Users] Error: Could not prepare for execution: Could not create PID file: /var/run/pe-puppet/agent.pid

2013-09-09 Thread sandeep kumar
Hi All, While I am running puppet agent I get the following error: command : puppet agent --verbose Error: Could not prepare for execution: Could not create PID file: /var/run/pe-puppet/agent.pid Checked under /var/run/pe-puppet, pid file is being created when the serrvice is started. Checke

Re: [Puppet Users] Run a build module on first logon for new puppet clients

2013-09-09 Thread jcbollinger
On Monday, September 9, 2013 2:35:39 AM UTC-5, Martin Alfke wrote: > > Hi Karl, > > you can achieve this by one of the following procedures: > > 1. by stage > - enable stages > http://docs.puppetlabs.com/puppet/latest/reference/lang_run_stages.html > - put build class into an early stage >

Re: [Puppet Users] Re: Importing declarations into node/class scope

2013-09-09 Thread jcbollinger
On Monday, September 9, 2013 1:52:43 AM UTC-5, Stepan Seycek wrote: > > Hi John, > > thanks for your reply. Unfortunately that does not solve my actual > problem. I want to avoid maintaining multiple vhost entries inside one file. > My suggestion accomplishes that. Following Puppet best pract

Re: [Puppet Users] clone system configuration with puppet

2013-09-09 Thread Marcus Schäfer
HI, thanks I will take a look at the suggested projects Regards, Marcus On Friday, September 6, 2013 5:36:15 PM UTC+2, Steven wrote: > > Found the other one. It is pysa > > Links for both: > *Blueprint* > https://github.com/devstructure/blueprint > http://devstructure.com/blueprint/ > > *Pysa* >

[Puppet Users] manage puppet modules, but not all of them

2013-09-09 Thread Jason Antman
We currently have one git repository for our modules/ directory, which is mostly homegrown, but includes a few community modules. I'm looking for a way to manage the installation and upgrade of community modules. What we really want is something simple that can help us install and upgrade comm

[Puppet Users] Puppet calls the ENC twice for some nodes.

2013-09-09 Thread pierra mathieu
Hi everyone, I have an issue setting up Puppet with an ENC. For some nodes, puppet calls my ENC twice with a 2 sec interval. All my agents share the same configuration file. Considering this very basic ENC : #!/bin/bash > nodeName=$1 > echo `date` $nodeName >> /tmp/encCalls > echo "--- > cl

Re: [Puppet Users] Run a build module on first logon for new puppet clients

2013-09-09 Thread Martin Alfke
Hi Karl, you can achieve this by one of the following procedures: 1. by stage - enable stages http://docs.puppetlabs.com/puppet/latest/reference/lang_run_stages.html - put build class into an early stage - put all other classes into main stage Pro: does need one puppet run only. 2. by fact - i