projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
some extra output
[mirror/dsa-puppet.git]
/
modules
/
puppetmaster
/
lib
/
puppet
/
parser
/
functions
/
gen_tlsa_entry.rb
diff --git
a/modules/puppetmaster/lib/puppet/parser/functions/gen_tlsa_entry.rb
b/modules/puppetmaster/lib/puppet/parser/functions/gen_tlsa_entry.rb
index
fab4b92
..
0bf6bba
100644
(file)
--- a/
modules/puppetmaster/lib/puppet/parser/functions/gen_tlsa_entry.rb
+++ b/
modules/puppetmaster/lib/puppet/parser/functions/gen_tlsa_entry.rb
@@
-11,6
+11,7
@@
module Puppet::Parser::Functions
end
res = []
+ res << "; cert #{certfile} for #{hostname}:#{port}."
ports.each{ |port|
if File.exist?(certfile)
cmd = ['swede', 'create', '--usage=3', '--selector=1', '--mtype=1', '--certificate', certfile, '--port', port.to_s, hostname]