Skip to content

Commit

Permalink
Create the /var/lib/consul directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbellone committed Feb 14, 2015
1 parent 54fdd67 commit ff460f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libraries/provider_consul_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ def whyrun_supported?
group_name parsed_run_group
not_if { group_name == 'root' }
end

directory "#{new_resource.name} :create /var/lib/#{consul_name}" do
owner parsed_run_user
group parsed_run_group
mode '0744'
end
end

action :delete do
Expand Down

0 comments on commit ff460f7

Please sign in to comment.