itamae-plugin-recipe-consul 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5f1c3df2b8c5f0a6149ee1a48eddd3a6dcf6cebd
4
- data.tar.gz: 1bb3009b9b3ac0c7408bdd6fb024a52bc3dc71dc
3
+ metadata.gz: e9d7c9bf0c490fc24900cb0a1cbfb2141afd4d8e
4
+ data.tar.gz: 7b5157e6b019bca630bef1f09934b5c3c8118b10
5
5
  SHA512:
6
- metadata.gz: a75ac2b3c2a61779e40de7eab0e2b97324ff19d171031d4bf8f668dc8c9475dc9662be1d5390b99d4e5a473c0fe41e436dd8ebf89bc32732e1c87c546daadeaa
7
- data.tar.gz: 509a12c539b2c19dc5fba382df60dfcb85362dfc6c74ff07ff920f53562b90b45064be0caf59a7b6706de454ba468f8e793b801b2bc4b962e18a2d8cedfd536c
6
+ metadata.gz: 3c02b94419cce56ee87fc5af432a8d81d3f70b4db86733d39528b0ffc7582224b8061f7a8149777c540be826c9e2e9a795b32cd1dc53126a9f53feeac080a41d
7
+ data.tar.gz: c167751fb9a70a07703a480e2c9be15adcfd73ffd0387f63222746ca1202ea093a2c37a7dac4332d76ba0c9ff56dfcd850dd4ea8b0a36ed15b6e23e5127c239b
data/CHANGELOG.md ADDED
@@ -0,0 +1,35 @@
1
+ # Change Log
2
+
3
+ ## [v0.1.0](https://github.com/sue445/itamae-plugin-recipe-consul/tree/v0.1.0) (2016-05-18)
4
+ [Full Changelog](https://github.com/sue445/itamae-plugin-recipe-consul/compare/v0.1.0.beta3...v0.1.0)
5
+
6
+ **Merged pull requests:**
7
+
8
+ - Add platform to node [\#8](https://github.com/sue445/itamae-plugin-recipe-consul/pull/8) ([sue445](https://github.com/sue445))
9
+
10
+ ## [v0.1.0.beta3](https://github.com/sue445/itamae-plugin-recipe-consul/tree/v0.1.0.beta3) (2016-05-09)
11
+ [Full Changelog](https://github.com/sue445/itamae-plugin-recipe-consul/compare/v0.1.0.beta2...v0.1.0.beta3)
12
+
13
+ **Merged pull requests:**
14
+
15
+ - Set mode 644 to file [\#7](https://github.com/sue445/itamae-plugin-recipe-consul/pull/7) ([sue445](https://github.com/sue445))
16
+
17
+ ## [v0.1.0.beta2](https://github.com/sue445/itamae-plugin-recipe-consul/tree/v0.1.0.beta2) (2016-05-04)
18
+ [Full Changelog](https://github.com/sue445/itamae-plugin-recipe-consul/compare/v0.1.0.beta1...v0.1.0.beta2)
19
+
20
+ **Merged pull requests:**
21
+
22
+ - Refactoring [\#6](https://github.com/sue445/itamae-plugin-recipe-consul/pull/6) ([sue445](https://github.com/sue445))
23
+ - Refactoring [\#5](https://github.com/sue445/itamae-plugin-recipe-consul/pull/5) ([sue445](https://github.com/sue445))
24
+
25
+ ## [v0.1.0.beta1](https://github.com/sue445/itamae-plugin-recipe-consul/tree/v0.1.0.beta1) (2016-05-03)
26
+ **Merged pull requests:**
27
+
28
+ - Refactor: rename [\#4](https://github.com/sue445/itamae-plugin-recipe-consul/pull/4) ([sue445](https://github.com/sue445))
29
+ - Write doc [\#3](https://github.com/sue445/itamae-plugin-recipe-consul/pull/3) ([sue445](https://github.com/sue445))
30
+ - Add debian8 recipe [\#2](https://github.com/sue445/itamae-plugin-recipe-consul/pull/2) ([sue445](https://github.com/sue445))
31
+ - Add recipe for CentOS 6 [\#1](https://github.com/sue445/itamae-plugin-recipe-consul/pull/1) ([sue445](https://github.com/sue445))
32
+
33
+
34
+
35
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
@@ -1,3 +1,3 @@
1
- include_recipe "./setup"
2
- include_recipe "./install"
3
- include_recipe "./service"
1
+ include_recipe "consul::setup"
2
+ include_recipe "consul::install"
3
+ include_recipe "consul::service"
@@ -0,0 +1,12 @@
1
+ # Setup init.d script or systemd unit
2
+ include_recipe "consul::service::definitions"
3
+
4
+ directory "/etc/consul.d"
5
+
6
+ case node[:platform]
7
+ when "debian"
8
+ include_recipe "consul::service::debian"
9
+
10
+ when "redhat"
11
+ include_recipe "consul::service::centos"
12
+ end
@@ -21,7 +21,6 @@ define :set_consul_systemd_unit do
21
21
  data_dir: node[:consul][:data_dir],
22
22
  )
23
23
 
24
- notifies :run, "execute[systemctl daemon-reload]"
25
24
  notifies :restart, "service[consul]"
26
25
  end
27
26
 
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Consul
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-recipe-consul
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-18 00:00:00.000000000 Z
11
+ date: 2016-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: itamae
@@ -90,6 +90,7 @@ files:
90
90
  - ".gitignore"
91
91
  - ".paraduct.yml"
92
92
  - ".rspec"
93
+ - CHANGELOG.md
93
94
  - Gemfile
94
95
  - LICENSE.txt
95
96
  - README.md
@@ -102,9 +103,9 @@ files:
102
103
  - lib/itamae/plugin/recipe/consul.rb
103
104
  - lib/itamae/plugin/recipe/consul/default.rb
104
105
  - lib/itamae/plugin/recipe/consul/install.rb
106
+ - lib/itamae/plugin/recipe/consul/service.rb
105
107
  - lib/itamae/plugin/recipe/consul/service/centos.rb
106
108
  - lib/itamae/plugin/recipe/consul/service/debian.rb
107
- - lib/itamae/plugin/recipe/consul/service/default.rb
108
109
  - lib/itamae/plugin/recipe/consul/service/definitions.rb
109
110
  - lib/itamae/plugin/recipe/consul/service/templates/etc/init.d/consul.erb
110
111
  - lib/itamae/plugin/recipe/consul/service/templates/etc/systemd/system/consul.service.erb
@@ -1,12 +0,0 @@
1
- # Setup init.d script or systemd unit
2
- include_recipe "./definitions"
3
-
4
- directory "/etc/consul.d"
5
-
6
- case node[:platform]
7
- when "debian"
8
- include_recipe "./debian"
9
-
10
- when "redhat"
11
- include_recipe "./centos"
12
- end