diff options
author | mh <mh@immerda.ch> | 2014-03-14 10:36:24 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2014-03-14 10:36:24 +0100 |
commit | fb60c0c0c991d041084454586c2657165fe42622 (patch) | |
tree | b03b81319236f71e3a690a543c4799e902b86f84 /manifests/base.pp | |
parent | afb8ec710342175af75ff0bb31625b498091dd9e (diff) | |
download | puppet-sshd-fb60c0c0c991d041084454586c2657165fe42622.tar.gz puppet-sshd-fb60c0c0c991d041084454586c2657165fe42622.tar.bz2 |
linting
Diffstat (limited to 'manifests/base.pp')
-rw-r--r-- | manifests/base.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/base.pp b/manifests/base.pp index 2fb71c3..813745c 100644 --- a/manifests/base.pp +++ b/manifests/base.pp @@ -1,3 +1,6 @@ +# The base class to setup the common things. +# This is a private class and will always be used +# throught the sshd class itself. class sshd::base { $sshd_config_content = $::lsbdistcodename ? { @@ -28,7 +31,7 @@ class sshd::base { # In case the node has uses a shared network address, # we don't define a sshkey resource using an IP address if $sshd::shared_ip == 'no' { - @@sshkey{$sshkey_ipaddress: + @@sshkey{$sshd::sshkey_ipaddress: ensure => present, tag => 'ipaddress', type => ssh-rsa, |