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
^
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
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
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
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 {
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
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
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.
--
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
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
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
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
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
13 matches
Mail list logo