Skip to content

Commit

Permalink
new supermarket release
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Dowling committed Aug 31, 2016
1 parent d7cc42d commit 1988a1b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 4 additions & 3 deletions Berksfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ source 'https://supermarket.chef.io'

metadata

cookbook 'java', '~> 1.39.0'
cookbook 'ndb', github: "hopshadoop/ndb-chef", branch: "master"
cookbook 'kagent', github: "karamelchef/kagent-chef", branch: "master"
cookbook 'java'

cookbook 'kagent', '~> 0.1.3'
cookbook 'ndb', '~> 0.2.1'

cookbook 'ulimit2', '~> 0.2.0'
cookbook 'elasticsearch', '~> 2.2.0'
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
maintainer_email "[email protected]"
license "Apache v2.0"
description 'Installs/Configures/Runs elasticsearch'
version "0.1.1"
version "0.1.2"

recipe "elastic::install", "Experiment setup for elasticsearch"
recipe "elastic::default", "Configures and starts an elasticsearch server"
Expand Down
2 changes: 2 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
#!/bin/bash


cb=$(grep "^name\s*" metadata.rb | perl -p -e 's/"//g' | perl -p -e "s/name\s*//g")

echo "Releasing cookbook: $cb to Chef supermarket"
if [ $cb == "" ] ; then
echo "Couldnt determine cookbook name. Exiting..."
fi

rm -f Berksfile.lock
rm -rf /tmp/cookbooks
berks vendor /tmp/cookbooks
cp metadata.rb /tmp/cookbooks/$cb/
Expand Down

0 comments on commit 1988a1b

Please sign in to comment.