Merged in oherrala/puppet (pull request #8)
This commit is contained in:
commit
29d19082b8
3 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,10 @@ class puppet::client {
|
||||||
$puppet_keylength = "2048"
|
$puppet_keylength = "2048"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ! $puppet_diffargs {
|
||||||
|
$puppet_diffargs = "-u"
|
||||||
|
}
|
||||||
|
|
||||||
case $operatingsystem {
|
case $operatingsystem {
|
||||||
openbsd: { $vardir = "/var/puppet" }
|
openbsd: { $vardir = "/var/puppet" }
|
||||||
default: { $vardir = "/var/lib/puppet" }
|
default: { $vardir = "/var/lib/puppet" }
|
||||||
|
|
|
@ -39,6 +39,9 @@
|
||||||
# The bit length of keys.
|
# The bit length of keys.
|
||||||
keylength = <%= puppet_keylength %>
|
keylength = <%= puppet_keylength %>
|
||||||
|
|
||||||
|
# Arguments for puppet's use of diff
|
||||||
|
diff_args = <%= puppet_diffargs %>
|
||||||
|
|
||||||
<% if puppetversion[/\d+/].to_i >= 2 -%>
|
<% if puppetversion[/\d+/].to_i >= 2 -%>
|
||||||
[agent]
|
[agent]
|
||||||
# Ignore site manifest when run as agent. Fixes warnings about
|
# Ignore site manifest when run as agent. Fixes warnings about
|
||||||
|
|
|
@ -36,6 +36,7 @@ class time::zone {
|
||||||
content => "$timezone_set\n",
|
content => "$timezone_set\n",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
openbsd: { } # file /etc/localtime is enough
|
||||||
default: {
|
default: {
|
||||||
fail("time::zone not supported on ${operatingsystem}")
|
fail("time::zone not supported on ${operatingsystem}")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue