Set up Zerotier Controller UI #305

Merged
greg merged 2 commits from feature/zncui into master 2021-02-08 21:16:53 +00:00
Showing only changes of commit 9a54a7554f - Show all commits

View File

@ -9,12 +9,10 @@ remote_file package_path do
source "https://s3-us-west-1.amazonaws.com/key-networks/deb/ztncui/1/x86_64/ztncui_#{node['ztncui']['version']}_amd64.deb"
checksum node['ztncui']['checksum']
action :create_if_missing
notifies :run, 'bash[install_ztncui_package]', :immediately
end
bash 'install_ztncui_package' do
code "apt-get install -y #{package_path}"
action :nothing
dpkg_package 'ztncui' do
source package_path
raucao marked this conversation as resolved Outdated
Outdated
Review

I'd use the package resource for this instead of running a bash command

I'd use the [package resource](https://docs.chef.io/resources/package) for this instead of running a bash command
end
service "ztncui" do