Displaying 4 results from an estimated 4 matches for "realsource".
Did you mean:
evalsource
2007 Mar 16
0
My updated remotefile
...been using a better one than mine). I added an ensure parameter
so I could do overrides using remotefile rather than the underlying file:
define remotefile($owner = root, $ignore = ".svn", $group = root, $mode =
644, $source, $backup = false, $recurse = false, $ensure = file) {
$realsource = $hostname ? {
"henson" => "/var/lib/puppet/dist/$source",
default => "puppet://puppet.stanford.edu/dist/$source"
}
file {
$name:
mode => $mode,
owner => $owner,
group => $group,...
2006 Dec 18
1
$name causes weird behavior
I tried using $name in this manner:
remotefile { "/etc/auto_direct.local":
mode => 644,
source => "solall/$name"
}
(The remotefile function is handy, BTW)
When I use $name here, instead of specifying the actual path to the
file (solall/etc/auto_direct.local), puppetd ends up making
/etc/auto_direct.local an empty directory.
Shouldn''t $name
2007 Apr 05
4
managing directories of symlinks
I''m trying to manage a directory full of symlinks for our users'' home
directories and running into problems.
Our home directories are spread out across multiple NFS partitions.
For flexibility and ease of use, we have a /u directory that contains
symlinks to each user''s specific home directory, e.g. /u/bob ->
/home/k/bob, /u/eric -> /home/b/eric, etc.
The
2007 May 23
12
Odd ssh authorized_keys problem
Hi all,
I''ve just implemented a [crude] manifest to apply a set authorized_keys
file to the root account of a puppet client.
class rootssh_test {
file { "/root/.ssh/authorized_keys":
owner => root, group => root, mode => 0600,
content => template("rootssh_test")
}
}
The template has two ssh id_rsa lines in.
When the client applies