summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-07-04 08:28:37 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-07-31 16:15:29 +0000
commit6dfbff4984ff1e27f0eb3fd1d08a4c461816013a (patch)
tree74f889593d588cf4016418d3ffcc2992fc7d53bc
parent91e454f3fa22f86b8c08612cb7a79118103328dd (diff)
downloaddefinitions-6dfbff4984ff1e27f0eb3fd1d08a4c461816013a.tar.gz
Add Chef hack attempt #1
This uses a local repo with all the required Gems committed in advance and a script that runs 'gem install' as the build tool.
-rw-r--r--chef-system-x86_32-container.morph2
-rw-r--r--chef.morph12
2 files changed, 13 insertions, 1 deletions
diff --git a/chef-system-x86_32-container.morph b/chef-system-x86_32-container.morph
index a6f37dbf..04ba0f24 100644
--- a/chef-system-x86_32-container.morph
+++ b/chef-system-x86_32-container.morph
@@ -8,9 +8,9 @@ configuration-extensions:
- nfsboot
- install-files
- busybox-init
-- install-chef
strata:
- morph: build-essential
artifacts:
- build-essential-minimal
- morph: ruby
+- morph: chef
diff --git a/chef.morph b/chef.morph
new file mode 100644
index 00000000..cd76fbc2
--- /dev/null
+++ b/chef.morph
@@ -0,0 +1,12 @@
+name: chef
+kind: stratum
+description:
+ Chef stratum with all Gems committed to a Git repo and installed at
+ build time using 'gem install'.
+build-depends:
+ - morph: ruby
+chunks:
+ - name: chef-hack-1
+ repo: file:///src/chef-hack-1
+ ref: master
+ build-depends: []