This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Straining 'my_cookbook (v0.1.0)' | |
…TRUNCATED OUTPUT… | |
knife test | SUCCESS! | |
…TRUNCATED OUTPUT… | |
rubocop | SUCCESS! | |
…TRUNCATED OUTPUT… | |
foodcritic | SUCCESS! | |
…TRUNCATED OUTPUT… | |
chefspec | SUCCESS! | |
…TRUNCATED OUTPUT… |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using my_cookbook (0.1.0) from metadata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fetching gem metadata from https://rubygems.org/....... | |
Fetching additional metadata from https://rubygems.org/.. | |
Resolving dependencies... | |
Installing rake (10.1.1) | |
…TRUNCATED OUTPUT… | |
Installing chef (11.8.0) | |
Installing fauxhai (2.0.1) | |
Installing rspec-core (2.14.7) | |
Installing rspec-expectations (2.14.5) | |
Installing rspec-mocks (2.14.5) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Initializing Cookbook | |
* Initializing Berkshelf | |
* Initializing Vagranfile | |
* Initializing Strainer | |
* Initializing Knife | |
* Initializing Rubocop | |
* Initializing Food Critic | |
* Initializing Chef Spec | |
Creating ./cookbooks/my_cookbook/test/unit/spec/spec_helper.rb | |
Creating ./cookbooks/my_cookbook/test/unit/spec/default_spec.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fetching: berkshelf-2.0.13.gem (100%) | |
Fetching: meez-0.0.8.gem (100%) | |
Successfully installed berkshelf-2.0.13 | |
Successfully installed meez-0.0.8 | |
2 gems installed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc "Upload all json files from data bag BAG" | |
task :upload_data_bags do | |
bag = ENV['BAG'] || raise("Usage: rake upload_data_bags BAG=apps") | |
Dir[File.join(File.dirname(__FILE__), 'data_bags', bag, '**')].each do |file| | |
puts `knife data bag from file #{bag} #{File.basename(file)}` | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# initializer | |
Resque::Failure::Multiple.configure do |config| | |
config.classes = [Resque::Failure::Redis, Resque::Failure::Notifier] | |
end | |
#lib/resque/failure/notifier.rb | |
#=============================== |