From 248bd83ed797f6e0f385e72a56aa7bafdf23d490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 17 Sep 2017 19:05:41 +0200 Subject: Enhance install script, and add ip6 address --- modules/base_installation/manifests/services.pp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'modules/base_installation/manifests') diff --git a/modules/base_installation/manifests/services.pp b/modules/base_installation/manifests/services.pp index b48c3b5..c641f4b 100644 --- a/modules/base_installation/manifests/services.pp +++ b/modules/base_installation/manifests/services.pp @@ -38,13 +38,14 @@ class base_installation::services inherits base_installation { group => "root" } + $ip6 = lookup("ips.v6") |$key| { {} } file { '/etc/systemd/network/en-dhcp.network': - ensure => "present", - path => "/etc/systemd/network/en-dhcp.network", - source => 'puppet:///modules/base_installation/services/en-dhcp.network', - mode => "0644", - owner => "root", - group => "root" + ensure => "present", + path => "/etc/systemd/network/en-dhcp.network", + content => template('base_installation/services/en-dhcp.network.erb'), + mode => "0644", + owner => "root", + group => "root" } } -- cgit v1.2.3