summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-09-22 15:13:24 (GMT)
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-09-22 15:13:24 (GMT)
commita54137b371af7ae88e88b5db8bd4d16a5b17a80f (patch)
tree317c4487e1219d4d7966c07f55a7da1a626ee6cb
parent4ee24691fdaa8da50b1705976504c7977f29fe57 (diff)
downloaddefinitions-baserock/sam/chef.tar.gz
chef: Fix build of signed Gems, by doing an unsigned buildbaserock/sam/chef
-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 8fcb949..6b8da01 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 82c2d65..b899247 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 768faf3..4130bd6 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: