itamae-plugin-recipe-erlang 0.0.2 → 0.0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4179a98f322bba004acc88d98582d1248bc228545023ed1c7671aa6e1142bf75
4
- data.tar.gz: 39832d73dd56112b08f46d4ef4acffb8bfd2e9710c9a54f10f6218224829a8bd
3
+ metadata.gz: e23e18251955bb76535454033e0cf08f42d6acc221c38903c541e8c90adf293e
4
+ data.tar.gz: 587fe7709f32d3d6dd5e64c3d8229b7229622f415456b4cdf9960ddcd8f44ec4
5
5
  SHA512:
6
- metadata.gz: fc8397cecc78c270bd0da2c74a06e2e6faa49d73e5adce165b43be7ba1c593a167c3bfe36c1247129e8d0d35e25c617aad2eaab0ef791e74407890ed72cd5e2a
7
- data.tar.gz: 0adc8b8bf7f58fee085fa5ad2af478e7fbe4b89f19925d5dd97cc6c5a65278d6fdf945be72b73f48fe356b21e3e03ad444c1f8abf207a6fdc20eb9af01665863
6
+ metadata.gz: 91448e9f30f0cbba5232caef9c07fcd39822cc656b62f75c0cae832bd906263080d9b2ec6fa361305d63fff09b04052413790d9c1bf0879ec0a62b69f5ee5609
7
+ data.tar.gz: e32b0637e6d1a1d6a5896a6f692d8da3c1b6e0c7f92173e5282a4f162674fda74548554ff587b4de11c648fd3b4f158d7b79d705c5f78ab58c2c4e9555bcd952
@@ -4,6 +4,7 @@ erlang_version = node[:erlang][:version]
4
4
  erlang_configure_options = node[:erlang][:configure_options]
5
5
  erlang_enable_apps = node[:erlang][:enable_apps]
6
6
  erlang_disable_apps = node[:erlang][:disable_apps]
7
+ kerl_build_backend = node[:erlang][:kerl][:build_backend] || "tarball"
7
8
 
8
9
  directory "/usr/local/kerl" do
9
10
  mode "0755"
@@ -21,7 +22,8 @@ template "/root/.kerlrc" do
21
22
  erlang_version: erlang_version,
22
23
  erlang_configure_options: erlang_configure_options,
23
24
  erlang_enable_apps: erlang_enable_apps,
24
- erlang_disable_apps: erlang_disable_apps
25
+ erlang_disable_apps: erlang_disable_apps,
26
+ kerl_build_backend: kerl_build_backend
25
27
  )
26
28
  end
27
29
 
@@ -4,7 +4,7 @@ KERL_CONFIG=/root/.kerlrc
4
4
  KERL_DOWNLOAD_DIR=${KERL_BASE_DIR}/archives
5
5
  KERL_BUILD_DIR=${KERL_BASE_DIR}/builds
6
6
  KERL_GIT_DIR=${KERL_BASE_DIR}/gits
7
- KERL_BUILD_BACKEND=git
7
+ KERL_BUILD_BACKEND=<%= @kerl_build_backend %>
8
8
 
9
9
  # build config
10
10
  KERL_CONFIGURE_OPTIONS="<%= @erlang_configure_options %>"
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Erlang
5
- VERSION = "0.0.2"
5
+ VERSION = "0.0.2.1"
6
6
  end
7
7
  end
8
8
  end
data/recipes/node.yml CHANGED
@@ -1,5 +1,7 @@
1
1
  erlang:
2
- version: "20.3.2"
2
+ version: 20.2
3
3
  configure_options: ""
4
4
  enable_apps: ""
5
5
  disable_apps: ""
6
+ kerl:
7
+ build_backend: "tarball"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-recipe-erlang
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ohr486