itamae/cookbooks/consul-template/prerequisites.rb

15 lines
231 B
Ruby
Raw Normal View History

2019-03-03 08:50:49 +00:00
# Ensure that `unzip` and `dnsmasq` are available:
%w( unzip ).each do |p|
package p do
action :install
end
end
%w( /opt/consul/bin ).each do |d|
directory d do
owner 'root'
group 'root'
mode '755'
end
end