projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98eb9e5
)
Ruby syntax fixups
author
Tollef Fog Heen
<tfheen@err.no>
Sat, 13 Apr 2019 20:13:24 +0000
(22:13 +0200)
committer
Tollef Fog Heen
<tfheen@err.no>
Sat, 13 Apr 2019 20:13:24 +0000
(22:13 +0200)
modules/ssh/templates/sshd_config.erb
patch
|
blob
|
history
diff --git
a/modules/ssh/templates/sshd_config.erb
b/modules/ssh/templates/sshd_config.erb
index
91df6fa
..
f0d5ab1
100644
(file)
--- a/
modules/ssh/templates/sshd_config.erb
+++ b/
modules/ssh/templates/sshd_config.erb
@@
-55,7
+55,7
@@
PasswordAuthentication no
allnodeinfo.keys.sort.each do |node|
next unless allnodeinfo[node].has_key?('ipHostNumber')
allnodeinfo[node]['ipHostNumber'].each do |ipnum|
- if ipnum =~
":"
+ if ipnum =~
/:/
dbs << "#{ipnum}/128"
else
dbs << "#{ipnum}/32"