diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-08-24 02:22:17 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-08-29 22:46:14 +0200 |
commit | 7fed35a408b9ec37454169425823785b5fc8978b (patch) | |
tree | 28371d43ac304f99fb0a5305124858db69ef2137 /modules/base_installation/manifests/package_managers.pp | |
parent | ba2cf1b5d938810077b0fd73844faf432e8e8f9d (diff) | |
download | Puppet-7fed35a408b9ec37454169425823785b5fc8978b.tar.gz Puppet-7fed35a408b9ec37454169425823785b5fc8978b.tar.zst Puppet-7fed35a408b9ec37454169425823785b5fc8978b.zip |
Refactor base installation module
Diffstat (limited to 'modules/base_installation/manifests/package_managers.pp')
-rw-r--r-- | modules/base_installation/manifests/package_managers.pp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/base_installation/manifests/package_managers.pp b/modules/base_installation/manifests/package_managers.pp new file mode 100644 index 0000000..c5c8485 --- /dev/null +++ b/modules/base_installation/manifests/package_managers.pp | |||
@@ -0,0 +1,25 @@ | |||
1 | class base_installation::package_managers inherits base_installation { | ||
2 | file { '/etc/pacman.d/mirrorlist': | ||
3 | ensure => "present", | ||
4 | path => "/etc/pacman.d/mirrorlist", | ||
5 | source => 'puppet:///modules/base_installation/package_managers/mirrorlist', | ||
6 | mode => "0644", | ||
7 | owner => "root", | ||
8 | group => "root" | ||
9 | } | ||
10 | |||
11 | class { 'pacman': | ||
12 | color => true, | ||
13 | usesyslog => true, | ||
14 | } | ||
15 | |||
16 | pacman::repo { 'multilib': | ||
17 | order => 15, | ||
18 | include => '/etc/pacman.d/mirrorlist' | ||
19 | } | ||
20 | |||
21 | class { 'aur': } | ||
22 | |||
23 | contain "pacman" | ||
24 | contain "aur" | ||
25 | } | ||