Add package management config files

This commit is contained in:
Jake Howard 2017-08-12 14:19:55 +01:00
parent b296c4244b
commit 557a0a8b4b
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 15 additions and 4 deletions

View file

@ -0,0 +1,14 @@
class yaourt::files () {
file { '/etc/pacman.conf':
ensure => file,
source => 'puppet:///modules/yaourt/pacman.conf'
}
file { '/home/jake/.yaourtrc':
ensure => file,
mode => "0644",
owner => "jake",
group => "users",
source => 'puppet:///modules/yaourt/.yaourtrc'
}
}

View file

@ -3,8 +3,5 @@ class yaourt {
include 'yaourt::keys' include 'yaourt::keys'
file { '/etc/pacman.conf': include 'yaourt::files'
ensure => file,
source => 'puppet:///modules/yaourt/pacman.conf'
}
} }