]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Updating ntp class names
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 20 Aug 2014 13:57:58 +0000 (10:57 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 20 Aug 2014 13:57:58 +0000 (10:57 -0300)
manifests/base/host.pp
manifests/base/plug.pp
manifests/base/raspberrypi.pp
manifests/base/vserver.pp

index f5e6495889d44aaf03273cb8b5a2417c208275df..f3c23de9bcf10e4794128b5dfd3674ca9a5bb021 100644 (file)
@@ -28,8 +28,8 @@ class nodo::base::host {
   # Time
   $ntpdate = hiera('nodo::host::ntpdate', True)
   case $ntpdate {
-    false:   { class { 'timezone': } }
-    default: { class { 'ntpdate':  } }
+    false:   { class { 'ntp::timezone': } }
+    default: { class { 'ntp::ntpdate':  } }
   }
 
   # Backup
index 9c386ca3864e34e8a6a3e48b7f472f34ad47e5d3..eedd9febc955fdfdc156eed3e00687b3752f9f91 100644 (file)
@@ -7,7 +7,7 @@ class nodo::base::plug {
 
   monkeysphere_host { "${::hostname}": }
 
-  class { [ 'ntpdate', 'firewall' ]: }
+  class { [ 'ntp::ntpdate', 'firewall' ]: }
 
   # Backup
   backupninja::sys { "sys":
index 7847ada205a0efc7551fa9753b86aa10baead9e1..1dc2acd9d0e1731a974eb8a8cfbd4338be379436 100644 (file)
@@ -6,7 +6,7 @@ class nodo::base::raspberrypi {
   monkeysphere_host { "${::hostname}": }
 
   # Currently no firewall
-  class { [ 'ntpdate' ]: }
+  class { [ 'ntp::ntpdate' ]: }
 
   backupninja::sys { "sys":
     ensure     => present,
index c8fbd71631ae78fea848fa9589901918bd2427b1..0a8b58974a90386eaa158276af70b1827255400e 100644 (file)
@@ -1,5 +1,5 @@
 class nodo::base::vserver {
-  class { 'timezone': }
+  class { 'ntp::timezone': }
   class { 'syslog-ng::vserver': }
 
   backupninja::sys { "sys":