]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Using $backup_when for nodo::desktop::minimal
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 9 Jul 2010 15:23:47 +0000 (12:23 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 9 Jul 2010 15:23:47 +0000 (12:23 -0300)
manifests/desktop.pp

index e01a7134639f1ead60225c3868ba22a88c861773..6855a0ba41af8766dd9983bae8c279cae1b10c97 100644 (file)
@@ -25,19 +25,17 @@ class nodo::desktop inherits nodo::personal {
 }
 
 class nodo::desktop::minimal {
-  $fstab     = false
-  $crypttab  = false
-  $xorg      = false
-  $pam       = false
+  $fstab    = false
+  $crypttab = false
+  $xorg     = false
+  $pam      = false
+
+  # Backups should happen when the box are likely to be online
+  $backup_when = 'everyday at 12:00'
 
   # Apt is disabled as it's not ready for ubuntu
-  $use_apt   = false
+  $use_apt = false
 
   # Desktop class
   include nodo::desktop
-
-  # Backups should happen when the box are likely to be online
-  backupninja::config { 'desktop':
-    when => 'everyday at 12:00',
-  }
 }