aboutsummaryrefslogtreecommitdiff
path: root/modules/base_configuration
diff options
context:
space:
mode:
Diffstat (limited to 'modules/base_configuration')
-rw-r--r--modules/base_configuration/files/mirrorlist2
-rw-r--r--modules/base_configuration/manifests/init.pp14
2 files changed, 16 insertions, 0 deletions
diff --git a/modules/base_configuration/files/mirrorlist b/modules/base_configuration/files/mirrorlist
new file mode 100644
index 0000000..2ffca7c
--- /dev/null
+++ b/modules/base_configuration/files/mirrorlist
@@ -0,0 +1,2 @@
1Server = http://archlinux.mirrors.ovh.net/archlinux/$repo/os/$arch
2Server = http://mir.archlinux.fr/$repo/os/$arch
diff --git a/modules/base_configuration/manifests/init.pp b/modules/base_configuration/manifests/init.pp
index 8b4dd37..20bac33 100644
--- a/modules/base_configuration/manifests/init.pp
+++ b/modules/base_configuration/manifests/init.pp
@@ -63,6 +63,20 @@ class base_configuration (
63 } 63 }
64 } 64 }
65 65
66 ensure_packages('ruby-shadow')
67 user { 'root':
68 password => '!'
69 }
70
71 file { '/etc/pacman.d/mirrorlist':
72 ensure => "present",
73 path => "/etc/pacman.d/mirrorlist",
74 source => 'puppet:///modules/base_configuration/mirrorlist',
75 mode => "0644",
76 owner => "root",
77 group => "root"
78 }
79
66 class { 'pacman': 80 class { 'pacman':
67 color => true, 81 color => true,
68 usesyslog => true, 82 usesyslog => true,