diff --git a/base/files/default/berks b/base/files/default/berks deleted file mode 100644 index b4721567..00000000 --- a/base/files/default/berks +++ /dev/null @@ -1,22 +0,0 @@ -#!/opt/chef/embedded/bin/ruby -# -# This file was generated by RubyGems. -# -# The application 'berkshelf' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require 'rubygems' - -version = ">= 0.a" - -if ARGV.first - str = ARGV.first - str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding - if str =~ /\A_(.*)_\z/ and Gem::Version.correct?($1) then - version = $1 - ARGV.shift - end -end - -load Gem.activate_bin_path('berkshelf', 'berks', version) diff --git a/base/files/default/pgloader_amd64 b/base/files/default/pgloader_amd64 deleted file mode 100644 index 9354f55e..00000000 Binary files a/base/files/default/pgloader_amd64 and /dev/null differ diff --git a/base/files/default/pgloader_arm64 b/base/files/default/pgloader_arm64 deleted file mode 100755 index 2e1bf7f4..00000000 Binary files a/base/files/default/pgloader_arm64 and /dev/null differ diff --git a/base/files/default/zephir.phar b/base/files/default/zephir.phar deleted file mode 100644 index 36a4f4d9..00000000 Binary files a/base/files/default/zephir.phar and /dev/null differ diff --git a/base/recipes/berks.rb b/base/recipes/berks.rb index e09209f3..82a55648 100644 --- a/base/recipes/berks.rb +++ b/base/recipes/berks.rb @@ -4,9 +4,9 @@ notifies :create, "cookbook_file[berks]", :immediately end -cookbook_file "berks" do +remote_file "berks" do path "/opt/chef/embedded/bin/berks" - source "berks" + source "https://miscfile-staging.s3.amazonaws.com/chef/base/berks" owner "root" group "root" mode "0775" diff --git a/base/recipes/phalcon.rb b/base/recipes/phalcon.rb index 0902d953..f9833921 100644 --- a/base/recipes/phalcon.rb +++ b/base/recipes/phalcon.rb @@ -30,8 +30,9 @@ end # Add Zephir Phar -cookbook_file "zephir.phar" do +remote_file "zephir.phar" do path "/usr/local/bin/zephir" + source "https://miscfile-staging.s3.amazonaws.com/chef/base/zephir.phar" mode "0755" end diff --git a/base/recipes/timescale.rb b/base/recipes/timescale.rb index fe3d1ad8..11250c36 100644 --- a/base/recipes/timescale.rb +++ b/base/recipes/timescale.rb @@ -49,9 +49,9 @@ else "amd64" end - cookbook_file "/usr/local/bin/pgloader" do + remote_file "/usr/local/bin/pgloader" do mode "0755" - source "pgloader_#{arch}" + source "https://miscfile-staging.s3.amazonaws.com/chef/base/pgloader_#{arch}" end else include_recipe cookbook_name + "::pgloader" diff --git a/dnsmasq/files/default/dnsmasq-2.89-amd64-18.04 b/dnsmasq/files/default/dnsmasq-2.89-amd64-18.04 deleted file mode 100755 index b6e3aa50..00000000 Binary files a/dnsmasq/files/default/dnsmasq-2.89-amd64-18.04 and /dev/null differ diff --git a/dnsmasq/files/default/dnsmasq-2.89-amd64-20.04 b/dnsmasq/files/default/dnsmasq-2.89-amd64-20.04 deleted file mode 100755 index 5ffe03e1..00000000 Binary files a/dnsmasq/files/default/dnsmasq-2.89-amd64-20.04 and /dev/null differ diff --git a/dnsmasq/files/default/dnsmasq-2.89-amd64-22.04 b/dnsmasq/files/default/dnsmasq-2.89-amd64-22.04 deleted file mode 100755 index 0fd84a24..00000000 Binary files a/dnsmasq/files/default/dnsmasq-2.89-amd64-22.04 and /dev/null differ diff --git a/dnsmasq/files/default/dnsmasq-2.89-arm64-18.04 b/dnsmasq/files/default/dnsmasq-2.89-arm64-18.04 deleted file mode 100755 index ec30a0bc..00000000 Binary files a/dnsmasq/files/default/dnsmasq-2.89-arm64-18.04 and /dev/null differ diff --git a/dnsmasq/files/default/dnsmasq-2.89-arm64-20.04 b/dnsmasq/files/default/dnsmasq-2.89-arm64-20.04 deleted file mode 100755 index e5a6c402..00000000 Binary files a/dnsmasq/files/default/dnsmasq-2.89-arm64-20.04 and /dev/null differ diff --git a/dnsmasq/files/default/dnsmasq-2.89-arm64-22.04 b/dnsmasq/files/default/dnsmasq-2.89-arm64-22.04 deleted file mode 100755 index 2cf3336f..00000000 Binary files a/dnsmasq/files/default/dnsmasq-2.89-arm64-22.04 and /dev/null differ diff --git a/dnsmasq/recipes/default.rb b/dnsmasq/recipes/default.rb index c8142cba..c4e70bc7 100644 --- a/dnsmasq/recipes/default.rb +++ b/dnsmasq/recipes/default.rb @@ -6,9 +6,9 @@ else "amd64" end -cookbook_file "/usr/sbin/dnsmasq" do +remote_file "/usr/sbin/dnsmasq" do mode "0755" - source "dnsmasq-#{node["dnsmasq"]["version"]}-#{arch}-#{node["lsb"]["release"]}" + source "https://miscfile-staging.s3.amazonaws.com/chef/dnsmasq/dnsmasq-#{node["dnsmasq"]["version"]}-#{arch}-#{node["lsb"]["release"]}" atomic_update true action :create end