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:
d892d0b
)
the inevitable take two
author
Stephen Gran
<steve@lobefin.net>
Thu, 22 Dec 2011 10:36:00 +0000
(10:36 +0000)
committer
Stephen Gran
<steve@lobefin.net>
Thu, 22 Dec 2011 10:36:00 +0000
(10:36 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/ferm/templates/me.conf.erb
patch
|
blob
|
history
diff --git
a/modules/ferm/templates/me.conf.erb
b/modules/ferm/templates/me.conf.erb
index
797560b
..
7069f59
100644
(file)
--- a/
modules/ferm/templates/me.conf.erb
+++ b/
modules/ferm/templates/me.conf.erb
@@
-10,8
+10,8
@@
restricted_purposes = {'kvm host', 'central syslog server', 'puppet master', 'ju
restrict_ssh = %w{lebrun logtest01 geo1 geo2 geo3 beethoven tchaikovsky schroeder rossini draghi}
if (nodeinfo['ldap'].has_key?('purpose')) then
-
restricted_purposes
.each do |purp|
- if
nodeinfo['ldap']['purpose']
.include?(purp) then
+
nodeinfo['ldap']['purpose']
.each do |purp|
+ if
restricted_purposes
.include?(purp) then
restrict_ssh << hostname
end
end