[Puppet Users] Parameterizing "puppet agent --test" with 'puppet agent $svn_branch --test"

2013-07-08 Thread Kamal Ahmed
Hi, how can i parameterize puppet command line run, to be able to use the same host, and have multiple subversion branches being updated / managed by the same puppet agent, depending on what i specify on the command line as an argument so i can have 3 subversion branches: 1. 7.3 2. trunk 3. R

Re: [Puppet Users] Parameterizing "puppet agent --test" with 'puppet agent $svn_branch --test"

2013-07-08 Thread Nikola Petrov
Now sure what you want to achieve here?!?!? If those are different modules or something you can move that as a variable in facter and then run the puppet agent by overriding the fact at runtime Something like this FACTER_MYENVPROPERTY="7.3" puppet agent -t FACTER_MYENVPROPERTY="trunk" puppet agen

Re: [Puppet Users] Parameterizing "puppet agent --test" with 'puppet agent $svn_branch --test"

2013-07-08 Thread Lothar Gesslein
Hi Kamal, On 07/08/2013 02:54 PM, Kamal Ahmed wrote: > currently each one is hardcoded , what i would like to do is to be able to : > > puppet agent 7.3 --test - to update 7.3 > > puppet agent trunk --test - to update trunk > > puppet agent RC --test - to update trunk What puppet can do is the

[Puppet Users] Re: stdlib file_line type

