itamae-plugin-recipe-erlang 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +7 -0
- data/README.md +2 -1
- data/Vagrantfile +1 -1
- data/ci/build.sh +0 -2
- data/lib/itamae/plugin/recipe/erlang/setup.rb +11 -9
- data/lib/itamae/plugin/recipe/erlang/templates/kerlrc.erb +1 -0
- data/lib/itamae/plugin/recipe/erlang/version.rb +1 -1
- data/recipes/node.yml +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4179a98f322bba004acc88d98582d1248bc228545023ed1c7671aa6e1142bf75
|
4
|
+
data.tar.gz: 39832d73dd56112b08f46d4ef4acffb8bfd2e9710c9a54f10f6218224829a8bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc8397cecc78c270bd0da2c74a06e2e6faa49d73e5adce165b43be7ba1c593a167c3bfe36c1247129e8d0d35e25c617aad2eaab0ef791e74407890ed72cd5e2a
|
7
|
+
data.tar.gz: 0adc8b8bf7f58fee085fa5ad2af478e7fbe4b89f19925d5dd97cc6c5a65278d6fdf945be72b73f48fe356b21e3e03ad444c1f8abf207a6fdc20eb9af01665863
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# Itamae::Plugin::Recipe::Erlang
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/itamae-plugin-recipe-erlang.svg)](https://badge.fury.io/rb/itamae-plugin-recipe-erlang)
|
3
4
|
[![wercker status](https://app.wercker.com/status/d64235a018605ddf4ebee04532597235/m/master "wercker status")](https://app.wercker.com/project/byKey/d64235a018605ddf4ebee04532597235)
|
4
5
|
|
5
6
|
Itamae plugin to install erlang with kerl
|
@@ -37,7 +38,7 @@ Use this with `itamae -y node.yml`
|
|
37
38
|
# node.yml
|
38
39
|
erlang:
|
39
40
|
# target version
|
40
|
-
version: 20.
|
41
|
+
version: 20.3
|
41
42
|
# build options, see: https://github.com/kerl/kerl#build-configuration
|
42
43
|
configure_options: ""
|
43
44
|
enable_apps: ""
|
data/Vagrantfile
CHANGED
@@ -25,7 +25,7 @@ Vagrant.configure("2") do |config|
|
|
25
25
|
config.vm.define "centos7" do |c|
|
26
26
|
c.vm.box = "centos/7"
|
27
27
|
c.vm.provider :digital_ocean do |provider, override|
|
28
|
-
provider.image = "centos-7-
|
28
|
+
provider.image = "centos-7-x64"
|
29
29
|
end
|
30
30
|
c.vm.hostname = "centos7"
|
31
31
|
c.vm.hostname += "-#{ENV["WERCKER_RUN_ID"]}" if ENV["WERCKER_RUN_ID"]
|
data/ci/build.sh
CHANGED
@@ -25,15 +25,6 @@ template "/root/.kerlrc" do
|
|
25
25
|
)
|
26
26
|
end
|
27
27
|
|
28
|
-
template "/etc/profile.d/kerl.sh" do
|
29
|
-
action :create
|
30
|
-
source "templates/kerl.sh.erb"
|
31
|
-
owner "root"
|
32
|
-
group "root"
|
33
|
-
mode "644"
|
34
|
-
variables(erlang_version: erlang_version)
|
35
|
-
end
|
36
|
-
|
37
28
|
# --- INSTALL ---
|
38
29
|
|
39
30
|
execute "# get kerl" do
|
@@ -52,3 +43,14 @@ execute "# activate erlang" do
|
|
52
43
|
not_if "test -e /usr/local/kerl/erlang/#{erlang_version}"
|
53
44
|
command "kerl install #{erlang_version} /usr/local/kerl/erlang/#{erlang_version}"
|
54
45
|
end
|
46
|
+
|
47
|
+
# profile
|
48
|
+
|
49
|
+
template "/etc/profile.d/kerl.sh" do
|
50
|
+
action :create
|
51
|
+
source "templates/kerl.sh.erb"
|
52
|
+
owner "root"
|
53
|
+
group "root"
|
54
|
+
mode "644"
|
55
|
+
variables(erlang_version: erlang_version)
|
56
|
+
end
|
data/recipes/node.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itamae-plugin-recipe-erlang
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ohr486
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: itamae
|
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
131
|
version: '0'
|
132
132
|
requirements: []
|
133
133
|
rubyforge_project:
|
134
|
-
rubygems_version: 2.
|
134
|
+
rubygems_version: 2.7.3
|
135
135
|
signing_key:
|
136
136
|
specification_version: 4
|
137
137
|
summary: Itamae plugin to install erlang with kerl
|