Add package management config files
This commit is contained in:
parent
b296c4244b
commit
557a0a8b4b
3 changed files with 15 additions and 4 deletions
14
modules/yaourt/manifests/files.pp
Normal file
14
modules/yaourt/manifests/files.pp
Normal 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'
|
||||
}
|
||||
}
|
|
@ -3,8 +3,5 @@ class yaourt {
|
|||
|
||||
include 'yaourt::keys'
|
||||
|
||||
file { '/etc/pacman.conf':
|
||||
ensure => file,
|
||||
source => 'puppet:///modules/yaourt/pacman.conf'
|
||||
}
|
||||
include 'yaourt::files'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue