Skip to content

Commit

Permalink
Merge pull request #8 from svanharmelen/dev
Browse files Browse the repository at this point in the history
Updated the upstart conf to prevent any ASCII errors
  • Loading branch information
Sander van Harmelen committed Aug 29, 2014
2 parents 50b465e + 4dc732d commit ca3d55a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
license 'Apache 2.0'
description 'Installs/Configures Chef-Guard'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.4'
version '0.1.5'

%w(redhat centos ubuntu).each do |os|
supports os
Expand Down
1 change: 1 addition & 0 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
:template_file => source.to_s,
:basedir => node['chef-guard']['install_dir']
)
notifies :reload, 'service[chef-guard]'
end

template "#{node['chef-guard']['install_dir']}/chef-guard.conf" do
Expand Down
3 changes: 3 additions & 0 deletions templates/default/chef-guard.upstart.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ description "Chef-Guard"
start on runlevel [2345]
stop on runlevel [!2345]

env LANG=en_US.UTF-8
export LANG

respawn

exec <%= @basedir %>/chef-guard >> <%= @basedir %>/console.log

0 comments on commit ca3d55a

Please sign in to comment.