Split packages
This commit is contained in:
parent
4a75580212
commit
2617c557ba
3 changed files with 25 additions and 5 deletions
|
@ -1,7 +1,5 @@
|
|||
class yaourt {
|
||||
package {[
|
||||
"firefox-beta"
|
||||
]:
|
||||
ensure => latest
|
||||
}
|
||||
include 'yaourt::packages'
|
||||
|
||||
include 'yaourt::keys'
|
||||
}
|
||||
|
|
15
modules/yaourt/manifests/keys.pp
Normal file
15
modules/yaourt/manifests/keys.pp
Normal file
|
@ -0,0 +1,15 @@
|
|||
class yaourt::keys () {
|
||||
exec { '/usr/bin/gpg --recv-keys F7E48EDB':
|
||||
user => 'jake'
|
||||
}
|
||||
|
||||
exec { '/usr/bin/pacman-key -r 962DDE58':
|
||||
}
|
||||
|
||||
exec { '/usr/bin/pacman-key --lsign-key 962DDE58':
|
||||
}
|
||||
|
||||
exec { '/usr/bin/gpg --keyserver pool.sks-keyservers.net --recv-keys 2E1AC68ED40814E0':
|
||||
user => 'jake'
|
||||
}
|
||||
}
|
7
modules/yaourt/manifests/packages.pp
Normal file
7
modules/yaourt/manifests/packages.pp
Normal file
|
@ -0,0 +1,7 @@
|
|||
class yaourt::packages () {
|
||||
package {[
|
||||
'firefox'
|
||||
]:
|
||||
ensure => latest
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue