diff options
author | varac <varacanero@zeromail.org> | 2015-11-09 10:22:58 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2015-11-09 10:22:58 +0100 |
commit | fe92ce01fabe2d1b6a966d119e24c07cd164b776 (patch) | |
tree | 0901bbc2648f488ed7ff0da0f5d40bbfeafc4437 /manifests/init.pp | |
parent | b3e81589eec604768e08ed56ce5ca42a4b33db89 (diff) | |
download | puppet-sshd-fe92ce01fabe2d1b6a966d119e24c07cd164b776.tar.gz puppet-sshd-fe92ce01fabe2d1b6a966d119e24c07cd164b776.tar.bz2 |
[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.pp | 3 |
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) |