]> gitweb.fluxo.info Git - puppet-certbot.git/commitdiff
Minor fixes
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 17 Jun 2016 12:19:34 +0000 (09:19 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 17 Jun 2016 12:19:34 +0000 (09:19 -0300)
manifests/init.pp

index 92cb32abbcbdac9190472652087531572d61c1d2..76283feaabbef0f9023b049fd691ff3b7041a31f 100644 (file)
@@ -5,7 +5,7 @@ class certbot(
   $post_hook = '',
 ) {
 
-  $tool = $::lsbdistcodename {
+  $tool = $::lsbdistcodename {
     'xenial' => 'letsencrypt',
     default  => 'certbot',
   }
@@ -27,17 +27,17 @@ class certbot(
   }
 
   package { $tool:
-    ensure => present,
+    ensure  => present,
     require => File[$basedir],
   }
 
   cron { 'certbot-renew':
     command => '"/usr/bin/${tool} renew --standalone ${real_pre_hook} ${real_post_hook}",
     user    => 'root',
-    weekday  => 1,
-    hour     => "05",
-    minute   => "30",
-    ensure   => present,
-    require  => Package[$tool],
+    weekday => 1,
+    hour    => "05",
+    minute  => "30",
+    ensure  => present,
+    require => Package[$tool],
   }
 }