X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fssh%2Fmanifests%2Finit.pp;h=bd3600eeb740c8b0407a1e760d2c2fa32b495573;hb=6849c0d133f88df75366cf25a663e52409eac389;hp=32442f6f5c82d05285dfc5187c61bf9ad8a81c9b;hpb=2e19e6d6c9cb1597331aaad162cc488db8f7679e;p=mirror%2Fdsa-puppet.git diff --git a/modules/ssh/manifests/init.pp b/modules/ssh/manifests/init.pp index 32442f6f5..bd3600eeb 100644 --- a/modules/ssh/manifests/init.pp +++ b/modules/ssh/manifests/init.pp @@ -15,9 +15,11 @@ class ssh { } ferm::rule { 'dsa-ssh-sources': description => 'Allow SSH from DSA', + domain => '(ip ip6)', chain => 'ssh', rule => 'saddr ($SSH_SOURCES) ACCEPT' } + Ferm::Rule::Simple <<| tag == 'ssh::server::from::nagios' |>> file { '/etc/ssh/ssh_config': content => template('ssh/ssh_config.erb'),