From d1240d43b08cb278bf1ba6fcf0e30b7331a40717 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sat, 14 Nov 2020 12:51:53 +0900 Subject: [PATCH] Add attirbutes for `rclone`. --- cookbooks/digdag/attributes.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cookbooks/digdag/attributes.rb b/cookbooks/digdag/attributes.rb index 045dad6..8d8dd63 100644 --- a/cookbooks/digdag/attributes.rb +++ b/cookbooks/digdag/attributes.rb @@ -8,5 +8,12 @@ node.reverse_merge!({ 'digdag' => { 'binary_url' => 'https://dl.digdag.io/digdag-latest', 'install_path' => '/opt/digdag' - } + }, + 'rclone' => { + 'url' => 'https://github.com/rclone/rclone/releases/download/', + 'prefix' => 'rclone-', + 'postfix' => '-linux-amd64', + 'storage' => '/opt/rclone/', + 'location' => '/usr/local/bin/' + }, })