summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-05 22:55:28 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-05 22:55:28 -0300
commitebbece3abd28864163c18ba378eadf29b352a050 (patch)
tree2b70bc3f28d04b220ca178bd1fb837ff14e089ca
parent6e700c86796f522b625c6f10e9032a593a588ebe (diff)
downloadpuppet-infinoted-ebbece3abd28864163c18ba378eadf29b352a050.tar.gz
puppet-infinoted-ebbece3abd28864163c18ba378eadf29b352a050.tar.bz2
Fix cert names
-rw-r--r--manifests/init.pp6
1 files changed, 4 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index b1e465a..55feced 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -55,9 +55,11 @@ class infinoted(
require => File['/var/lib/infinoted/.config'],
}
+ # Generate keys
+ # This exec will launch the server but not daemonize, so we fork it to the background
exec { 'infinoted-gen-keys':
- command => 'infinoted --create-key --create-certificate -k /var/lib/infinoted/.certs/cert.key -c /var/lib/infinoted/.certs/cert.cert &',
- creates => '/var/lib/infinoted/.certs/cert.key',
+ command => 'infinoted --create-key --create-certificate -k /var/lib/infinoted/.certs/infinoted.key -c /var/lib/infinoted/.certs/infinoted.cert &',
+ creates => '/var/lib/infinoted/.certs/infinoted.key',
require => File['/var/lib/infinoted/.config/infinoted.conf'],
}