staypuft 0.1.21 → 0.1.22
Sign up to get free protection for your applications and to get access to all the features.
- data/app/lib/actions/staypuft/host/wait_until_host_ready.rb +2 -1
- data/lib/staypuft/version.rb +1 -1
- metadata +103 -93
- checksums.yaml +0 -15
@@ -59,7 +59,8 @@ module Actions
|
|
59
59
|
|
60
60
|
def host_ready?(host_id)
|
61
61
|
host = ::Host.find(host_id)
|
62
|
-
|
62
|
+
# take reports oldest first ignoring always the first one (auto-sign)
|
63
|
+
host.reports.order('reported_at DESC')[0..-2].any? do |report|
|
63
64
|
check_for_failures(report, host.id)
|
64
65
|
report_change?(report)
|
65
66
|
end
|
data/lib/staypuft/version.rb
CHANGED
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: staypuft
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.22
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Staypuft team
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
12
|
+
date: 2014-07-29 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: foreman-tasks
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - ~>
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -27,6 +30,7 @@ dependencies:
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: dynflow
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
35
|
- - ~>
|
32
36
|
- !ruby/object:Gem::Version
|
@@ -34,6 +38,7 @@ dependencies:
|
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
43
|
- - ~>
|
39
44
|
- !ruby/object:Gem::Version
|
@@ -41,6 +46,7 @@ dependencies:
|
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: wicked
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
51
|
- - ! '>='
|
46
52
|
- !ruby/object:Gem::Version
|
@@ -48,6 +54,7 @@ dependencies:
|
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
59
|
- - ! '>='
|
53
60
|
- !ruby/object:Gem::Version
|
@@ -55,6 +62,7 @@ dependencies:
|
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: foreman_discovery
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
67
|
- - ~>
|
60
68
|
- !ruby/object:Gem::Version
|
@@ -62,6 +70,7 @@ dependencies:
|
|
62
70
|
type: :runtime
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
75
|
- - ~>
|
67
76
|
- !ruby/object:Gem::Version
|
@@ -73,148 +82,149 @@ executables: []
|
|
73
82
|
extensions: []
|
74
83
|
extra_rdoc_files: []
|
75
84
|
files:
|
76
|
-
-
|
77
|
-
-
|
78
|
-
- Rakefile
|
79
|
-
- app/assets/javascripts/staypuft/staypuft.js
|
80
|
-
- app/assets/stylesheets/staypuft/bootstrap_and_overrides.css.scss
|
81
|
-
- app/assets/stylesheets/staypuft/foreman_helper.scss
|
82
|
-
- app/assets/stylesheets/staypuft/staypuft.css.scss
|
83
|
-
- app/controllers/staypuft/application_controller.rb
|
84
|
-
- app/controllers/staypuft/deployments_controller.rb
|
85
|
-
- app/controllers/staypuft/steps_controller.rb
|
85
|
+
- app/overrides/customize_foreman_tasks_show_page.rb
|
86
|
+
- app/overrides/hide_subscription_manager_passwords.rb
|
86
87
|
- app/helpers/staypuft/application_helper.rb
|
87
88
|
- app/helpers/staypuft/deployments_helper.rb
|
88
|
-
- app/lib/actions/staypuft/deployment/deploy.rb
|
89
|
-
- app/lib/actions/staypuft/deployment/populate.rb
|
90
|
-
- app/lib/actions/staypuft/host/build.rb
|
91
|
-
- app/lib/actions/staypuft/host/create.rb
|
92
|
-
- app/lib/actions/staypuft/host/deploy.rb
|
93
|
-
- app/lib/actions/staypuft/host/puppet_run.rb
|
94
|
-
- app/lib/actions/staypuft/host/wait_until_host_ready.rb
|
95
|
-
- app/lib/actions/staypuft/host/wait_until_installed.rb
|
96
|
-
- app/lib/actions/staypuft/hostgroup/deploy.rb
|
97
|
-
- app/lib/actions/staypuft/hostgroup/ordered_deploy.rb
|
98
|
-
- app/lib/actions/staypuft/middleware/as_current_user.rb
|
99
|
-
- app/lib/staypuft/deployment_param_exporter.rb
|
100
|
-
- app/lib/staypuft/deployment_param_importer.rb
|
101
|
-
- app/lib/staypuft/exception.rb
|
102
|
-
- app/lib/staypuft/seeder.rb
|
103
89
|
- app/models/setting/staypuft_provisioning.rb
|
104
|
-
- app/models/staypuft/
|
105
|
-
- app/models/staypuft/
|
106
|
-
- app/models/staypuft/
|
107
|
-
- app/models/staypuft/
|
108
|
-
- app/models/staypuft/concerns/lookup_key_extensions.rb
|
109
|
-
- app/models/staypuft/concerns/puppetclass_extensions.rb
|
110
|
-
- app/models/staypuft/deployment.rb
|
111
|
-
- app/models/staypuft/deployment/abstract_param_scope.rb
|
90
|
+
- app/models/staypuft/service.rb
|
91
|
+
- app/models/staypuft/deployment/vlan_range_values_validator.rb
|
92
|
+
- app/models/staypuft/deployment/glance_service.rb
|
93
|
+
- app/models/staypuft/deployment/nova_service.rb
|
112
94
|
- app/models/staypuft/deployment/attribute_param_storage.rb
|
95
|
+
- app/models/staypuft/deployment/vips.rb
|
113
96
|
- app/models/staypuft/deployment/cinder_service.rb
|
114
|
-
- app/models/staypuft/deployment/
|
97
|
+
- app/models/staypuft/deployment/passwords.rb
|
115
98
|
- app/models/staypuft/deployment/ips.rb
|
116
99
|
- app/models/staypuft/deployment/neutron_service.rb
|
117
|
-
- app/models/staypuft/deployment/
|
118
|
-
- app/models/staypuft/
|
119
|
-
- app/models/staypuft/
|
120
|
-
- app/models/staypuft/deployment/vlan_range_values_validator.rb
|
121
|
-
- app/models/staypuft/deployment_role_hostgroup.rb
|
100
|
+
- app/models/staypuft/deployment/abstract_param_scope.rb
|
101
|
+
- app/models/staypuft/role_class.rb
|
102
|
+
- app/models/staypuft/service_class.rb
|
122
103
|
- app/models/staypuft/layout.rb
|
104
|
+
- app/models/staypuft/deployment.rb
|
105
|
+
- app/models/staypuft/deployment_role_hostgroup.rb
|
123
106
|
- app/models/staypuft/layout_role.rb
|
124
|
-
- app/models/staypuft/role.rb
|
125
|
-
- app/models/staypuft/role_class.rb
|
126
|
-
- app/models/staypuft/role_service.rb
|
127
|
-
- app/models/staypuft/service.rb
|
128
107
|
- app/models/staypuft/service/ui_params.rb
|
129
|
-
- app/models/staypuft/
|
130
|
-
- app/
|
131
|
-
- app/
|
132
|
-
- app/
|
133
|
-
- app/
|
134
|
-
- app/
|
135
|
-
- app/
|
136
|
-
- app/
|
137
|
-
- app/
|
138
|
-
- app/
|
139
|
-
- app/
|
140
|
-
- app/
|
141
|
-
- app/views/staypuft/
|
142
|
-
- app/views/staypuft/deployments/show.html.erb
|
143
|
-
- app/views/staypuft/deployments/summary.html.erb
|
144
|
-
- app/views/staypuft/layouts/application.html.erb
|
145
|
-
- app/views/staypuft/layouts/staypuft.html.erb
|
146
|
-
- app/views/staypuft/steps/_cinder.html.erb
|
147
|
-
- app/views/staypuft/steps/_glance.html.erb
|
148
|
-
- app/views/staypuft/steps/_neutron.html.erb
|
108
|
+
- app/models/staypuft/concerns/puppetclass_extensions.rb
|
109
|
+
- app/models/staypuft/concerns/host_open_stack_affiliation.rb
|
110
|
+
- app/models/staypuft/concerns/host_orchestration_build_hook.rb
|
111
|
+
- app/models/staypuft/concerns/hostgroup_extensions.rb
|
112
|
+
- app/models/staypuft/concerns/lookup_key_extensions.rb
|
113
|
+
- app/models/staypuft/concerns/environment_extensions.rb
|
114
|
+
- app/models/staypuft/role_service.rb
|
115
|
+
- app/models/staypuft/role.rb
|
116
|
+
- app/assets/stylesheets/staypuft/foreman_helper.scss
|
117
|
+
- app/assets/stylesheets/staypuft/bootstrap_and_overrides.css.scss
|
118
|
+
- app/assets/stylesheets/staypuft/staypuft.css.scss
|
119
|
+
- app/assets/javascripts/staypuft/staypuft.js
|
120
|
+
- app/views/staypuft/steps/services_overview.html.erb
|
149
121
|
- app/views/staypuft/steps/_neutron_ha.html.erb
|
122
|
+
- app/views/staypuft/steps/_title.html.erb
|
123
|
+
- app/views/staypuft/steps/_neutron.html.erb
|
124
|
+
- app/views/staypuft/steps/_glance.html.erb
|
125
|
+
- app/views/staypuft/steps/deployment_settings.html.erb
|
150
126
|
- app/views/staypuft/steps/_neutron_non_ha.html.erb
|
127
|
+
- app/views/staypuft/steps/services_configuration.html.erb
|
151
128
|
- app/views/staypuft/steps/_nova.html.erb
|
152
129
|
- app/views/staypuft/steps/_nova_ha.html.erb
|
153
|
-
- app/views/staypuft/steps/_nova_non_ha.html.erb
|
154
|
-
- app/views/staypuft/steps/_title.html.erb
|
155
130
|
- app/views/staypuft/steps/_wizard_form_buttons.html.erb
|
156
|
-
- app/views/staypuft/steps/
|
157
|
-
- app/views/staypuft/steps/
|
158
|
-
- app/views/staypuft/
|
131
|
+
- app/views/staypuft/steps/_nova_non_ha.html.erb
|
132
|
+
- app/views/staypuft/steps/_cinder.html.erb
|
133
|
+
- app/views/staypuft/layouts/staypuft.html.erb
|
134
|
+
- app/views/staypuft/layouts/application.html.erb
|
135
|
+
- app/views/staypuft/deployments/show.html.erb
|
136
|
+
- app/views/staypuft/deployments/_free_hosts_table.html.erb
|
137
|
+
- app/views/staypuft/deployments/_deployment_access_all_details_dialogue.html.erb
|
138
|
+
- app/views/staypuft/deployments/_deployed_hosts_table.html.erb
|
139
|
+
- app/views/staypuft/deployments/edit.html.erb
|
140
|
+
- app/views/staypuft/deployments/_deployment_progress_bar.html.erb
|
141
|
+
- app/views/staypuft/deployments/index.html.erb
|
142
|
+
- app/views/staypuft/deployments/_deployment_progress_page_header.html.erb
|
143
|
+
- app/views/staypuft/deployments/_import_form.html.erb
|
144
|
+
- app/views/staypuft/deployments/_assigned_hosts_table.html.erb
|
145
|
+
- app/views/staypuft/deployments/_deployment_summary.html.erb
|
146
|
+
- app/views/staypuft/deployments/summary.html.erb
|
147
|
+
- app/controllers/staypuft/application_controller.rb
|
148
|
+
- app/controllers/staypuft/steps_controller.rb
|
149
|
+
- app/controllers/staypuft/deployments_controller.rb
|
150
|
+
- app/lib/staypuft/deployment_param_exporter.rb
|
151
|
+
- app/lib/staypuft/exception.rb
|
152
|
+
- app/lib/staypuft/seeder.rb
|
153
|
+
- app/lib/staypuft/deployment_param_importer.rb
|
154
|
+
- app/lib/actions/staypuft/deployment/populate.rb
|
155
|
+
- app/lib/actions/staypuft/deployment/deploy.rb
|
156
|
+
- app/lib/actions/staypuft/hostgroup/deploy.rb
|
157
|
+
- app/lib/actions/staypuft/hostgroup/ordered_deploy.rb
|
158
|
+
- app/lib/actions/staypuft/middleware/as_current_user.rb
|
159
|
+
- app/lib/actions/staypuft/host/wait_until_installed.rb
|
160
|
+
- app/lib/actions/staypuft/host/wait_until_host_ready.rb
|
161
|
+
- app/lib/actions/staypuft/host/build.rb
|
162
|
+
- app/lib/actions/staypuft/host/deploy.rb
|
163
|
+
- app/lib/actions/staypuft/host/puppet_run.rb
|
164
|
+
- app/lib/actions/staypuft/host/create.rb
|
159
165
|
- config/routes.rb
|
160
166
|
- config/staypuft.local.rb
|
161
|
-
- db/migrate/20140309021811_create_staypuft_layouts.rb
|
162
|
-
- db/migrate/20140310004533_create_staypuft_deployments.rb
|
163
167
|
- db/migrate/20140310023613_create_staypuft_roles.rb
|
164
|
-
- db/migrate/20140310174152_create_staypuft_layout_roles.rb
|
165
|
-
- db/migrate/20140310194221_create_staypuft_services.rb
|
166
|
-
- db/migrate/20140310203855_create_staypuft_role_services.rb
|
167
|
-
- db/migrate/20140312044533_create_staypuft_deployment_role_hostgroups.rb
|
168
|
-
- db/migrate/20140312050001_create_staypuft_hostgroup_roles.rb
|
169
|
-
- db/migrate/20140312050615_create_staypuft_role_classes.rb
|
170
|
-
- db/migrate/20140312051144_create_staypuft_service_classes.rb
|
171
|
-
- db/migrate/20140315031754_add_networking_to_staypuft_layout.rb
|
172
|
-
- db/migrate/20140318163222_add_deploy_order_to_staypuft_layout_role.rb
|
173
|
-
- db/migrate/20140325211410_add_role_to_staypuft_deployment_role_hostgroup.rb
|
174
168
|
- db/migrate/20140326032027_drop_staypuft_hostgroup_roles.rb
|
169
|
+
- db/migrate/20140315031754_add_networking_to_staypuft_layout.rb
|
170
|
+
- db/migrate/20140623142500_remove_amqp_provider_from_staypuft_deployment.rb
|
175
171
|
- db/migrate/20140507103716_add_form_step_to_staypuft_deployment.rb
|
172
|
+
- db/migrate/20140312044533_create_staypuft_deployment_role_hostgroups.rb
|
173
|
+
- db/migrate/20140310203855_create_staypuft_role_services.rb
|
174
|
+
- db/migrate/20140312051144_create_staypuft_service_classes.rb
|
175
|
+
- db/migrate/20140312050001_create_staypuft_hostgroup_roles.rb
|
176
176
|
- db/migrate/20140513124807_change_column_default_form_step_on_staypuft_deployment.rb
|
177
|
+
- db/migrate/20140309021811_create_staypuft_layouts.rb
|
178
|
+
- db/migrate/20140310004533_create_staypuft_deployments.rb
|
179
|
+
- db/migrate/20140325211410_add_role_to_staypuft_deployment_role_hostgroup.rb
|
180
|
+
- db/migrate/20140310194221_create_staypuft_services.rb
|
181
|
+
- db/migrate/20140318163222_add_deploy_order_to_staypuft_layout_role.rb
|
182
|
+
- db/migrate/20140310174152_create_staypuft_layout_roles.rb
|
177
183
|
- db/migrate/20140602121501_add_amqp_provider_to_staypuft_deployment.rb
|
178
|
-
- db/migrate/
|
184
|
+
- db/migrate/20140312050615_create_staypuft_role_classes.rb
|
179
185
|
- db/seeds.rb
|
180
|
-
- lib/staypuft.rb
|
181
186
|
- lib/staypuft/engine.rb
|
182
187
|
- lib/staypuft/version.rb
|
188
|
+
- lib/staypuft.rb
|
183
189
|
- lib/tasks/staypuft_tasks.rake
|
190
|
+
- LICENSE
|
191
|
+
- Rakefile
|
192
|
+
- README.md
|
184
193
|
- test/factories/staypuft_factories.rb
|
185
|
-
- test/
|
194
|
+
- test/unit/staypuft_test.rb
|
186
195
|
- test/staypuft_test.rb
|
187
|
-
- test/test_helper.rb
|
188
196
|
- test/test_plugin_helper.rb
|
189
|
-
- test/
|
197
|
+
- test/test_helper.rb
|
198
|
+
- test/integration/navigation_test.rb
|
190
199
|
homepage: https://github.com/theforeman/staypuft
|
191
200
|
licenses:
|
192
201
|
- GPL-3.0+
|
193
|
-
metadata: {}
|
194
202
|
post_install_message:
|
195
203
|
rdoc_options: []
|
196
204
|
require_paths:
|
197
205
|
- lib
|
198
206
|
required_ruby_version: !ruby/object:Gem::Requirement
|
207
|
+
none: false
|
199
208
|
requirements:
|
200
209
|
- - ! '>='
|
201
210
|
- !ruby/object:Gem::Version
|
202
211
|
version: '0'
|
203
212
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
213
|
+
none: false
|
204
214
|
requirements:
|
205
215
|
- - ! '>='
|
206
216
|
- !ruby/object:Gem::Version
|
207
217
|
version: '0'
|
208
218
|
requirements: []
|
209
219
|
rubyforge_project:
|
210
|
-
rubygems_version:
|
220
|
+
rubygems_version: 1.8.23.2
|
211
221
|
signing_key:
|
212
|
-
specification_version:
|
222
|
+
specification_version: 3
|
213
223
|
summary: OpenStack Foreman Installer
|
214
224
|
test_files:
|
215
|
-
- test/
|
216
|
-
- test/staypuft_test.rb
|
225
|
+
- test/factories/staypuft_factories.rb
|
217
226
|
- test/unit/staypuft_test.rb
|
227
|
+
- test/staypuft_test.rb
|
218
228
|
- test/test_plugin_helper.rb
|
219
|
-
- test/
|
229
|
+
- test/test_helper.rb
|
220
230
|
- test/integration/navigation_test.rb
|
checksums.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: !binary |-
|
4
|
-
ZWY0OWM3NTA5YzlkNDc3ZmI2NjM3MjQzMjE2ZjdlZjNhYTg5NjZjYg==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
YTBjMmNjNDZmMDliMmRjNDk2ZTA1NGI5NjY4ZGEzN2I0M2YyYjJhOA==
|
7
|
-
SHA512:
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
MjcwZGFmNGRlMDZlNGJhYTZiMGY3ZDM2MzgzZmE5ZDk3NTVhMzc2N2MxZWRi
|
10
|
-
NjNmYzQyMWNhMGJmNzlkM2RmZTA2Y2I5NTI0ZDI1NGQzN2U2NzA3YzEwMWZk
|
11
|
-
ZjgwMjEwZjA5ZTEyMDlmMjZiMDNiMDRhYjlkMDI1NzkxZTg5Yjc=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
OTg2OWQ5YjNjY2RmMDI4OTFjZDQ4NDM1NDE5MGU1MTMzM2IyZTFlYTQ2Yjc4
|
14
|
-
ZGI0M2YxYTQyMTNhYWNjZmE5YjMyYzZlMmQxNzVmMDg3YTc4NjY1N2UyMzhj
|
15
|
-
NjlhOTU4MmI1MWM5NGNmY2Y0OWE4MjA5NjY3MDMxMWNhMjk3ZjY=
|