summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-06-13 16:54:56 -0400
committerMicah Anderson <micah@riseup.net>2013-06-13 16:54:56 -0400
commit03cb737490a12813b63801bbf9198e7e4a91a37b (patch)
tree9ed0668b2c1e4af95944a408f5311f54eb0906e3
parent41e09b5aed53948650579547f6fc0a771793f1ae (diff)
install the leap-keyring package, after the leap apt source has been added and apt has been refreshed
Change-Id: I485420c4ea50f8c3f6699b9b8073dc6c67b7a353
-rw-r--r--puppet/modules/site_apt/manifests/leap_repo.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/puppet/modules/site_apt/manifests/leap_repo.pp b/puppet/modules/site_apt/manifests/leap_repo.pp
index 9d967841..6b3d9919 100644
--- a/puppet/modules/site_apt/manifests/leap_repo.pp
+++ b/puppet/modules/site_apt/manifests/leap_repo.pp
@@ -4,4 +4,11 @@ class site_apt::leap_repo {
before => Exec[refresh_apt]
}
+ package { 'leap-keyring':
+ ensure => latest
+ }
+
+ # We wont be able to install the leap-keyring package unless the leap apt
+ # source has been added and apt has been refreshed
+ Exec['refresh_apt'] -> Package['leap-keyring']
}