Skip to content

Commit

Permalink
Fixed issue with init template and chef 11.x where template path was
Browse files Browse the repository at this point in the history
being appended twice to the platform template path.  This fix should
work for chef 11.x and 12.x.
  • Loading branch information
Ray Rodriguez committed Mar 13, 2015
1 parent 441e50d commit 4188c51
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ suites:
attributes:
prometheus:
init_style: 'init'
flags:
storage.remote.timeout: 45s

- name: bluepill
run_list:
Expand Down
2 changes: 1 addition & 1 deletion recipes/source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
end
else
template '/etc/init.d/prometheus' do
source "#{node['platform']}/prometheus.erb"
source 'prometheus.erb'
owner 'root'
group node['root_group']
mode '0755'
Expand Down

0 comments on commit 4188c51

Please sign in to comment.