Skip to content

Commit 106b483

Browse files
authored
BIGTOP-3962. Fix setup failure of Ant due to unresolved gpg public key. (#1139)
1 parent 9f6b568 commit 106b483

File tree

1 file changed

+5
-0
lines changed
  • bigtop_toolchain/manifests

1 file changed

+5
-0
lines changed

bigtop_toolchain/manifests/ant.pp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@
3434
unless => "/usr/bin/test -f /usr/src/$ant-bin.tar.gz.asc",
3535
} ~>
3636

37+
exec { 'Import KEYS to verify signature':
38+
command => "/usr/bin/curl -q $apache_prefix/ant/KEYS | /usr/bin/$bigtop_toolchain::gnupg::cmd --import -",
39+
cwd => "/usr/src",
40+
} ->
41+
3742
exec { 'Verify Ant binaries':
3843
command => "/usr/bin/$bigtop_toolchain::gnupg::cmd -v --verify --auto-key-retrieve --keyserver hkp://keyserver.ubuntu.com $ant-bin.tar.gz.asc",
3944
cwd => "/usr/src",

0 commit comments

Comments
 (0)