summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-11-09 10:22:58 +0100
committervarac <varacanero@zeromail.org>2015-11-09 10:22:58 +0100
commitfe92ce01fabe2d1b6a966d119e24c07cd164b776 (patch)
tree0901bbc2648f488ed7ff0da0f5d40bbfeafc4437 /manifests/init.pp
parentb3e81589eec604768e08ed56ce5ca42a4b33db89 (diff)
[feat] Optinally disable exported resources
If run masterless, we cannot export resources, so we move them to an own class. Including it can be disabled by passing "use_storedconfig" to the sshd class.
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 2dfc71c..b415741 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -52,7 +52,8 @@ class sshd(
$hostkey_type = versioncmp($::ssh_version, '6.5') ? {
/(^1|0)/ => [ 'rsa', 'ed25519' ],
/-1/ => [ 'rsa', 'dsa' ]
- }
+ },
+ $use_storedconfigs = true
) {
validate_bool($manage_shorewall)