kondate 0.1.2 → 0.1.3

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
  SHA1:
3
- metadata.gz: bfe91929a45399f7e8a221f3fb5e213e397c08ec
4
- data.tar.gz: 6b9b197d8d7c53862c9df96a01c15ab88ac95775
3
+ metadata.gz: d8f5e91857574eaabc22cc65ed6f34233fba10c5
4
+ data.tar.gz: 07397787296ef63c605c0ab20f766ab748ee58ef
5
5
  SHA512:
6
- metadata.gz: 600de96b908537679071fd2aa4fa1a44c6e843834118ebb89f50b02106e021662e4f49cda5bc7c44e39ca145cf938370181a13daa246ce5d98cbb9db1a8b4c0d
7
- data.tar.gz: c624cf7f23eda9397538da28ebf161dbcc36236745112db1395112f6f27ca88e84344f213e4a029a65c28ef8b2d9a75dc7f2001ad2f60ed1a034964fab647358
6
+ metadata.gz: fc9ad5b77a844d9927b38f1a01f27d54be156f7234754d8e131deac276ea29fd35e4fc544bc5354660e72c9f6f32f5983a8b9135ec949729aedd074266987984
7
+ data.tar.gz: 276617ad590a6040a19d2ab69a74e2abdbdeac9891117e48286a17ab4d79e455192a55897d4d0644024d4f008e92a195fa2b68ff0d239c94322190eb9344fe37
data/CHANGELOG.md CHANGED
@@ -1,16 +1,22 @@
1
- # 0.1.2 (2015/11/24)
1
+ # 0.1.3 (2015-11-26)
2
+
3
+ Fixes:
4
+
5
+ * Fix to keep global attributes with --recipe
6
+
7
+ # 0.1.2 (2015-11-24)
2
8
 
3
9
  Enhancments:
4
10
 
5
11
  * Support environments properties.
6
12
 
7
- # 0.1.1 (2015/11/24)
13
+ # 0.1.1 (2015-11-24)
8
14
 
9
15
  Changes:
10
16
 
11
17
  * Do not open Hash class to add deep_merge, instead use own HashExt class.
12
18
 
13
- # 0.1.0 (2015/11/23)
19
+ # 0.1.0 (2015-11-23)
14
20
 
15
21
  first version
16
22
 
data/README.md CHANGED
@@ -259,7 +259,7 @@ You must follow the below naming conventions:
259
259
 
260
260
  ### Interface
261
261
 
262
- What you have to implement is `#initialize` and `#get_roles` methods. Here is an example of file plugin:
262
+ What you have to implement are `#initialize`, `#get_environment`, and `#get_roles` methods. Here is an example of file plugin:
263
263
 
264
264
  ```ruby
265
265
  require 'yaml'
@@ -287,7 +287,7 @@ module Kondate
287
287
  # @param [String] host hostname
288
288
  # @return [Array] array of roles
289
289
  def get_roles(host)
290
- YAML.load_file(@path)[host]['roles']
290
+ YAML.load_file(@path)[host]
291
291
  end
292
292
  end
293
293
  end
@@ -109,6 +109,7 @@ module Kondate
109
109
 
110
110
  # filter out the recipe
111
111
  if filter_recipes and !filter_recipes.empty?
112
+ filter_recipes << 'global'
112
113
  property['attributes'].keys.each do |key|
113
114
  property['attributes'].delete(key) unless filter_recipes.include?(key)
114
115
  end
@@ -1,3 +1,3 @@
1
1
  module Kondate
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kondate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - sonots
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-24 00:00:00.000000000 Z
11
+ date: 2015-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: itamae