aboutsummaryrefslogtreecommitdiff
path: root/modules/base_installation/manifests/services.pp
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2017-09-17 19:05:41 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2017-09-18 00:22:19 +0200
commit248bd83ed797f6e0f385e72a56aa7bafdf23d490 (patch)
tree29cd0d69b73b34d6d12ebe354be9d1d616983e3f /modules/base_installation/manifests/services.pp
parent503e4cf5c54e3fe4b802038e8917341c4ce803e5 (diff)
downloadPuppet-248bd83ed797f6e0f385e72a56aa7bafdf23d490.tar.gz
Puppet-248bd83ed797f6e0f385e72a56aa7bafdf23d490.tar.zst
Puppet-248bd83ed797f6e0f385e72a56aa7bafdf23d490.zip
Enhance install script, and add ip6 address
Diffstat (limited to 'modules/base_installation/manifests/services.pp')
-rw-r--r--modules/base_installation/manifests/services.pp13
1 files changed, 7 insertions, 6 deletions
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 {
38 group => "root" 38 group => "root"
39 } 39 }
40 40
41 $ip6 = lookup("ips.v6") |$key| { {} }
41 file { '/etc/systemd/network/en-dhcp.network': 42 file { '/etc/systemd/network/en-dhcp.network':
42 ensure => "present", 43 ensure => "present",
43 path => "/etc/systemd/network/en-dhcp.network", 44 path => "/etc/systemd/network/en-dhcp.network",
44 source => 'puppet:///modules/base_installation/services/en-dhcp.network', 45 content => template('base_installation/services/en-dhcp.network.erb'),
45 mode => "0644", 46 mode => "0644",
46 owner => "root", 47 owner => "root",
47 group => "root" 48 group => "root"
48 } 49 }
49 50
50} 51}