diff options
-rw-r--r-- | modules/base_configuration/files/mirrorlist | 2 | ||||
-rw-r--r-- | modules/base_configuration/manifests/init.pp | 14 | ||||
m--------- | modules/pacman | 0 |
3 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 @@ | |||
1 | Server = http://archlinux.mirrors.ovh.net/archlinux/$repo/os/$arch | ||
2 | Server = 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, |
diff --git a/modules/pacman b/modules/pacman | |||
Subproject 1b42bd156fd35c7736e155e3a8c456969a274ff | Subproject 1e7de818c6b0cb91c4fd5c8127d9f20ba75998c | ||