diff options
author | Micah Anderson <micah@riseup.net> | 2008-09-27 17:45:57 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2008-09-27 17:45:57 -0400 |
commit | c751cf22ede55b3dde21dbc15813c33e24bc7b3d (patch) | |
tree | f193ddd6fddaf5d98350950527e110dfc1bfd91e /manifests/init.pp | |
parent | d827a52614fc41ca98e2f2fc453da2e2ae4965ec (diff) | |
download | puppet-sshd-c751cf22ede55b3dde21dbc15813c33e24bc7b3d.tar.gz puppet-sshd-c751cf22ede55b3dde21dbc15813c33e24bc7b3d.tar.bz2 |
clarify in the example about how you can set multiple ListenAddresses with the right syntax
also set the default to be 0.0.0.0 and :: which is the normal default for all IPv4 and all IPv6 addresses
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 519e242..8e6ff8b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -23,7 +23,7 @@ # Checkout the following: # # sshd_listen_address: specify the addresses sshd should listen on -# set this to "10.0.0.1 192.168.0.1" to have it listen on both +# set this to ['10.0.0.1 192.168.0.1'] to have it listen on both # addresses, or leave it unset to listen on all # Default: empty -> results in listening on 0.0.0.0 # @@ -111,7 +111,7 @@ class sshd { class sshd::base { # prepare variables to use in templates $real_sshd_listen_address = $sshd_listen_address ? { - '' => '', + '' => [ '0.0.0.0', '::' ], default => $sshd_listen_address } $real_sshd_allowed_users = $sshd_allowed_users ? { |