-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix testing, fix graphite plugin recipe bugs, cleanup (+12 squashed c…
…ommits) Squashed commits: [10a37f9] Cleaner attribute listing [269f9e7] Moving the plugin packages out of attributes and into recipe Easier to test this part of the recipe if implemented this way. Chefspec/rspec was having a hard time rendering what packages were needed for the install, this took out the abstraction and allowed rspec to just work.. [992224f] Lacking consistency [ac9ce9d] Adding explicit action for rspec testing [ddb614e] Adding rspec documentation and color output Make it much easier to parse the test output to see what is going wrong and where. [442968c] Adding supported platforms definition to call in tests Saw this implementation method in the apache2 cookbook, very useful to quickly add testing for all your supported platforms. See default_spec test for a test implementation example [28ae93e] Lacking consistency [19dcff6] Completely reworked, added more tests as well [ec58006] Adding new spec test for the graphite plugin recipe [8986ec7] This test never really worked right, removed [9245fa9] Condense tests, adding testing for the graphite plugin Includes test for the files being pulled down for the plugin, content of files and the cronjob being added [dbee4c0] CHANGELOG Update/Cleanup * Standardize markdown formatting current and past entries * Add new content related to release 3.0.3
- Loading branch information
Showing
12 changed files
with
273 additions
and
210 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
require 'chefspec' | ||
require 'chefspec/berkshelf' | ||
|
||
Dir['./spec/support/**/*.rb'].sort.each { |f| require f } | ||
|
||
RSpec.configure do |config| | ||
config.formatter = :documentation | ||
config.color = true | ||
end | ||
|
||
at_exit { ChefSpec::Coverage.report! } |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
def supported_platforms | ||
_platforms = { | ||
'ubuntu' => ['14.04'], | ||
'redhat' => ['6.6', '7.1'], | ||
'centos' => ['6.7', '7.2.1511'] | ||
} | ||
end |
Oops, something went wrong.