Skip to content

Commit

Permalink
Merge pull request #16 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 9f27749 + 5c807fa commit ba6c298
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
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'

group :integration do
cookbook "test-rightscale_backup", path: "./test/cookbooks/test-rightscale_backup"
end
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_backup Cookbook CHANGELOG

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

v1.1.8
------

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

v1.1.7
------

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

depends 'build-essential'
depends 'rightscale_volume', '~> 1.2.2'

recipe 'rightscale_backup::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.
#

Chef::Log.info "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 ba6c298

Please sign in to comment.