aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/base_configuration/manifests/init.pp16
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':