Re: [Puppet Users] parameters set with array

2014-07-20 Thread David Schmitt
On 2014-07-18 08:57, OS wrote: Hello all, I am newbie to puppet and sorry if it is a silly question. What is wrong with my manifest? define webapp ($domain,$port){ file { "/tmp/${name}": > This is working and creating the files as /tmp/test , /tmp/test1 etc c

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

2014-07-20 Thread David Schmitt
On 2014-07-16 20:34, José Luis Ledesma wrote: El 16/07/2014 16:06, "Felix Frank" mailto:felix.fr...@alumni.tu-berlin.de>> escribió: > > On 07/16/2014 03:04 PM, jcbollinger wrote: > > Supposed I have 200 different machines (VMs) sitting on each > > developer's desktop (rather in their

Re: [Puppet Users] Weekly parameter for the cron resource behaves differently with future parser

2014-07-20 Thread David Schmitt
On 2014-07-16 17:03, Peter Van Biesen wrote: Hi, I just ran into an issue with the future parser. I had following statement in my manifests : cron {'zorgregieRapportering': command => "/usr/projects/admintools/cronWrap.bash -s /home/weblogic/JOB/rapporten/zorgregieRapportering.bash",

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

2014-07-20 Thread David Schmitt
Hi On 2014-07-14 14:49, Gavin Williams wrote: As part of my work to create an Apache Karaf module[1] I need to manage a number of configuration files, and I'm wondering what the best way to go about it might be... A couple of examples of the config files that need managing can be found here[2].

Re: [Puppet Users] ENC fails on first run - Error reading YAML file: No such file or directory - /var/lib/puppet/yaml/facts/nexus.myhost.com.yaml

2014-07-20 Thread Taylor Leese
I don't believe so because it works fine on the second run. I actually switched to using Hiera as the "classifier" since this was problematic. On Sun, Jul 20, 2014 at 11:02 PM, David Schmitt wrote: > You ENC seems to depend upon the host's facts in the default yaml cache > location. Perhaps you

Re: [Puppet Users] Apply patch once to windows node

2014-07-20 Thread David Schmitt
On 2014-07-15 15:36, Dhaval Thakar wrote: 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

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

2014-07-20 Thread David Schmitt
On 2014-07-14 20:41, Andrii Kalytiuk wrote: Hi, I look into ways to use MCollective to *run test automation* on lab machines. After couple of days of research I still have a question /is MCollective is right tool/ to perform all required routines. *So my question is:* /Will it be proper/ to us

Re: [Puppet Users] ENC fails on first run - Error reading YAML file: No such file or directory - /var/lib/puppet/yaml/facts/nexus.myhost.com.yaml

2014-07-20 Thread David Schmitt
You ENC seems to depend upon the host's facts in the default yaml cache location. Perhaps you have removed the yaml caching of facts? Regards, David On 2014-07-14 23:46, Taylor Leese wrote: I incorrectly redacted the host name in the error message. Here is the correct version: *==> nexus: **W

Re: [Puppet Users] Re: Passing undef as argument to classes & defines overrides default parameter

2014-07-20 Thread Atom Powers
I think you should be able to send json to the yaml backend and it will work. I did some testing with hiera and had no problem with pure yaml, pure json, or a mix of the two. On Jul 20, 2014 6:01 PM, "Cristian Falcas" wrote: > Hi, > > I have an other question then. I can't manage to use the json

Re: [Puppet Users] Re: Passing undef as argument to classes & defines overrides default parameter

2014-07-20 Thread Henrik Lindberg
On 2014-17-07 20:26, Cristian Falcas wrote: Hi, I have a "postfix" class with this init: class postfix ( $ensure = 'latest', $email_user = undef, $email_pass = undef, $smtp_endpoint = "smtp.${::domain}", $smtp_endpoint_port = '25', $from_domain

Re: [Puppet Users] Re: Passing undef as argument to classes & defines overrides default parameter

2014-07-20 Thread Cristian Falcas
Hi, I have an other question then. I can't manage to use the json backend to do automated data binding (it's working if i choose the yaml backend). I keep all my data in json, only because I like it more then yaml. Should I be able to use the json backend for this also? Best regards, Cristian Fal

Re: [Puppet Users] SRV Records and Multiple Masters

2014-07-20 Thread Erik Dalén
If you are using SRV records I would recommend just using the fqdn of the server for the certs as it is pretty easy to point the SRV records to that anyway. Then you can even reuse the agent cert as it has the necessary bits to be used as a server cert. On 18 July 2014 23:27, Paul Seymour wrote: