blob: bd6ff9fddea3e30e8b9d873197932a006a48dda4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
class base::operatingsystem {
file {
"/etc/locale.gen":
content => "en_US.UTF-8 UTF-8\n",
notify => Exec["regen locale data"];
"/etc/locale.conf":
content => "LANG=en_US.UTF-8\n",
require => [
File["/etc/locale.gen"],
Exec["regen locale data"],
];
"/etc/localtime":
ensure => link,
target => "/usr/share/zoneinfo/UTC";
"/etc/hosts":
content => template('base/hosts');
}
cron::job { "pacman":
frequency => "hourly",
source => 'puppet:///modules/base/pacman-cron';
}
exec { "regen locale data":
command => "/usr/bin/locale-gen",
refreshonly => true;
}
package { "pacman-contrib":
ensure => installed;
}
service { "paccache.timer":
ensure => running,
enable => true,
require => Package["pacman-contrib"];
}
}
|