Skip to content

Commit

Permalink
Improve kitchen + delete old rep on rhel
Browse files Browse the repository at this point in the history
  • Loading branch information
kamaradclimber committed Sep 25, 2013
1 parent de8737a commit a817a58
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@ platforms:

suites:
- name: default
run_list: ["recipe[monit]"]
run_list:
- "recipe[yum::epel]"
- "recipe[monit]"
attributes: {}
4 changes: 4 additions & 0 deletions Berksfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
site :opscode
metadata
cookbook 'yum'

11 changes: 11 additions & 0 deletions Berksfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"sha": "5d83f27199d12a655a7c28f669da8d7a5769fec5",
"sources": {
"monit": {
"path": "."
},
"yum": {
"locked_version": "2.2.0"
}
}
}
4 changes: 4 additions & 0 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
file '/etc/monit.conf' do
action :delete
end
directory '/etc/monit.d' do
action :delete
recursive true
end
end

directory "/etc/monit" do
Expand Down

0 comments on commit a817a58

Please sign in to comment.