Skip to content

Commit

Permalink
make service name dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
djoos committed Apr 7, 2014
1 parent 4b113cd commit 9145e34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion attributes/meetme-plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#

default['newrelic']['meetme-plugin']['python_recipe'] = 'python::pip'
default['newrelic']['meetme-plugin']['service_name'] = 'newrelic-plugin-agent'
default['newrelic']['meetme-plugin']['service_name'] = 'newrelic-meetme-plugin'
default['newrelic']['meetme-plugin']['wake_interval'] = 60
default['newrelic']['meetme-plugin']['proxy'] = nil
default['newrelic']['meetme-plugin']['services'] = {}
Expand Down
2 changes: 1 addition & 1 deletion recipes/meetme-plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
variables[:group] = node['newrelic']['meetme-plugin']['user']
end

template '/etc/init.d/newrelic-plugin-agent' do
template "/etc/init.d/#{node['newrelic']['meetme-plugin']['service_name']}" do
source 'plugin/meetme/newrelic-plugin-agent.erb'
mode 0755
variables(
Expand Down

0 comments on commit 9145e34

Please sign in to comment.