summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-09-22 15:13:24 +0000
committerJim MacArthur <jim.macarthur@codethink.co.uk>2015-01-19 19:07:36 +0000
commitbb332e961389f91f318c8feeb3dd333bb7ac7a71 (patch)
treeafc37ea1bc72e8cd4708050a0594a72eda68c09c
parent50043379f43556479205660cabc169fc2183ec2f (diff)
downloaddefinitions-bb332e961389f91f318c8feeb3dd333bb7ac7a71.tar.gz
chef: Fix build of signed Gems, by doing an unsigned build
-rw-r--r--strata/chef/net-ssh-2.9.1.morph2
-rw-r--r--strata/chef/net-ssh-gateway-1.2.0.morph2
-rw-r--r--strata/chef/net-ssh-multi-1.2.0.morph2
3 files changed, 6 insertions, 0 deletions
diff --git a/strata/chef/net-ssh-2.9.1.morph b/strata/chef/net-ssh-2.9.1.morph
index 52afaba6..c06495d5 100644
--- a/strata/chef/net-ssh-2.9.1.morph
+++ b/strata/chef/net-ssh-2.9.1.morph
@@ -5,6 +5,8 @@ products:
- artifact: net-ssh-2.9.1-doc
include:
- usr/lib/ruby/gems/\d[\w.]*/doc/.*
+configure-commands:
+- sed -e '/cert_chain\s*=/d' -e '/signing_key\s*=/d' -i net-ssh.gemspec
build-commands:
- gem build net-ssh.gemspec
install-commands:
diff --git a/strata/chef/net-ssh-gateway-1.2.0.morph b/strata/chef/net-ssh-gateway-1.2.0.morph
index b6e9dc39..c0425002 100644
--- a/strata/chef/net-ssh-gateway-1.2.0.morph
+++ b/strata/chef/net-ssh-gateway-1.2.0.morph
@@ -5,6 +5,8 @@ products:
- artifact: net-ssh-gateway-1.2.0-doc
include:
- usr/lib/ruby/gems/\d[\w.]*/doc/.*
+configure-commands:
+- sed -e '/cert_chain\s*=/d' -e '/signing_key\s*=/d' -i net-ssh-gateway.gemspec
build-commands:
- gem build net-ssh-gateway.gemspec
install-commands:
diff --git a/strata/chef/net-ssh-multi-1.2.0.morph b/strata/chef/net-ssh-multi-1.2.0.morph
index de59ecc9..fc433a37 100644
--- a/strata/chef/net-ssh-multi-1.2.0.morph
+++ b/strata/chef/net-ssh-multi-1.2.0.morph
@@ -5,6 +5,8 @@ products:
- artifact: net-ssh-multi-1.2.0-doc
include:
- usr/lib/ruby/gems/\d[\w.]*/doc/.*
+configure-commands:
+- sed -e '/cert_chain\s*=/d' -e '/signing_key\s*=/d' -i net-ssh-multi.gemspec
build-commands:
- gem build net-ssh-multi.gemspec
install-commands: