Make keys file nicer
This commit is contained in:
parent
d0996e2b19
commit
6a882b79db
1 changed files with 18 additions and 11 deletions
|
@ -1,15 +1,22 @@
|
|||
class yaourt::keys () {
|
||||
exec { 'gpg --recv-keys F7E48EDB':
|
||||
user => 'jake'
|
||||
}
|
||||
$keys = [
|
||||
"8A8F901A", # Sublime Text
|
||||
"D1483FA6C3C07136" # Tor Browser
|
||||
]
|
||||
|
||||
exec { 'pacman-key -r 962DDE58':
|
||||
$keys.each |$key| {
|
||||
exec { "gpg --recv-keys $key":
|
||||
user => 'jake',
|
||||
unless => "gpg --list-keys $key"
|
||||
}
|
||||
|
||||
exec { 'pacman-key --lsign-key 962DDE58':
|
||||
exec { "add $key for root": # So root can install things
|
||||
command => "gpg --recv-keys $key",
|
||||
unless => "gpg --list-keys $key"
|
||||
}
|
||||
exec { "pacman-key -r $key":
|
||||
unless => "pacman-key --list-keys $key"
|
||||
}
|
||||
exec { "pacman-key --lsign-key $key":
|
||||
}
|
||||
|
||||
exec { 'gpg --keyserver pool.sks-keyservers.net --recv-keys 2E1AC68ED40814E0':
|
||||
user => 'jake'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue