Displaying 2 results from an estimated 2 matches for "sudoensure_lin".
Did you mean:
sudoensure_line
2006 Dec 04
6
puppet definition
Hello,
still upgrading to .20.1 and i have another issue that puppet does
not regonize anymore my definitions, i use some ensure lines definition
in a function.pp file and since then i am unable to make it work.
puppetmasterd tells me this:
Unknown function sudoensure_line in file
/etc/puppet/manifests/./classes/backup.pp
the import of the function is my 2 line of the site.pp and i also
wrapped them into a class and then included it but this does not change
anything. I wonder where i messed up :)
the debug shows:
debug: importing ''functions.pp''...
2006 Sep 29
7
Facts load by puppet -factsync question
fact loads:
I use facter to search the rsync path and then i write this sudoers line:
Cmnd_Alias BACKUPCOMMANDS = /usr/bin/rsync
I call puppet like this:
puppetd --factsync --server=xxx.yyy.61.131 --waitforcert 60 --test
the recipe is:
sudoensure_line { sudobackupcommands:
ligne => "Cmnd_Alias BACKUPCOMMANDS =
$rsyncpath",
before => sudoensure_line["sudoaqbackup"]
}
sudoensure_line { sudoaqbackup:
ligne => "aqbackup A...