]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - modules/base_installation/manifests/services.pp
Add NTP to base installation
[perso/Immae/Projets/Puppet.git] / modules / base_installation / manifests / services.pp
index c641f4b26105496e6deadf4f57f6c13cd71893f3..067a8f203be9030fe5160993f98c0096bb141bc7 100644 (file)
@@ -15,6 +15,11 @@ class base_installation::services inherits base_installation {
     enable => true,
   }
 
+  service { "systemd-timesyncd":
+    #ensure => "running",
+    enable  => true
+  }
+
   service { "cronie":
     #ensure => "running",
     enable => true,
@@ -38,7 +43,7 @@ class base_installation::services inherits base_installation {
      group   => "root"
   }
 
-  $ip6 = lookup("ips.v6") |$key| { {} }
+  $ip6 = lookup("ips.v6", { 'default_value' => undef })
   file { '/etc/systemd/network/en-dhcp.network':
     ensure  => "present",
     path    => "/etc/systemd/network/en-dhcp.network",