kafo 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of kafo might be problematic. Click here for more details.

@@ -195,9 +195,9 @@ class KafoConfigure < Clamp::Command
195
195
  stdin.each { |line| puppet_log(line) }
196
196
  rescue Errno::EIO
197
197
  if PTY.respond_to?(:check) # ruby >= 1.9.2
198
- exit_code = PTY.check(pid).exitstatus
198
+ exit_code = PTY.check(pid, true).exitstatus
199
199
  else # ruby < 1.9.2
200
- Process.wait(pid)
200
+ Process.wait(pid) rescue Errno::ECHILD
201
201
  exit_code = $?.exitstatus
202
202
  end
203
203
  end
data/lib/kafo/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # encoding: UTF-8
2
2
  module Kafo
3
- VERSION = "0.0.14"
3
+ VERSION = "0.0.15"
4
4
  end
metadata CHANGED
@@ -1,234 +1,227 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: kafo
3
- version: !ruby/object:Gem::Version
4
- hash: 3
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.15
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 14
10
- version: 0.0.14
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Marek Hulan
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2013-09-13 00:00:00 +02:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2013-09-16 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: bundler
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
18
+ requirements:
27
19
  - - ~>
28
- - !ruby/object:Gem::Version
29
- hash: 9
30
- segments:
31
- - 1
32
- - 3
33
- version: "1.3"
20
+ - !ruby/object:Gem::Version
21
+ version: '1.3'
34
22
  type: :development
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: rake
38
23
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
40
- none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- hash: 3
45
- segments:
46
- - 0
47
- version: "0"
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1.3'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rake
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
48
38
  type: :development
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: minitest
52
39
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
54
41
  none: false
55
- requirements:
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: minitest
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
56
51
  - - ~>
57
- - !ruby/object:Gem::Version
58
- hash: 41
59
- segments:
60
- - 4
61
- - 7
62
- - 5
52
+ - !ruby/object:Gem::Version
63
53
  version: 4.7.5
64
54
  type: :development
65
- version_requirements: *id003
66
- - !ruby/object:Gem::Dependency
67
- name: puppet
68
55
  prerelease: false
69
- requirement: &id004 !ruby/object:Gem::Requirement
70
- none: false
71
- requirements:
72
- - - ">="
73
- - !ruby/object:Gem::Version
74
- hash: 3
75
- segments:
76
- - 0
77
- version: "0"
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 4.7.5
62
+ - !ruby/object:Gem::Dependency
63
+ name: puppet
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
78
70
  type: :runtime
79
- version_requirements: *id004
80
- - !ruby/object:Gem::Dependency
81
- name: rdoc
82
71
  prerelease: false
83
- requirement: &id005 !ruby/object:Gem::Requirement
84
- none: false
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- hash: 35
89
- segments:
90
- - 3
91
- - 9
92
- - 0
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: rdoc
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
93
85
  version: 3.9.0
94
86
  type: :runtime
95
- version_requirements: *id005
96
- - !ruby/object:Gem::Dependency
97
- name: logging
98
87
  prerelease: false
99
- requirement: &id006 !ruby/object:Gem::Requirement
100
- none: false
101
- requirements:
102
- - - ">="
103
- - !ruby/object:Gem::Version
104
- hash: 3
105
- segments:
106
- - 0
107
- version: "0"
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: 3.9.0
94
+ - !ruby/object:Gem::Dependency
95
+ name: logging
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
108
102
  type: :runtime
109
- version_requirements: *id006
110
- - !ruby/object:Gem::Dependency
111
- name: clamp
112
103
  prerelease: false
113
- requirement: &id007 !ruby/object:Gem::Requirement
114
- none: false
115
- requirements:
116
- - - ">="
117
- - !ruby/object:Gem::Version
118
- hash: 3
119
- segments:
120
- - 0
121
- version: "0"
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: clamp
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
122
118
  type: :runtime
123
- version_requirements: *id007
124
- - !ruby/object:Gem::Dependency
125
- name: highline
126
119
  prerelease: false
127
- requirement: &id008 !ruby/object:Gem::Requirement
128
- none: false
129
- requirements:
130
- - - ">="
131
- - !ruby/object:Gem::Version
132
- hash: 3
133
- segments:
134
- - 0
135
- version: "0"
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: highline
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
136
134
  type: :runtime
137
- version_requirements: *id008
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
138
142
  description: A gem for making installations based on puppet user friendly
139
- email:
143
+ email:
140
144
  - ares@igloonet.cz
141
- executables:
142
- - kafo-configure
143
- - kafo-export-params
145
+ executables:
144
146
  - kafofy
147
+ - kafo-export-params
148
+ - kafo-configure
145
149
  extensions: []
146
-
147
150
  extra_rdoc_files: []
148
-
149
- files:
150
- - bin/kafo-configure
151
- - bin/kafo-export-params
151
+ files:
152
152
  - bin/kafofy
153
- - config/kafo.yaml.example
153
+ - bin/kafo-export-params
154
+ - bin/kafo-configure
154
155
  - config/config_header.txt
155
- - lib/kafo/puppet_module.rb
156
+ - config/kafo.yaml.example
157
+ - lib/kafo.rb
158
+ - lib/kafo/param.rb
156
159
  - lib/kafo/puppet_module_parser.rb
157
- - lib/kafo/password_manager.rb
158
- - lib/kafo/configuration.rb
159
- - lib/kafo/validator.rb
160
- - lib/kafo/exceptions.rb
160
+ - lib/kafo/puppet_module.rb
161
161
  - lib/kafo/system_checker.rb
