Re: [Puppet Users] ensure => file, creating directories

2011-11-29 Thread Russell Howe
type- > $fqdn", Try "puppet://puppet/modules/standalone-configs/${folder}/${name}-${type}-${fqdn}", See http://projects.puppetlabs.com/issues/10146 I don't know if that will fix your directories issue, but it can't hurt and shouldn't break

Re: [Puppet Users] Class Including.

2011-11-03 Thread Russell Howe
^ This should be either not here or a comma - -- Russell Howe rh...@moonfruit.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJOsmzDAAoJEJ2trZuuThLOrvEIAKa4AfZokKk4BILj1Nker1IY HuB80FmBdWMfZ27VPJ7DGbQo7GonDtPESdvcRNobdf1GsjET3MqXUe8lOQ

Re: [Puppet Users] How To Expand an .erb Template Without Doing a Full Puppet Run?

2011-09-15 Thread Russell Howe
oy zonefiles to nameserver", command => "tar cp . -C /staging/location | tar xp -C /var/lib/named/zones", require => Exec["commit staged zonefiles"], notify => Service["named"], } -- Russell Howe rh...@moonfruit.com -- You received this m

RE: [Puppet Users] Re: Resources existing in different operating systems.

2011-06-03 Thread Russell Howe
source inside the case statement itself? -- Russell Howe rh...@moonfruit.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send

RE: [Puppet Users] Re: Resources existing in different operating systems.

2011-06-03 Thread Russell Howe
t; 'default' => {} > } > > Haven't tried it, but I don't think that's allowed. > > Doug. How about case $operatingsystem { 'centos': { $filesource = "/bar" } default: { $filesource = "/foo" } } file {

RE: [Puppet Users] Re: Any good documentation NGINX + Passenger + Puppet?

2011-06-02 Thread Russell Howe
s.puppetlabs.com/references/stable/function.html#fqdnrand -- Russell Howe rh...@moonfruit.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubsc

RE: [Puppet Users] Re: templates on puppetmaster, shipped via scp to clients

2011-05-04 Thread Russell Howe
etmaster can do, plus it has access to facter facts. I mean you don't even necessarily need the puppet client. If you can pass the facter facts into erb you should be able to process the templates directly I think. -- Russell Howe rh...@moonfruit.com -- You received this message beca

RE: [Puppet Users] Re: Resolving/ Expanding module puppet:/// URI in exec line

2011-05-04 Thread Russell Howe
en do exec { "download and extract mvn" : command => "/usr/bin/curl http://foo/apache-maven-$maven_version.tar.gz|/usr/bin/tar xz -C /usr/share/java", creates => "[...]", } Many ways to crack this egg, and I'm sure people will suggest others. --

RE: [Puppet Users] templates on puppetmaster, shipped via scp to clients

2011-05-04 Thread Russell Howe
I think puppet just uses the erb program to process its templates so you should just be able to use that directly, I would expect. -- Russell Howe rh...@moonfruit.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post

RE: [Puppet Users] is it possible to take definition parameters from a database?

2011-04-20 Thread Russell Howe
t;$p2} I don't know about doing it via puppet - I suspect not without custom Functions and/or outside help. I assume you know about this: http://httpd.apache.org/docs/2.0/vhosts/mass.html and deem it not suitable. -- Russell Howe rh...@moonfruit.com -- You received this message because yo

RE: [Puppet Users] Dependencies between nodes

2011-04-19 Thread Russell Howe
You may be able to consider using "environments" for this - each environment would only have a specific version available to both Clients and servers within that environment. So long as you don't mix environments between nodes you ought to be OK. It might not be smart enough to cope w

RE: [Puppet Users] How to manage a big cluster of 100s of node?

2011-04-15 Thread Russell Howe
I do that? I don't think the only way > is to add individual node one by one in the nodes.pp. How do > you guys do it? You input/comment is already appreciated. Cheers!! You can pattern match on the hostname in the node definition... -- Russell Howe rh...@moonfruit.com -- You re

RE: [Puppet Users] Re: allow_duplicate_certs = true not working?

2011-04-15 Thread Russell Howe
utlook, but could you store up a stash of the certificate and private key from when a host is commissioned and then place it on the host next time it's built? -- Russell Howe rh...@moonfruit.com -- You received this message because you are subscribed to the Google Groups "Pu