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:
78b1899
)
Also restrict "ganeti/kvm host" purpose
author
Peter Palfrader
<peter@palfrader.org>
Sun, 18 Nov 2018 09:47:57 +0000
(10:47 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Sun, 18 Nov 2018 09:47:57 +0000
(10:47 +0100)
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
1dfbe96
..
1bf1279
100644
(file)
--- a/
modules/ferm/templates/me.conf.erb
+++ b/
modules/ferm/templates/me.conf.erb
@@
-7,7
+7,7
@@
nodeinfo = scope.lookupvar('site::nodeinfo')
out = []
-restricted_purposes = ['kvm host', 'central syslog server', 'puppet master', 'jumphost', 'buildd', 'static-mirror', 'anycast mirror']
+restricted_purposes = ['kvm host', '
ganeti/kvm host', '
central syslog server', 'puppet master', 'jumphost', 'buildd', 'static-mirror', 'anycast mirror']
restrict_ssh = %w{tchaikovsky draghi adayevskaya}
if (nodeinfo['ldap'].has_key?('purpose')) then