Skip to content

Commit

Permalink
Adjusting node attribute references to match existing style and confo…
Browse files Browse the repository at this point in the history
…rm to Foodcritic FC019
  • Loading branch information
cheeseplus committed Mar 25, 2013
1 parent 26aae0b commit dac3719
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions attributes/monit.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
default.riak.monit.process_matching = "/usr/lib/riak/erts-5.8.5/bin/beam.smp"
default.riak.monit.start_program = "/usr/sbin/riak"
default.riak.monit.http_host = "localhost"
default.riak.monit.http_port = "8098"
default['riak']['monit']['process_matching'] = "/usr/lib/riak/erts-5.8.5/bin/beam.smp"
default['riak']['monit']['start_program'] = "/usr/sbin/riak"
default['riak']['monit']['http_host'] = "localhost"
default['riak']['monit']['http_port'] = "8098"
8 changes: 4 additions & 4 deletions recipes/monit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

monitrc "riak" do
variables(
:process_matching => node[:riak][:monit][:process_matching],
:start_program => node[:riak][:monit][:start_program],
:http_host => node[:riak][:monit][:http_host],
:http_port => node[:riak][:monit][:http_port]
:process_matching => node['riak']['monit']['process_matching'],
:start_program => node['riak']['monit']['start_program'],
:http_host => node['riak']['monit']['http_host'],
:http_port => node['riak']['monit']['http_port']
)
template_source "riak-monit.conf.erb"
template_cookbook "riak"
Expand Down

0 comments on commit dac3719

Please sign in to comment.