diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-05 22:55:28 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-05 22:55:28 -0300 |
commit | ebbece3abd28864163c18ba378eadf29b352a050 (patch) | |
tree | 2b70bc3f28d04b220ca178bd1fb837ff14e089ca | |
parent | 6e700c86796f522b625c6f10e9032a593a588ebe (diff) | |
download | puppet-infinoted-ebbece3abd28864163c18ba378eadf29b352a050.tar.gz puppet-infinoted-ebbece3abd28864163c18ba378eadf29b352a050.tar.bz2 |
Fix cert names
-rw-r--r-- | manifests/init.pp | 6 |
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'], } |