summaryrefslogtreecommitdiff
path: root/strata/chef/net-ssh-2.9.1.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/chef/net-ssh-2.9.1.morph')
-rw-r--r--strata/chef/net-ssh-2.9.1.morph6
1 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 54396676..6425939c 100644
--- a/strata/chef/net-ssh-2.9.1.morph
+++ b/strata/chef/net-ssh-2.9.1.morph
@@ -5,6 +5,12 @@ products:
- artifact: net-ssh-2.9.1-doc
include:
- usr/lib/ruby/gems/2.0.0/doc/.*
+configure-commands:
+# FIXME: this is a very simplistic way of disabling signing, the gemspec
+# is arbitrary Ruby code and these regexps are certainly inadequate, although
+# they tend to work. Better to fix `gem` so that it will build an unsigned
+# Gem.
+- sed -e '/signing_key =/ d' -e '/cert_chain =/ d' -i net-ssh.gemspec
build-commands:
- gem build net-ssh.gemspec
install-commands: