Skip to content

Commit

Permalink
Merge pull request #20 from rightscale-cookbooks/ST-1_dependencies_fo…
Browse files Browse the repository at this point in the history
…r_right_api_client

St 1 dependencies for right api client
  • Loading branch information
douglaswth committed Apr 1, 2015
2 parents 873261d + 700db67 commit 756cf51
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: ruby
rvm:
- 2.0.0
- 1.9.3
before_script: bundle exec berks install
script: bundle exec strainer test
notifications:
slack:
Expand Down
2 changes: 2 additions & 0 deletions Berksfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ site :opscode

metadata

cookbook 'build-essential'

cookbook "delayed_evaluator", github: "chrisroberts/cookbook-delayed_evaluator"
cookbook "marker", github: "rightscale-cookbooks/marker"
cookbook "test-rightscale_volume", path: "./test/cookbooks/test-rightscale_volume"
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ rightscale_volume Cookbook CHANGELOG

This file is used to list changes made in each version of the rightscale_volume cookbook.

v1.2.7
------

- Include 'build-essentials' which installs packages required for compiling and installing right_api_client.

v1.2.6
------

Expand Down
4 changes: 3 additions & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
license 'Apache 2.0'
description 'Provides a resource to manage volumes on any cloud RightScale supports.'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '1.2.6'
version '1.2.7'

depends 'build-essential'

recipe "rightscale_volume::default", "Default recipe for installing required packages/gems."
6 changes: 5 additions & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
# limitations under the License.
#

log "Installing required gems..."
log 'Installing required gems and dependencies...'

# Install build-essentials at compile time so it is available for right_api_client
node.normal['build-essential']['compile_time'] = true
include_recipe 'build-essential'

# Install gems during compile phase so that they are available to files
# which require them during converge phase.
Expand Down

0 comments on commit 756cf51

Please sign in to comment.