Compare commits
No commits in common. "0bfe5d74a673598c4260ddafb4f2fafc792ccffe" and "d9546cf4fc7b5edeb83f84cdb8bd91c044bc3d3e" have entirely different histories.
0bfe5d74a6
...
d9546cf4fc
|
@ -1,19 +0,0 @@
|
||||||
URL='https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64'
|
|
||||||
BINARY='/usr/local/bin/cloudflared'
|
|
||||||
|
|
||||||
[
|
|
||||||
"wget #{URL} -O #{BINARY}",
|
|
||||||
].each do |cmd|
|
|
||||||
execute cmd do
|
|
||||||
user 'root'
|
|
||||||
cwd '/tmp/itamae_tmp/'
|
|
||||||
|
|
||||||
not_if "test -e #{BINARY}"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
file "#{BINARY}" do
|
|
||||||
owner 'root'
|
|
||||||
group 'root'
|
|
||||||
mode '755'
|
|
||||||
end
|
|
|
@ -66,9 +66,6 @@ include_recipe './lsyncd.rb'
|
||||||
# Install starship command:
|
# Install starship command:
|
||||||
include_recipe './starship.rb'
|
include_recipe './starship.rb'
|
||||||
|
|
||||||
# Install cloudflared command:
|
|
||||||
include_recipe './cloudflared.rb'
|
|
||||||
|
|
||||||
# recipes for Ubuntu 20.04 and later
|
# recipes for Ubuntu 20.04 and later
|
||||||
case node['platform_version']
|
case node['platform_version']
|
||||||
when "20.04", "22.04"
|
when "20.04", "22.04"
|
||||||
|
|
Loading…
Reference in New Issue