]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blame - modules/base_installation/manifests/package_managers.pp
Change release url
[perso/Immae/Projets/Puppet.git] / modules / base_installation / manifests / package_managers.pp
CommitLineData
7fed35a4
IB
1class 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,
a0df248a 18 include => '/etc/pacman.d/mirrorlist',
7fed35a4
IB
19 }
20
d8f933bd
IB
21 pacman::repo { 'immae':
22 order => 0,
19c467dc 23 server => 'https://release.immae.eu/packages/',
a0df248a 24 siglevel => 'Optional',
d8f933bd
IB
25 }
26
a0df248a
IB
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
7fed35a4
IB
34 class { 'aur': }
35
36 contain "pacman"
37 contain "aur"
38}