Skip to content

Commit

Permalink
Merge pull request redhat-openstack#239 from mattymo/gpgkeycheck
Browse files Browse the repository at this point in the history
Optimize check for RHEL GPG key
  • Loading branch information
cmurphy committed Dec 5, 2014
2 parents ae876f6 + 15ec284 commit 50b9411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/repo/rhel.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

exec { "rpm --import ${package_gpg_key}":
path => ['/bin','/usr/bin','/sbin','/usr/sbin'],
onlyif => 'test `rpm -qa | grep gpg-pubkey-056e8e56-468e43f2 | wc -l` -eq 0',
unless => 'rpm -q gpg-pubkey-056e8e56-468e43f2 2>/dev/null',
}

}

0 comments on commit 50b9411

Please sign in to comment.