[Puppet Users] Re: variable fact lookup

2009-09-21 Thread Ohad Levy
i think you can use something like "${macaddress}_${eth_name}" On Sun, Sep 20, 2009 at 12:08 AM, sam wrote: > > hi > is it possible to use a variable to name the fact I am after > eg > > define config_net ($eth_name) { > $mac = $macaddress_$eth_name > } > > > > > > --~--~-~--~~--

[Puppet Users] Announcement: Foreman 0.1-1 is out

2009-09-21 Thread Ohad Levy
Hello All, I'm happy to announce the next stable release of Foreman, main new features include: - Integration of Puppet Reports, once enabled you would see a real time overview of all of yours hosts status. - Improved support for multiple Puppet Masters (e.g. import facts and reports

[Puppet Users] Re: cannot parse template when fact does not exist

2009-09-21 Thread Chris Blumentritt
On Fri, Sep 18, 2009 at 2:54 AM, David Schmitt wrote: > > Chris Blumentritt wrote: > > I receive the following error when trying to do the puppet below: > > Failed to parse template s_apache_site/site.conf.erb: Could not find > > value for 'ipaddress_eth0_0' > > > > As far as I can tell the ipadd

[Puppet Users] Re: cannot parse template when fact does not exist

2009-09-21 Thread David Schmitt
Chris Blumentritt wrote: > node web1{ >$secondary_ip = xxx > >network::ip { $secondary_ip: } >apache::site { blah: ip => $secondary_ip } > } > > > How can I access the $secondary_ip variable from a class? I have the > app_server class make the same

[Puppet Users] Re: cannot parse template when fact does not exist

2009-09-21 Thread Chris Blumentritt
On Mon, Sep 21, 2009 at 10:03 AM, David Schmitt wrote: > > Chris Blumentritt wrote: > > node web1{ > >$secondary_ip = xxx > > > >network::ip { $secondary_ip: } > >apache::site { blah: ip => $secondary_ip } > > } > > > > > > How can I access the $seconda

[Puppet Users] Re: cannot parse template when fact does not exist

2009-09-21 Thread David Schmitt
Chris Blumentritt wrote: > > > On Mon, Sep 21, 2009 at 10:03 AM, David Schmitt > wrote: > > > Chris Blumentritt wrote: > > node web1{ > >$secondary_ip = xxx > > > >network::ip { $secondary_ip: } > >apac

[Puppet Users] Re: cannot parse template when fact does not exist

2009-09-21 Thread David Schmitt
Chris Blumentritt wrote: > > > On Mon, Sep 21, 2009 at 10:03 AM, David Schmitt > wrote: > > > Chris Blumentritt wrote: > > node web1{ > >$secondary_ip = xxx > > > >network::ip { $secondary_ip: } > >apac

[Puppet Users] Re: cannot parse template when fact does not exist

2009-09-21 Thread Chris Blumentritt
On Mon, Sep 21, 2009 at 11:27 AM, David Schmitt wrote: > > Chris Blumentritt wrote: > > > > > > On Mon, Sep 21, 2009 at 10:03 AM, David Schmitt > > wrote: > > > > > > Chris Blumentritt wrote: > > > node web1{ > > >$secondary_ip = xxx > > >

[Puppet Users] Re: cannot parse template when fact does not exist

2009-09-21 Thread David Bishop
On Mon, Sep 21, 2009 at 12:19:39PM -0500, Chris Blumentritt wrote: >I have a separate class that includes the my_project::project_env for all >of my app servers. �I can verify that it is working since the apache conf >file for site is there. �I have been banging my head on a wall with t

[Puppet Users] Re: cannot parse template when fact does not exist

2009-09-21 Thread David Bishop
Never mind. Figured out those clients didn't have the proper 'pluginsync' lines in puppet.conf. David Bishop On Sep 21, 2009, at 1:38 PM, David Bishop wrote: > On Mon, Sep 21, 2009 at 12:19:39PM -0500, Chris Blumentritt wrote: >> I have a separate class that includes the my_project::pro

[Puppet Users] Re: cannot parse template when fact does not exist

2009-09-21 Thread Chris Blumentritt
On Mon, Sep 21, 2009 at 12:19 PM, Chris Blumentritt wrote: > > > On Mon, Sep 21, 2009 at 11:27 AM, David Schmitt wrote: > >> >> Chris Blumentritt wrote: >> > >> > >> > On Mon, Sep 21, 2009 at 10:03 AM, David Schmitt > > > wrote: >> > >> > >> > Chris Blumentritt wrote: >>

[Puppet Users] puppet @openexpo in Switzerland

2009-09-21 Thread Marc Fournier
Hi, Next wednesday and thursday, a few puppeteers will hold a small booth at OpenExpo in Winterthur¹. If you're somewhere around northern Switzerland/southern Germany/western Austria, you may want to drop by and exchange a few ideas with us. If you're new to puppet, we'll have a couple of demos

[Puppet Users] Puppet Camp Schedule Posted

2009-09-21 Thread Andrew Shafer
http://reductivelabs.com/home/community/puppetcamp/ There will be plenty of Puppet Tips, Tips and Best Practices, and that’s just in the breaks and meals. Come hear about some of the most advanced Puppet implementations and the lessons learned along the way. *Learn:* - How people are managin

[Puppet Users] Re: Puppet Camp Schedule Posted

2009-09-21 Thread Marc Fournier
> (I'm working angles to see if we can get presentations > streamed/recorded. +1 for this idea :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-

[Puppet Users] How to tailor config. files for groups of hosts?

2009-09-21 Thread tobyriddell
Hi, I'm trying to figure out the best way to generate tailored config. files for several sets of hosts. Here's a concrete example with a sudoers file: class hostgroups { $devhosts = [ "devhost1", "devhost2" ] $prodhosts = [ "prodhost1", "prodhost2" ] $ukhosts = $devhosts + $prodhosts

[Puppet Users] Ruby on HP-UX B.11.11 (11iv1)

2009-09-21 Thread Mark Nelson
Hello I am hoping to deploy Puppet 0.25.0 within our Unix infrastructure. One of our systems runs on HP-UX B.11.11 (HP-UX 11iv1), I am having trouble getting ruby to run on this platform. The version of ruby that is available on the HP-UX Software Archive (http://hpux.connect.org.uk/) is 1

[Puppet Users] Re: Remove user from a specific group?

2009-09-21 Thread Jos Backus
On Tue, Sep 15, 2009 at 12:41:16PM -0700, Jos Backus wrote: > How do I tell Puppet to remove a user from a specific group? Turns out `gpasswd -d user group' handles this on RedHat-based OSes. Would be nice if the groupadd provider supported this. :-) -- Jos Backus jos at catnook.com --~--~

[Puppet Users] Re: Remove user from a specific group?

2009-09-21 Thread James Turnbull
2009/9/22 Jos Backus : > > On Tue, Sep 15, 2009 at 12:41:16PM -0700, Jos Backus wrote: >> How do I tell Puppet to remove a user from a specific group? > > Turns out `gpasswd -d user group' handles this on RedHat-based OSes. Would be > nice if the groupadd provider supported this. :-) > Can you op

[Puppet Users] Re: Remove user from a specific group?

2009-09-21 Thread Jos Backus
On Tue, Sep 22, 2009 at 09:35:55AM +1000, James Turnbull wrote: > Can you open a ticket please Jos. Filed as http://projects.reductivelabs.com/issues/2667. Thanks, James. -- Jos Backus jos at catnook.com --~--~-~--~~~---~--~~ You received this message because yo