diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-07-10 12:36:52 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-07-11 08:02:07 +0200 |
commit | a0df248a2be61557b8a67c3d6e4df24dc3e7843e (patch) | |
tree | a65e84c5bce103ba54f74dd4930713b66cf466cc /modules/base_installation | |
parent | 2742958fd69c91c442685be62140f1e29e363b95 (diff) | |
download | Puppet-a0df248a2be61557b8a67c3d6e4df24dc3e7843e.tar.gz Puppet-a0df248a2be61557b8a67c3d6e4df24dc3e7843e.tar.zst Puppet-a0df248a2be61557b8a67c3d6e4df24dc3e7843e.zip |
Add monitoring for etherpad
Diffstat (limited to 'modules/base_installation')
-rw-r--r-- | modules/base_installation/manifests/package_managers.pp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/modules/base_installation/manifests/package_managers.pp b/modules/base_installation/manifests/package_managers.pp index a03085d..f4df186 100644 --- a/modules/base_installation/manifests/package_managers.pp +++ b/modules/base_installation/manifests/package_managers.pp | |||
@@ -15,15 +15,22 @@ class base_installation::package_managers inherits base_installation { | |||
15 | 15 | ||
16 | pacman::repo { 'multilib': | 16 | pacman::repo { 'multilib': |
17 | order => 15, | 17 | order => 15, |
18 | include => '/etc/pacman.d/mirrorlist' | 18 | include => '/etc/pacman.d/mirrorlist', |
19 | } | 19 | } |
20 | 20 | ||
21 | pacman::repo { 'immae': | 21 | pacman::repo { 'immae': |
22 | order => 0, | 22 | order => 0, |
23 | server => 'https://git.immae.eu/releases/packages/', | 23 | server => 'https://git.immae.eu/releases/packages/', |
24 | siglevel => 'Optional' | 24 | siglevel => 'Optional', |
25 | } | 25 | } |
26 | 26 | ||
27 | exec { "refresh pacman": | ||
28 | command => "/usr/bin/pacman -Sy", | ||
29 | refreshonly => true, | ||
30 | } | ||
31 | |||
32 | Concat["/etc/pacman.conf"] ~> Exec["refresh pacman"] -> Package <| name != "pacman" |> | ||
33 | |||
27 | class { 'aur': } | 34 | class { 'aur': } |
28 | 35 | ||
29 | contain "pacman" | 36 | contain "pacman" |