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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 8ab665afe764d0f89f0334986b84a7cc962f7a4a
4
- data.tar.gz: fed8ee49e18b9761018291803f073d5da3a1868e
2
+ SHA256:
3
+ metadata.gz: 4179a98f322bba004acc88d98582d1248bc228545023ed1c7671aa6e1142bf75
4
+ data.tar.gz: 39832d73dd56112b08f46d4ef4acffb8bfd2e9710c9a54f10f6218224829a8bd
5
5
  SHA512:
6
- metadata.gz: 5016395097be63741a44e40c130ca085abe83b28beb5f60ed789261cf50d721168c5512a7daa2c7a450c659e4977e684b1bd2b2f05609aa816d5f56e9dbff265
7
- data.tar.gz: b2e29d0fa5ad50031eea4d27e3b02b5e391538a8aba9b6496a6dffe846e75586292a21c600b621be08a04b181ddbb515401927a759fe1028a39e0388c9282003
6
+ metadata.gz: fc8397cecc78c270bd0da2c74a06e2e6faa49d73e5adce165b43be7ba1c593a167c3bfe36c1247129e8d0d35e25c617aad2eaab0ef791e74407890ed72cd5e2a
7
+ data.tar.gz: 0adc8b8bf7f58fee085fa5ad2af478e7fbe4b89f19925d5dd97cc6c5a65278d6fdf945be72b73f48fe356b21e3e03ad444c1f8abf207a6fdc20eb9af01665863
data/.gitignore CHANGED
@@ -55,6 +55,13 @@ Gemfile.lock
55
55
  # for vagrant
56
56
  .vagrant
57
57
 
58
+ # for ide
59
+ .idea
60
+ *.impl
61
+
58
62
  # for editor
59
63
  *.swp
60
64
  *~
65
+
66
+ # for mac
67
+ .DS_Store
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.0
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-0-x64"
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
@@ -3,8 +3,6 @@
3
3
  readonly HOST=$1
4
4
 
5
5
  vagrant up $HOST --provider=digital_ocean
6
- vagrant status
7
- vagrant ssh-config
8
6
 
9
7
  bundle exec rake itamae:$HOST
10
8
  bundle exec rake spec:$HOST
@@ -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
@@ -4,6 +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
8
 
8
9
  # build config
9
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.1"
5
+ VERSION = "0.0.2"
6
6
  end
7
7
  end
8
8
  end
data/recipes/node.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  erlang:
2
- version: 20.0
2
+ version: "20.3.2"
3
3
  configure_options: ""
4
4
  enable_apps: ""
5
5
  disable_apps: ""
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.1
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: 2017-08-27 00:00:00.000000000 Z
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.6.11
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