Re: [Puppet Users] Puppet CA Server

2014-07-15 Thread José Luis Ledesma
Hi, Changing the ca means that every node signed with one of the other two will need to regenerate its cert and ask for be signed again(including both not ca puppet masters) In the puppet masters that are not a ca you should add the 'ca' and 'ca_server' parameters in the puppet.conf. stop

Re: [Puppet Users] How do I send notification to Puppet Master in an event of file change?

2014-07-15 Thread Martin Alfke
Hi Kevin, On 15 Jul 2014, at 00:26, Kevin Aloysius kevinaloysiu...@gmail.com wrote: How do I monitor a file for a file change and send an [info] log to the Puppet Master / Puppet Dashboard ? I tried audit but it doesn't really help the case as Puppet does not explicitly send a Notification /

Re: [Puppet Users] The combined use of Ubuntu and CentOS

2014-07-15 Thread jcbollinger
On Monday, July 14, 2014 2:27:22 PM UTC-5, Hunter Haugen wrote: Yep, totally possible. The puppet master daemon is platform-agnostic and uses the information sent from the agent (via `facter`) to know how to compile the catalog. AND, the agent adapts to the tools provided by its host

[Puppet Users] Re: Use MCollective to execute test automation (long running job) on lab machines

2014-07-15 Thread Andrii Kalytiuk
Asked the same question https://ask.puppetlabs.com/question/12715/use-mcollective-to-gradually-return-console-output-of-long-running-application/ on Puppet questions site. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from

Re: [Puppet Users] Puppet catalog transfer often gets truncated (Could not intern from pson: error)

2014-07-15 Thread Daniel
I am also getting this problem. Did running the puppet master within Apache/Passenger or nginx/Passenger help at all? I was thinking it could be to do with a non ascii character making its way into my code somewhere as that seems to cause dodgy stuff but that's not it. I've seen lots of

Re: [Puppet Users] Re: Problem using hiera-eyaml

2014-07-15 Thread Levent Tutar
eyaml commands were working but not hiera-eyaml. the following solved my problem. default gem install uses the wrong gem environment. puppet uses a different one. use /opt/puppet/bin/gem to install hiera-eyaml instead of default /usr/local/bin/gem On Thursday, January 2, 2014 4:44:32 PM

Re: [Puppet Users] Re: duplicated resource with an exported resource

2014-07-15 Thread jcbollinger
On Monday, July 14, 2014 8:55:38 AM UTC-5, Kristof Willaert wrote: [snip] You will not be able to collect that resource on the node that exports it (you would again -- and rightfully -- get a duplicate resource complaint), but I think otherwise you should be ok. The documentation

[Puppet Users] Re: Duplicate declaration with nested create_resources

2014-07-15 Thread jcbollinger
On Monday, July 14, 2014 8:08:51 AM UTC-5, Joao Morais wrote: Em sexta-feira, 11 de julho de 2014 11h11min17s UTC-3, jcbollinger escreveu: So, I'm interpreting the hiera data as providing configuration details that, if present, apply to every 'myservice', at least as defaults.

[Puppet Users] Apply patch once to windows node

2014-07-15 Thread Dhaval Thakar
Hi All, I am starting to use puppet to manage windows nodes, tried searching but couldn't find solution for this... I need to apply kaspersky patch using puppet to windows nodes. So far I have used kaspersky server to install / upgrade / patch antivirus. Trying to get it done using puppet.

[Puppet Users] Facter unable to parse custom fact

2014-07-15 Thread Maxim Nikolaev
Hello I have strange experience with facter on newly installed servers. Puppet: 3.6.2 Facter: 2.1.0 OS: Amazon Linux when I set custom fact to /etc/facter/facts.d and run facter locally I get following error Fact file /etc/facter/facts.d/services.rb was parsed but returned an empty data set

Re: [Puppet Users] Facter unable to parse custom fact

2014-07-15 Thread Peter Bukowinski
On Jul 15, 2014, at 10:10 AM, Maxim Nikolaev m...@maximnik.com wrote: Hello I have strange experience with facter on newly installed servers. Puppet: 3.6.2 Facter: 2.1.0 OS: Amazon Linux when I set custom fact to /etc/facter/facts.d and run facter locally I get following error Fact

[Puppet Users] Just Released: Puppet Enterprise 3.3