162
- - lib/kafo/puppet_command.rb
163
- - lib/kafo/wizard.rb
164
- - lib/kafo/params/password.rb
165
- - lib/kafo/params/string.rb
166
- - lib/kafo/params/boolean.rb
167
162
  - lib/kafo/params/array.rb
163
+ - lib/kafo/params/boolean.rb
164
+ - lib/kafo/params/password.rb
168
165
  - lib/kafo/params/integer.rb
169
- - lib/kafo/kafo_configure.rb
170
- - lib/kafo/string_helper.rb
166
+ - lib/kafo/params/string.rb
171
167
  - lib/kafo/logger.rb
172
- - lib/kafo/param.rb
173
- - lib/kafo/version.rb
168
+ - lib/kafo/puppet_command.rb
174
169
  - lib/kafo/param_builder.rb
175
- - lib/kafo.rb
176
- - modules/kafo_configure/lib/puppet/parser/functions/decrypt.rb
177
- - modules/kafo_configure/lib/puppet/parser/functions/is_hash.rb
178
- - modules/kafo_configure/lib/puppet/parser/functions/load_kafo_answer_file.rb
179
- - modules/kafo_configure/lib/puppet/parser/functions/class_name.rb
180
- - modules/kafo_configure/lib/puppet/parser/functions/dump_values.rb
181
- - modules/kafo_configure/lib/puppet/parser/functions/load_kafo_password.rb
182
- - modules/kafo_configure/lib/puppet/parser/functions/hash_keys.rb
183
- - modules/kafo_configure/lib/puppet/parser/functions/kafo_ordered.rb
184
- - modules/kafo_configure/lib/puppet/parser/functions/loadanyyaml.rb
185
- - modules/kafo_configure/manifests/yaml_to_class.pp
186
- - modules/kafo_configure/manifests/init.pp
187
- - modules/create_resources/README.md
170
+ - lib/kafo/configuration.rb
171
+ - lib/kafo/validator.rb
172
+ - lib/kafo/kafo_configure.rb
173
+ - lib/kafo/wizard.rb
174
+ - lib/kafo/version.rb
175
+ - lib/kafo/exceptions.rb
176
+ - lib/kafo/string_helper.rb
177
+ - lib/kafo/password_manager.rb
188
178
  - modules/create_resources/Modulefile
189
179
  - modules/create_resources/tests/users.pp
190
- - modules/create_resources/Gemfile
191
- - modules/create_resources/Rakefile
192
- - modules/create_resources/lib/puppet/parser/functions/create_resources.rb
193
180
  - modules/create_resources/LICENSE
181
+ - modules/create_resources/lib/puppet/parser/functions/create_resources.rb
182
+ - modules/create_resources/Gemfile
183
+ - modules/create_resources/README.md
194
184
  - modules/create_resources/spec/unit/puppet/parser/functions/create_resources_spec.rb
195
185
  - modules/create_resources/spec/spec_helper.rb
186
+ - modules/create_resources/Rakefile
187
+ - modules/kafo_configure/manifests/yaml_to_class.pp
188
+ - modules/kafo_configure/manifests/init.pp
189
+ - modules/kafo_configure/lib/puppet/parser/functions/hash_keys.rb
190
+ - modules/kafo_configure/lib/puppet/parser/functions/decrypt.rb
191
+ - modules/kafo_configure/lib/puppet/parser/functions/loadanyyaml.rb
192
+ - modules/kafo_configure/lib/puppet/parser/functions/is_hash.rb
193
+ - modules/kafo_configure/lib/puppet/parser/functions/load_kafo_answer_file.rb
194
+ - modules/kafo_configure/lib/puppet/parser/functions/kafo_ordered.rb
195
+ - modules/kafo_configure/lib/puppet/parser/functions/dump_values.rb
196
+ - modules/kafo_configure/lib/puppet/parser/functions/load_kafo_password.rb
197
+ - modules/kafo_configure/lib/puppet/parser/functions/class_name.rb
196
198
  - LICENSE.txt
197
199
  - Rakefile
198
200
  - README.md
199
- has_rdoc: true
200
201
  homepage: https://github.com/theforeman/kafo
201
- licenses:
202
+ licenses:
202
203
  - GPLv3+
203
204
  post_install_message:
204
205
  rdoc_options: []
205
-
206
- require_paths:
206
+ require_paths:
207
207
  - lib
208
- required_ruby_version: !ruby/object:Gem::Requirement
208
+ required_ruby_version: !ruby/object:Gem::Requirement
209
209
  none: false
210
- requirements:
211
- - - ">="
212
- - !ruby/object:Gem::Version
213
- hash: 3
214
- segments:
215
- - 0
216
- version: "0"
217
- required_rubygems_version: !ruby/object:Gem::Requirement
210
+ requirements:
211
+ - - ! '>='
212
+ - !ruby/object:Gem::Version
213
+ version: '0'
214
+ required_rubygems_version: !ruby/object:Gem::Requirement
218
215
  none: false
219
- requirements:
220
- - - ">="
221
- - !ruby/object:Gem::Version
222
- hash: 3
223
- segments:
224
- - 0
225
- version: "0"
216
+ requirements:
217
+ - - ! '>='
218
+ - !ruby/object:Gem::Version
219
+ version: '0'
226
220
  requirements: []
227
-
228
221
  rubyforge_project:
229
- rubygems_version: 1.6.2
222
+ rubygems_version: 1.8.24
230
223
  signing_key:
231
224
  specification_version: 3
232
- summary: If you write puppet modules for installing your software, you can use kafo to create powerful installer
225
+ summary: If you write puppet modules for installing your software, you can use kafo
226
+ to create powerful installer
233
227
  test_files: []
234
-