2013-07-08 Thread jcbollinger
On Friday, June 28, 2013 10:44:19 AM UTC-5, kashif wrote: > > Hi > > I am just testing file_line type in puppetlabs stdlib library. It is a > very simple line > > file_line { 'testing file_line' : > ensure => present, > line => 'This is a test' > path =>

Re: [Puppet Users] Fwd: [Module team] Much ado about modules

2013-07-08 Thread Alessandro Franceschi
On Saturday, July 6, 2013 1:30:15 AM UTC+2, Nan Liu wrote: > > On Fri, Jul 5, 2013 at 11:05 AM, Ashley Penney > > > wrote: > >> Now that Puppetlabs has a module team we thought we should start trying >> to keep the community informed as to what we're doing and why on earth >> we're doing it.

Re: [Puppet Users] scope for templates that is called from a class that includes the class that calls the template.

2013-07-08 Thread jcbollinger
On Monday, July 1, 2013 9:17:11 PM UTC-5, Daniel Jung wrote: > > Hi Wolf, > > I guess you can use the lookupvar and specifically call the variable from > the class where it belongs to. That would be one method of doing it and > probably works with Puppet 3.* as well. > I just want to get my he

Re: [Puppet Users] Fwd: [Module team] Much ado about modules

2013-07-08 Thread Ashley Penney
On Mon, Jul 8, 2013 at 11:12 AM, Alessandro Franceschi wrote: > > > On Saturday, July 6, 2013 1:30:15 AM UTC+2, Nan Liu wrote: > >> On Fri, Jul 5, 2013 at 11:05 AM, Ashley Penney >> wrote: >> >>> Now that Puppetlabs has a module team we thought we should start trying >>> to keep the community in

Re: [Puppet Users] Fwd: [Module team] Much ado about modules

2013-07-08 Thread Alessandro Franceschi
Please give a look to this: https://github.com/stdmod/puppet-modules/blob/master/Parameters_List.md it's basically the output of the (somehow limited, but well thought over) discussion about naming standards on https://docs.google.com/a/lab42.it/document/d/1D4OqEI5iuGJe63ODU91N6rnFKcxVAg1sAWbaQrG

Re: [Puppet Users] Puppet 3.2 and Hiera: problem of order and tagged function

2013-07-08 Thread jcbollinger
On Friday, July 5, 2013 12:20:55 PM UTC-5, francois.l...@gmail.com wrote: > > > >> >> The recommended way >> forward is to express the configuration dependency explicitly like so: >> >>class meta($one = true) { >> if $one { >>include one >> } >> or to directly integr

[Puppet Users] Problems with the connection. Please help me!

2013-07-08 Thread Alejo Granero
Hi! when I try to link de node with de master I do that: $ puppet agent --server ipofthemaster --waitforcert 60 --test Then I have thats errors: err: Could not retrieve catalog from remote server: Connection refused - connect (2) warning: Not using cache on failed catalog err: could not retrie

Re: [Puppet Users] What do YOU do to catch undefined variables

2013-07-08 Thread Wil Cooley
On May 2, 2013 1:45 PM, "Larry Fast" wrote: > > IMO, the core issue is that Puppet has no mechanism for reporting read attempts on undefined variables. So my question to the community is, what do YOU do to catch undefined variables? If anyone has a first class solution I'd love to hear it. But

[Puppet Users] Re: [Module team] Much ado about modules

2013-07-08 Thread root
Hello. It would be nice if there was a way to browse all modules on Puppet Forge. I can browse all the modules released by Puppet Labs @ http://forge.puppetlabs.com/puppetlabs, (same for any author for whom I know the username) but as far as I know, there is no way to browse all modules. (Per

[Puppet Users] Re: Node not showing in the PE console

2013-07-08 Thread Ellison Marks
You should be using the enterprise installer on both the server and the nodes. On the nodes, you would only install the agent role. Just as a note, the problem you are running into is probably that the version of puppet from the Fedora repo is probably the latest, somewhere in the 3.2 area, whi

Re: [Puppet Users] Re: [Module team] Much ado about modules

2013-07-08 Thread Nan Liu
On Mon, Jul 8, 2013 at 10:55 AM, root wrote: > Hello. It would be nice if there was a way to browse all modules on > Puppet Forge. I can browse all the modules released by Puppet Labs @ > http://forge.puppetlabs.com/puppetlabs, (same for any author for whom I > know the username) but as far as

Re: [Puppet Users] Fwd: [Module team] Much ado about modules

2013-07-08 Thread Nan Liu
On Mon, Jul 8, 2013 at 9:02 AM, Ashley Penney wrote: > On Mon, Jul 8, 2013 at 11:12 AM, Alessandro Franceschi wrote: > >> >> >> On Saturday, July 6, 2013 1:30:15 AM UTC+2, Nan Liu wrote: >> >>> On Fri, Jul 5, 2013 at 11:05 AM, Ashley Penney >> > wrote: >>> Now that Puppetlabs has a module te

Re: [Puppet Users] Re: [Module team] Much ado about modules

2013-07-08 Thread root
Ah, that workes nicely, thanks. On Monday, July 8, 2013 2:02:46 PM UTC-4, Nan Liu wrote: > On Mon, Jul 8, 2013 at 10:55 AM, root >wrote: > > http://forge.puppetlabs.com/modules > > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsu

[Puppet Users] Re: Node not showing in the PE console

2013-07-08 Thread Greg Emanuel
So for a Fedora node would I use the EL (RHEL, CentOS, Scientific Linux, Oracle Linux) 6 PE installer? There isn't an installer listed for Fedora. Or, would I use the *nix installer? On Monday, July 8, 2013 12:56:31 PM UTC-5, Ellison Marks wrote: > > You should be using the enterprise installer

[Puppet Users] Re: Node not showing in the PE console

2013-07-08 Thread Ellison Marks
Ah, excuse me. I should have looked a bit harder before posting. Fedora is not an officially supported platform for PE, see http://projects.puppetlabs.com/issues/15701. The *nix installer is just for doing platform detection by the way. It's a universal installer that just contains sets for all

[Puppet Users] Externally accessing variables defined in defined type instance

2013-07-08 Thread Wil Cooley
I have a case where I need to somehow access a variable in a defined type, which is built from the parameters of the defined type (and possibly other sources). As far as I can tell, doing this directly is not possible, nor have I found a good way to do so indirectly. Here's an example: # hypoth

[Puppet Users] Editing lines of multiple files with puppet and augeas

2013-07-08 Thread David Santhosh
I am trying to build a generic module in puppet to edit multiple files and update few lines in them, with Augeas and Puppet. Can someone help me with a working example. Thanks -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe fro

Re: [Puppet Users] How to force generation of ca_crl.pem?

2013-07-08 Thread Amos Shapira
I've verified that the "puppet cert generate.." command generates the files which are required to get the Apache daemon up and running. Thanks Ken. On Saturday, 6 July 2013 13:03:12 UTC+10, Amos Shapira wrote: > > Thanks very much Ken, > > I'm away from the comp for the weekend, I'll try these an

Re: [Puppet Users] Parameterizing "puppet agent --test" with 'puppet agent $svn_branch --test"

2013-07-08 Thread Kamal Ahmed
Nikola, What i want to accomplish, is to have multiple subversion controlled branches of the code base on one Virtual Machine, and be able to run tests separately in Jenkins ( CI Srver ) . at the time of setup of Jenkins Slave , we have to declare a root directory, and this is where currently pupp

Re: [Puppet Users] Wierd error... puppet agent that *used* to work but now doesn't

2013-07-08 Thread Josh Cooper
Hi Peter, On Sat, Jul 6, 2013 at 2:56 PM, Peter Berghold wrote: > What does this error mean? > Could not retrieve macaddress: undefined method `exec_ifconfig' for > Facter::Util::IP:Module > > > I've done a complete uninstallation puppet and facter a few times and > reinstalled them to no avail.