2014-07-15 Thread Chris Westphal
Puppet Enterprise 3.3 is now available! Our newest release makes it easier to install, adopt and scale Puppet Enterprise across a broad range of supported platforms. Here’s a quick look at what’s new: - *Simplified installation process:* Our new web-based installer provides a detailed

[Puppet Users] Announce: MCollective 2.5.3 [Security and Bug Fix Release]

2014-07-15 Thread Melissa Stone
MCollective 2.5.3 is a security and bug fix release in the MCollective 2.5 series. This release addresses CVE-2014-3251. ** CVE-2014-3251 ** The MCollective `aes_security` public key plugin does not correctly validate certs against the CA. By exploiting this vulnerability within a

[Puppet Users] Invoke another agent within agent

2014-07-15 Thread Larry Altomare
Hi, I have created a custom agent to deploy code, from this agent I would like to leverage the code in the nrpe agent and invoke it from my agent. Is it possible to invoke another agent from an agent. Here is a snippet of my code. module MCollective module Agent class

[Puppet Users] multiple VMs from a single node.pp file

2014-07-15 Thread randal cobb
Hello, all... I have a scenario where all of our developers (spread geographically around the world) use a VMWare or VirtualBox VM on their local desktop to develop portions of a single product. I've seemed to inherit this nightmare of a process and believe I can make it much simpler,

Re: [Puppet Users] Dealing with Packages on Windows that contain special characters

2014-07-15 Thread Rob Reynolds
I think we can call this a valid issue. Would you mind filing a ticket over on https://tickets.puppetlabs.com/browse/PUP? Thanks! On Fri, Jul 11, 2014 at 3:24 PM, Ken Sykora ksyk...@nerdery.com wrote: Also I'm noticing that on successful runs with the UTF-8 character I get this error:

Re: [Puppet Users] Re: duplicated resource with an exported resource

2014-07-15 Thread José Luis Ledesma
It worked as you thought. Many thanks, perhaps the code is not so nice, but the config applied is, by far, better. Regards, El 15/07/2014 15:24, jcbollinger john.bollin...@stjude.org escribió: On Monday, July 14, 2014 8:55:38 AM UTC-5, Kristof Willaert wrote: [snip] You will not be able

Re: [Puppet Users] multiple VMs from a single node.pp file

2014-07-15 Thread Peter Bukowinski
On Jul 15, 2014, at 3:09 PM, randal cobb rco...@gmail.com wrote: Hello, all... I have a scenario where all of our developers (spread geographically around the world) use a VMWare or VirtualBox VM on their local desktop to develop portions of a single product. I've seemed to inherit this

Re: [Puppet Users] multiple VMs from a single node.pp file

2014-07-15 Thread Brian Mathis
Off the top of my head I would think that you could either use the 'default' node, which would apply to all clients, or use a regular expression to match the node names. With the regex you'll need to ensure that each VM follows a naming convention and you probably also want to make sure you don't

Re: [Puppet Users] Error_Install_Java7

2014-07-15 Thread Felix Frank
On 07/11/2014 02:48 PM, Joni Silaban wrote: Guys, Please help me to solve the error like picture Thank you Please paste your error output as text in the future. The issue is likely that the JDK tarball is not in the java7 module as referenced by the manifest. -- You received this message

Re: [Puppet Users] puppet-postgres error

2014-07-15 Thread Felix Frank
Hi, it would be helpful to see the manifest that declares the Exec[validate postgres connection for /postgres]. For debugging, the easiest approach is pasting the failing commands to a shell. Regards, Felix On 07/14/2014 08:35 AM, Rajesh Taneja wrote: While running puppet agent, I am getting

Re: [Puppet Users] Managing config files...

2014-07-15 Thread Felix Frank
On 07/14/2014 02:49 PM, Gavin Williams wrote: I think the 2 provided examples give different challenges. /jre.properties/[3]//strikes me as the most troublesome initially, due to the nature of the contents and the format reqs... My initial thought is to provide a type that can manage the file,

Re: [Puppet Users] Checking a variable is not 'undef'

2014-07-15 Thread Felix Frank
On 07/14/2014 05:07 PM, Henrik Lindberg wrote: From my point of view is better a warning when a empty string is taken as a false, than some configuration applied erroneously once upgraded to 4.0 We encourage testing with 3.7 future parser. If it turns out to be a problem for many (breakage

Re: [Puppet Users] puppet modules export?

2014-07-15 Thread Felix Frank
On 07/13/2014 11:41 PM, Tibor Malomsoki wrote: I get two puppetserver: A) Puppetserver: this is the old (I have got modules) B) Puppetserver: this is the new (I haven't got modules) I coppy the enviroments, moduls etc... But the agent nothing changed (catalog always finished). What shell I

Re: [Puppet Users] unable to use varaible in creates attribute

2014-07-15 Thread Felix Frank
On 07/14/2014 05:54 PM, Supriya Uppalapati wrote: Hi, I am trying to install software using .zip file. I am defining values using varaibles. But it is throwing me an error. *Error: Parameter cwd failed on Exec[extract CZM8XML.zip]: cwd must be a fully qualified path at

Re: [Puppet Users] Managing config files...

2014-07-15 Thread fatmcgav
Felik Cheers for taking the time to reply... I've been trying to work up a Augeas lense to support jre.properties, but dont seem to be having much luck... Seems like there's a bit of a black art to writing them... I'm in two minds about wrapper.conf. I've got it templates currently, but like

Re: [Puppet Users] Puppet catalog transfer often gets truncated (Could not intern from pson: error)

2014-07-15 Thread Felix Frank
On 07/15/2014 01:47 PM, Daniel wrote: I am also getting this problem. Did running the puppet master within Apache/Passenger or nginx/Passenger help at all? I was thinking it could be to do with a non ascii character making its way into my code somewhere as that seems to cause dodgy stuff but

Re: [Puppet Users] Managing config files...

2014-07-15 Thread Felix Frank
On 07/15/2014 11:08 PM, fatmcgav wrote: I've been trying to work up a Augeas lense to support jre.properties, but dont seem to be having much luck... Seems like there's a bit of a black art to writing them... Oh, right, I forget...yes we mortals are not supposed to be able to just create new

Re: [Puppet Users] Dealing with Packages on Windows that contain special characters

2014-07-15 Thread Ken Sykora
Done -- thanks! https://tickets.puppetlabs.com/browse/PUP-2937 On Tuesday, July 15, 2014 2:19:31 PM UTC-5, Rob Reynolds wrote: I think we can call this a valid issue. Would you mind filing a ticket over on https://tickets.puppetlabs.com/browse/PUP? Thanks! On Fri, Jul 11, 2014 at 3:24 PM,

Re: [Puppet Users] Dealing with Packages on Windows that contain special characters

2014-07-15 Thread Rob Reynolds
One thing I forgot to ask, what version of Puppet are you using on the box in question? And what is the output with puppet apply *manifest.pp* --debug --trace --verbose On Tue, Jul 15, 2014 at 4:21 PM, Ken Sykora ksyk...@nerdery.com wrote: Done -- thanks!

Re: [Puppet Users] puppet-postgres error

2014-07-15 Thread Hunter Haugen
The validate_db_connection would come from https://github.com/puppetlabs/puppetlabs-postgresql#resource-postgresqlvalidate_db_connection which is declared by the postgresql::server - postgresql::server::service class

Re: [Puppet Users] Dealing with Packages on Windows that contain special characters

2014-07-15 Thread Ken Sykora
3.6.2 is the version I'm using. Here's the full output: C:\Users\vagrantpuppet apply --modulepath '/vagrant/modules;/ProgramData/PuppetLabs/puppet/etc/modules' --hiera_config=/vagrant/hiera.yaml --detailed-exitcodes /vagrant/manifests/site.pp --debug --trace --verbose puppet-run.log

Re: [Puppet Users] Puppet catalog transfer often gets truncated (Could not intern from pson: error)

2014-07-15 Thread Henrik Lindberg
On 2014-15-07 23:12, Felix Frank wrote: On 07/15/2014 01:47 PM, Daniel wrote: I am also getting this problem. Did running the puppet master within Apache/Passenger or nginx/Passenger help at all? I was thinking it could be to do with a non ascii character making its way into my code somewhere

[Puppet Users] Re: Puppet copy not working

2014-07-15 Thread Nishantu Kumar
Thanks for your support On Friday, July 11, 2014 3:21:38 PM UTC+5:30, Nishantu Kumar wrote: Hello All, I have successfully configured puppet master and agent on two machines and i have created a file in manifest directory to copy a file from master server to agent machine but its not

[Puppet Users] certificate not found on agent machine

2014-07-15 Thread Nishantu Kumar
Hello All, I am getting error on agent machine for digital certificate not found, when i run the command sudo puppet agent -t and getting error Exiting; no certificate found and waitforcert is disabled. I can run the command manually for digital certificate but is there any way to generate the