diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-08-10 22:40:48 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-08-10 22:44:09 +0200 |
commit | 87f0ebb735e85213080117f5fed40edb3dc2100b (patch) | |
tree | 7d01b704a7212a1b0aeb87b38577592c7639d2e7 | |
parent | 91a2b30dd703c827deebfb69f1b5561773beac00 (diff) | |
download | Puppet-87f0ebb735e85213080117f5fed40edb3dc2100b.tar.gz Puppet-87f0ebb735e85213080117f5fed40edb3dc2100b.tar.zst Puppet-87f0ebb735e85213080117f5fed40edb3dc2100b.zip |
Add missing services
-rw-r--r-- | modules/base_configuration/manifests/init.pp | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/modules/base_configuration/manifests/init.pp b/modules/base_configuration/manifests/init.pp index 2b20a0e..8b4dd37 100644 --- a/modules/base_configuration/manifests/init.pp +++ b/modules/base_configuration/manifests/init.pp | |||
@@ -3,6 +3,19 @@ class base_configuration ( | |||
3 | $username = "immae", | 3 | $username = "immae", |
4 | $userid = 1000 | 4 | $userid = 1000 |
5 | ) { | 5 | ) { |
6 | service { "sshd": | ||
7 | ensure => "running", | ||
8 | enable => true, | ||
9 | } | ||
10 | service { "systemd-networkd.socket": | ||
11 | ensure => "running", | ||
12 | enable => true, | ||
13 | } | ||
14 | service { "systemd-networkd": | ||
15 | ensure => "running", | ||
16 | enable => true, | ||
17 | } | ||
18 | |||
6 | unless empty($hostname) { | 19 | unless empty($hostname) { |
7 | class { 'systemd::hostname': | 20 | class { 'systemd::hostname': |
8 | hostname => $hostname | 21 | hostname => $hostname |
@@ -51,7 +64,8 @@ class base_configuration ( | |||
51 | } | 64 | } |
52 | 65 | ||
53 | class { 'pacman': | 66 | class { 'pacman': |
54 | color => true, | 67 | color => true, |
68 | usesyslog => true, | ||
55 | } | 69 | } |
56 | 70 | ||
57 | pacman::repo { 'multilib': | 71 | pacman::repo { 'multilib': |