Displaying 1 result from an estimated 1 matches for "the_stability".
Did you mean:
testability
2006 Sep 20
2
Defining function in template files?
...ction in a template file?
For example, I thought it might be a good idea to define my Debian
systems'' /etc/apt/sources.list files based on what level of stability
and freeness a system should have. So I have this puppet code:
#---------- apt.pp ----------------
define apt-sources-list (the_stability=1,the_freeness=1,the_url="http://mirror.phy.bnl.gov/debian/") {
$conffile = "etc/apt/sources.list"
file { "$conffile":
path => "/$conffile",
owner => root,
group => root,
mode => 444,
content => template("$conffile.erb"...