Split packages

This commit is contained in:
Jake Howard 2017-08-12 14:01:40 +01:00
parent 4a75580212
commit 2617c557ba
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 25 additions and 5 deletions

View file

@ -1,7 +1,5 @@
class yaourt { class yaourt {
package {[ include 'yaourt::packages'
"firefox-beta"
]: include 'yaourt::keys'
ensure => latest
}
} }

View 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'
}
}

View file

@ -0,0 +1,7 @@
class yaourt::packages () {
package {[
'firefox'
]:
ensure => latest
}
}