projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
godard: enable persistent journald storage. rt#7049
[mirror/dsa-puppet.git]
/
modules
/
roles
/
templates
/
sso_rp
/
ca.crl.erb
1
<%=
2
def getcrl(host)
3
crl = nil
4
begin
5
facts = YAML.load(File.open("/var/lib/puppet/yaml/facts/#{host}.yaml").read)
6
return facts.values['debsso_skac_crl']
7
rescue Exception => e
8
end
9
return crl
10
end
11
12
crl = []
13
14
roles = scope.lookupvar('site::roles')
15
roles['sso'].each do |node|
16
c = getcrl(node)
17
next if c.nil?
18
crl << c
19
end
20
21
crl.join("\n")
22
23
# vim:set et:
24
# vim:set sts=4 ts=4:
25
# vim:set shiftwidth=4:
26
%>