Merged in oherrala/puppet (pull request #8)

This commit is contained in:
Timo Mäkinen 2012-04-17 11:02:09 +03:00
commit 29d19082b8
3 changed files with 8 additions and 0 deletions

View file

@ -13,6 +13,10 @@ class puppet::client {
$puppet_keylength = "2048"
}
if ! $puppet_diffargs {
$puppet_diffargs = "-u"
}
case $operatingsystem {
openbsd: { $vardir = "/var/puppet" }
default: { $vardir = "/var/lib/puppet" }

View file

@ -39,6 +39,9 @@
# The bit length of keys.
keylength = <%= puppet_keylength %>
# Arguments for puppet's use of diff
diff_args = <%= puppet_diffargs %>
<% if puppetversion[/\d+/].to_i >= 2 -%>
[agent]
# Ignore site manifest when run as agent. Fixes warnings about

View file

@ -36,6 +36,7 @@ class time::zone {
content => "$timezone_set\n",
}
}
openbsd: { } # file /etc/localtime is enough
default: {
fail("time::zone not supported on ${operatingsystem}")
}