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 +4 -4
- data/CHANGELOG.md +9 -3
- data/README.md +2 -2
- data/lib/kondate/property_builder.rb +1 -0
- data/lib/kondate/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8f5e91857574eaabc22cc65ed6f34233fba10c5
|
4
|
+
data.tar.gz: 07397787296ef63c605c0ab20f766ab748ee58ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc9ad5b77a844d9927b38f1a01f27d54be156f7234754d8e131deac276ea29fd35e4fc544bc5354660e72c9f6f32f5983a8b9135ec949729aedd074266987984
|
7
|
+
data.tar.gz: 276617ad590a6040a19d2ab69a74e2abdbdeac9891117e48286a17ab4d79e455192a55897d4d0644024d4f008e92a195fa2b68ff0d239c94322190eb9344fe37
|
data/CHANGELOG.md
CHANGED
@@ -1,16 +1,22 @@
|
|
1
|
-
# 0.1.
|
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
|
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
|
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
|
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]
|
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
|
data/lib/kondate/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2015-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: itamae
|