]> gitweb.fluxo.info Git - puppet-infinoted.git/commitdiff
Fix cert names
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 6 Apr 2013 01:55:28 +0000 (22:55 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 6 Apr 2013 01:55:28 +0000 (22:55 -0300)
manifests/init.pp

index b1e465a4850615f5d0498e192c6f6e7ff977405f..55fecedd3939f1c8227e486c8f6a1f2ee310a2be 100644 (file)
@@ -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'],
   }