Add variable to control Puppet's own diffing of various files.
This commit is contained in:
parent
621b220de2
commit
600548e214
2 changed files with 7 additions and 0 deletions
|
@ -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" }
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue