staypuft 0.5.13 → 0.5.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/app/lib/actions/staypuft/host/puppet_run.rb +19 -1
- data/app/lib/staypuft/network_query.rb +1 -0
- data/app/lib/staypuft/seeder.rb +1 -0
- data/app/models/staypuft/role.rb +2 -0
- data/lib/staypuft/version.rb +1 -1
- metadata +172 -172
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
NzI2YTYyNWMxZDBmOTMyZGJkOWZjY2ZjMzgwZjYyNDRjYjI3YzliNTc3MWJk
|
10
|
-
ZTU0NTU5MjJiYzcwOGQwZmQ2MDk1ZWNlNjRkZTQzZjdmZDQzY2NkMWU4M2Y2
|
11
|
-
ZDE2Y2YyZjNlYzY3OTQyYTdjMTdjYzRlM2ZkMjEzNWYxMzEyNTE=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZmEyMTdlZjUxN2QwMzBlYmRiMTZhMzA1ZDQ2YTJlOTQ2MWI4N2YzOGIyMjY2
|
14
|
-
N2I0Y2M5MTUyYjVhYjBmYjU5ODcyNGFlZTliMWNjOWU1ZGY5MDQyYjMzZmFl
|
15
|
-
NmM0YWJlYTYxOWViZDVjZDUzMDllZTRkOTBjMWRjZmJjMzk5OGI=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 76ef07b6490d37e26005189f760b35a3dc490a96
|
4
|
+
data.tar.gz: f58f1ff00ab900cba9e420bf2285e69e794cedf5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: cf97c5664747ae8531c58467ce6a819e5da449a17a1fe44d29fa6708dec8d0d6856ffc81034463ce8dd4f4a8ec5c50ceec350aec2bc1077ce41ba961ed14c233
|
7
|
+
data.tar.gz: abf04187d87bf7a0b8d30bad9dbb25dba23384ddcd4c0282fbe30494a0a34b45404988d678b6aa662d331338871dd51ea9af7dce1cd99577f5419e9f2eb6a1de
|
@@ -23,8 +23,26 @@ module Actions
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def run
|
26
|
+
host = ::Host.find(input.fetch(:host_id))
|
27
|
+
|
28
|
+
# try puppetrun 3 times
|
29
|
+
result = false
|
30
|
+
tries = 0
|
31
|
+
while !result && tries < 3
|
32
|
+
result = host.puppetrun!
|
33
|
+
tries += 1
|
34
|
+
end
|
35
|
+
|
36
|
+
# we need executed_at for both success and failure cases
|
37
|
+
# to allow skipping of the action in case of failure
|
26
38
|
output[:executed_at] = DateTime.now.iso8601
|
27
|
-
|
39
|
+
output[:tries] = tries
|
40
|
+
output[:result] = result
|
41
|
+
|
42
|
+
unless result
|
43
|
+
output[:errors] = host.errors.full_messages
|
44
|
+
fail(::Staypuft::Exception, "Puppet run failed for host: #{host.id}")
|
45
|
+
end
|
28
46
|
end
|
29
47
|
|
30
48
|
end
|
@@ -155,6 +155,7 @@ module Staypuft
|
|
155
155
|
def gateway_hash_for_host(host)
|
156
156
|
gateway_hash = interface_hash_for_host(Staypuft::SubnetType::PUBLIC_API, host)
|
157
157
|
gateway_hash = interface_hash_for_host(Staypuft::SubnetType::PXE, host) unless gateway_hash[:subnet]
|
158
|
+
gateway_hash = interface_hash_for_host(Staypuft::SubnetType::EXTERNAL, host) if Staypuft::Role.compute.any? { |r| r.name == host.hostgroup.name } && host.deployment.nova_networking?
|
158
159
|
gateway_hash
|
159
160
|
end
|
160
161
|
end
|
data/app/lib/staypuft/seeder.rb
CHANGED
@@ -145,6 +145,7 @@ module Staypuft
|
|
145
145
|
|
146
146
|
CONTROLLER_ROLES = ROLES.select { |h| h.fetch(:name) =~ /Controller/ }
|
147
147
|
CEPH_ROLES = ROLES.select {|h| h.fetch(:name) =~ /Ceph/ }
|
148
|
+
COMPUTE_ROLES = ROLES.select { |h| h.fetch(:name) =~ /Compute/ }
|
148
149
|
|
149
150
|
ALL_LAYOUTS = LAYOUTS.keys
|
150
151
|
SUBNET_TYPES = { :pxe => { :name => Staypuft::SubnetType::PXE,
|
data/app/models/staypuft/role.rb
CHANGED
@@ -38,5 +38,7 @@ module Staypuft
|
|
38
38
|
scope(:controller, where(name: Seeder::CONTROLLER_ROLES.map { |h| h.fetch(:name) }))
|
39
39
|
|
40
40
|
scope(:cephosd, where(name: Seeder::CEPH_ROLES.map { |h| h.fetch(:name) }))
|
41
|
+
|
42
|
+
scope(:compute, where(name: Seeder::COMPUTE_ROLES.map { |h| h.fetch(:name) }))
|
41
43
|
end
|
42
44
|
end
|
data/lib/staypuft/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: staypuft
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Staypuft team
|
@@ -42,56 +42,56 @@ dependencies:
|
|
42
42
|
name: wicked
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: deface
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: foreman_discovery
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - '>='
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: ipaddress
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - '>='
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - '>='
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
description: OpenStack Foreman Installer Plugin
|
@@ -101,198 +101,198 @@ executables: []
|
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files: []
|
103
103
|
files:
|
104
|
-
- app/
|
105
|
-
- app/
|
106
|
-
- app/
|
107
|
-
- app/
|
108
|
-
- app/
|
109
|
-
- app/
|
110
|
-
- app/
|
111
|
-
- app/
|
112
|
-
- app/
|
113
|
-
- app/
|
114
|
-
- app/
|
115
|
-
- app/
|
116
|
-
- app/
|
117
|
-
- app/
|
118
|
-
- app/
|
119
|
-
- app/
|
104
|
+
- app/assets/javascripts/staypuft/nics_assignment.js
|
105
|
+
- app/assets/javascripts/staypuft/host_edit.js
|
106
|
+
- app/assets/javascripts/staypuft/new_subnet.js
|
107
|
+
- app/assets/javascripts/staypuft/staypuft.js
|
108
|
+
- app/assets/javascripts/staypuft/subnets_assignment.js
|
109
|
+
- app/assets/stylesheets/staypuft/bootstrap_and_overrides.css.scss
|
110
|
+
- app/assets/stylesheets/staypuft/foreman_helper.scss
|
111
|
+
- app/assets/stylesheets/staypuft/staypuft.css.scss
|
112
|
+
- app/controllers/staypuft/application_controller.rb
|
113
|
+
- app/controllers/staypuft/subnet_typings_controller.rb
|
114
|
+
- app/controllers/staypuft/interface_assignments_controller.rb
|
115
|
+
- app/controllers/staypuft/steps_controller.rb
|
116
|
+
- app/controllers/staypuft/concerns/hosts_api_extensions.rb
|
117
|
+
- app/controllers/staypuft/concerns/hosts_controller_extensions.rb
|
118
|
+
- app/controllers/staypuft/deployments_controller.rb
|
119
|
+
- app/controllers/staypuft/subnets_controller.rb
|
120
|
+
- app/controllers/staypuft/bonds_controller.rb
|
121
|
+
- app/models/staypuft/fencing.rb
|
122
|
+
- app/models/staypuft/simple_subnet.rb
|
123
|
+
- app/models/staypuft/layout_role.rb
|
124
|
+
- app/models/staypuft/interface_assigner.rb
|
125
|
+
- app/models/staypuft/role.rb
|
126
|
+
- app/models/staypuft/deployment/vlan_range_values_validator.rb
|
127
|
+
- app/models/staypuft/deployment/ceph_service.rb
|
128
|
+
- app/models/staypuft/deployment/nova_service.rb
|
129
|
+
- app/models/staypuft/deployment/cinder_service.rb
|
130
|
+
- app/models/staypuft/deployment/nfs_uri_validator.rb
|
131
|
+
- app/models/staypuft/deployment/abstract_param_scope.rb
|
132
|
+
- app/models/staypuft/deployment/neutron_service/cisconexus.rb
|
133
|
+
- app/models/staypuft/deployment/cinder_service/equallogic.rb
|
134
|
+
- app/models/staypuft/deployment/neutron_service.rb
|
135
|
+
- app/models/staypuft/deployment/ip_check.rb
|
136
|
+
- app/models/staypuft/deployment/glance_service.rb
|
137
|
+
- app/models/staypuft/deployment/attribute_param_storage.rb
|
138
|
+
- app/models/staypuft/deployment/ip_address_validator.rb
|
139
|
+
- app/models/staypuft/deployment/passwords.rb
|
140
|
+
- app/models/staypuft/deployment_vip_nic.rb
|
141
|
+
- app/models/staypuft/service_class.rb
|
142
|
+
- app/models/staypuft/subnet_type.rb
|
143
|
+
- app/models/staypuft/layout.rb
|
144
|
+
- app/models/staypuft/concerns/hostgroup_extensions.rb
|
145
|
+
- app/models/staypuft/concerns/puppetclass_extensions.rb
|
146
|
+
- app/models/staypuft/concerns/nic_fencing_extensions.rb
|
147
|
+
- app/models/staypuft/concerns/host_details_helper.rb
|
148
|
+
- app/models/staypuft/concerns/environment_extensions.rb
|
149
|
+
- app/models/staypuft/concerns/host_interface_management.rb
|
150
|
+
- app/models/staypuft/concerns/host_orchestration_build_hook.rb
|
151
|
+
- app/models/staypuft/concerns/host_fencing_extensions.rb
|
152
|
+
- app/models/staypuft/concerns/lookup_key_extensions.rb
|
153
|
+
- app/models/staypuft/concerns/host_open_stack_affiliation.rb
|
154
|
+
- app/models/staypuft/role_service.rb
|
155
|
+
- app/models/staypuft/service.rb
|
156
|
+
- app/models/staypuft/role_class.rb
|
157
|
+
- app/models/staypuft/layout_subnet_type.rb
|
158
|
+
- app/models/staypuft/vip_nic.rb
|
159
|
+
- app/models/staypuft/deployment.rb
|
160
|
+
- app/models/staypuft/subnet_typing.rb
|
161
|
+
- app/models/staypuft/deployment_role_hostgroup.rb
|
162
|
+
- app/models/setting/staypuft_provisioning.rb
|
163
|
+
- app/overrides/customize_foreman_tasks_show_page.rb
|
164
|
+
- app/overrides/select_multiple_systems_hostgroup.rb
|
165
|
+
- app/overrides/foreman_hosts_edit.rb
|
166
|
+
- app/overrides/hosts_edit_subnet_types.rb
|
167
|
+
- app/overrides/hide_subscription_manager_passwords.rb
|
168
|
+
- app/lib/actions/staypuft/hostgroup/ordered_deploy.rb
|
169
|
+
- app/lib/actions/staypuft/deployment/populate.rb
|
170
|
+
- app/lib/actions/staypuft/deployment/deploy.rb
|
171
|
+
- app/lib/actions/staypuft/host/assert_report_success.rb
|
172
|
+
- app/lib/actions/staypuft/host/update.rb
|
173
|
+
- app/lib/actions/staypuft/host/wait_until_ready.rb
|
174
|
+
- app/lib/actions/staypuft/host/puppet_run.rb
|
175
|
+
- app/lib/actions/staypuft/host/trigger_provisioning.rb
|
176
|
+
- app/lib/actions/staypuft/host/report_wait.rb
|
177
|
+
- app/lib/actions/staypuft/host/wait_until_provisioned.rb
|
178
|
+
- app/lib/actions/staypuft/host/deploy.rb
|
179
|
+
- app/lib/actions/staypuft/host/create.rb
|
180
|
+
- app/lib/actions/staypuft/middleware/as_current_user.rb
|
181
|
+
- app/lib/staypuft/network_query.rb
|
182
|
+
- app/lib/staypuft/deployment_param_importer.rb
|
183
|
+
- app/lib/staypuft/seeder.rb
|
184
|
+
- app/lib/staypuft/exception.rb
|
185
|
+
- app/lib/staypuft/deployment_param_exporter.rb
|
186
|
+
- app/views/hosts/_new_nic_fields.html.erb
|
187
|
+
- app/views/hosts/_fencing.html.erb
|
188
|
+
- app/views/hosts/_primary_interface_subnet.html.erb
|
120
189
|
- app/views/staypuft/steps/_nova.html.erb
|
121
190
|
- app/views/staypuft/steps/services_overview.html.erb
|
122
|
-
- app/views/staypuft/steps/
|
123
|
-
- app/views/staypuft/steps/
|
124
|
-
- app/views/staypuft/steps/_glance.html.erb
|
125
|
-
- app/views/staypuft/steps/_cinder.html.erb
|
126
|
-
- app/views/staypuft/steps/_title.html.erb
|
191
|
+
- app/views/staypuft/steps/_neutron_cisco_nexus_form.html.erb
|
192
|
+
- app/views/staypuft/steps/network_configuration.html.erb
|
127
193
|
- app/views/staypuft/steps/_cinder_equallogic_form.html.erb
|
194
|
+
- app/views/staypuft/steps/_title.html.erb
|
195
|
+
- app/views/staypuft/steps/services_configuration.html.erb
|
128
196
|
- app/views/staypuft/steps/_neutron_ha.html.erb
|
129
|
-
- app/views/staypuft/steps/
|
197
|
+
- app/views/staypuft/steps/deployment_settings.html.erb
|
198
|
+
- app/views/staypuft/steps/_cinder.html.erb
|
199
|
+
- app/views/staypuft/steps/_nova_ha.html.erb
|
200
|
+
- app/views/staypuft/steps/_glance.html.erb
|
201
|
+
- app/views/staypuft/steps/_neutron.html.erb
|
202
|
+
- app/views/staypuft/steps/_wizard_form_buttons.html.erb
|
203
|
+
- app/views/staypuft/subnet_types/_subnet_type_pull.html.erb
|
204
|
+
- app/views/staypuft/layouts/staypuft.html.erb
|
205
|
+
- app/views/staypuft/layouts/application.html.erb
|
206
|
+
- app/views/staypuft/bonds/destroy.js.erb
|
207
|
+
- app/views/staypuft/bonds/add_slave.js.erb
|
208
|
+
- app/views/staypuft/bonds/create.js.erb
|
130
209
|
- app/views/staypuft/subnet_typings/destroy.js.erb
|
131
|
-
- app/views/staypuft/subnet_typings/update.js.erb
|
132
210
|
- app/views/staypuft/subnet_typings/create.js.erb
|
133
|
-
- app/views/staypuft/
|
134
|
-
- app/views/staypuft/
|
211
|
+
- app/views/staypuft/subnet_typings/update.js.erb
|
212
|
+
- app/views/staypuft/subnets/new.html.erb
|
213
|
+
- app/views/staypuft/subnets/create.js.erb
|
214
|
+
- app/views/staypuft/subnets/_subnet_pull.html.erb
|
215
|
+
- app/views/staypuft/subnets/_form.html.erb
|
216
|
+
- app/views/staypuft/subnets/_drop_zone.html.erb
|
217
|
+
- app/views/staypuft/interfaces/_drop_zone.html.erb
|
218
|
+
- app/views/staypuft/interface_assignments/index.html.erb
|
219
|
+
- app/views/staypuft/interface_assignments/destroy.js.erb
|
220
|
+
- app/views/staypuft/interface_assignments/_interfaces.html.erb
|
221
|
+
- app/views/staypuft/interface_assignments/create.js.erb
|
222
|
+
- app/views/staypuft/interface_assignments/_nics_assignment.html.erb
|
223
|
+
- app/views/staypuft/interface_assignments/_nics_assignment_overview.html.erb
|
224
|
+
- app/views/staypuft/deployments/edit.html.erb
|
225
|
+
- app/views/staypuft/deployments/_advanced_configuration.html.erb
|
226
|
+
- app/views/staypuft/deployments/_assigned_hosts_table.html.erb
|
135
227
|
- app/views/staypuft/deployments/index.html.erb
|
136
|
-
- app/views/staypuft/deployments/_assigned_hosts.html.erb
|
137
|
-
- app/views/staypuft/deployments/_free_hosts.html.erb
|
138
|
-
- app/views/staypuft/deployments/_deployment_summary.html.erb
|
139
228
|
- app/views/staypuft/deployments/_deployment_overview.html.erb
|
140
|
-
- app/views/staypuft/deployments/
|
141
|
-
- app/views/staypuft/deployments/_deployment_progress_bar.html.erb
|
229
|
+
- app/views/staypuft/deployments/_param_field.html.erb
|
142
230
|
- app/views/staypuft/deployments/_host_head_row.html.erb
|
231
|
+
- app/views/staypuft/deployments/_deployment_progress_page_header.html.erb
|
232
|
+
- app/views/staypuft/deployments/_free_hosts_table.html.erb
|
233
|
+
- app/views/staypuft/deployments/_hosts_filter.html.erb
|
234
|
+
- app/views/staypuft/deployments/_empty_hosts.html.erb
|
235
|
+
- app/views/staypuft/deployments/_assigned_hosts.html.erb
|
236
|
+
- app/views/staypuft/deployments/_host_row.html.erb
|
237
|
+
- app/views/staypuft/deployments/_deployment_hosts.html.erb
|
238
|
+
- app/views/staypuft/deployments/show.html.erb
|
143
239
|
- app/views/staypuft/deployments/_deployed_hosts_table.html.erb
|
144
240
|
- app/views/staypuft/deployments/_deployed_hosts.html.erb
|
145
|
-
- app/views/staypuft/deployments/
|
146
|
-
- app/views/staypuft/deployments/
|
147
|
-
- app/views/staypuft/deployments/
|
241
|
+
- app/views/staypuft/deployments/_free_hosts.html.erb
|
242
|
+
- app/views/staypuft/deployments/_hosts_table.html.erb
|
243
|
+
- app/views/staypuft/deployments/_deployment_show_header.html.erb
|
148
244
|
- app/views/staypuft/deployments/_hosts_header.html.erb
|
149
|
-
- app/views/staypuft/deployments/
|
150
|
-
- app/views/staypuft/deployments/
|
151
|
-
- app/views/staypuft/deployments/_deployment_networking.html.erb
|
152
|
-
- app/views/staypuft/deployments/show.html.erb
|
245
|
+
- app/views/staypuft/deployments/_deployment_access_all_details_dialogue.html.erb
|
246
|
+
- app/views/staypuft/deployments/_deployment_progress_bar.html.erb
|
153
247
|
- app/views/staypuft/deployments/_import_form.html.erb
|
154
|
-
- app/views/staypuft/deployments/
|
155
|
-
- app/views/staypuft/deployments/
|
156
|
-
- app/views/staypuft/deployments/_deployment_hosts.html.erb
|
157
|
-
- app/views/staypuft/deployments/edit.html.erb
|
158
|
-
- app/views/staypuft/deployments/_deployment_progress_page_header.html.erb
|
159
|
-
- app/views/staypuft/deployments/_assigned_hosts_table.html.erb
|
160
|
-
- app/views/staypuft/subnets/_drop_zone.html.erb
|
161
|
-
- app/views/staypuft/subnets/_form.html.erb
|
162
|
-
- app/views/staypuft/subnets/_subnet_pull.html.erb
|
163
|
-
- app/views/staypuft/subnets/new.html.erb
|
164
|
-
- app/views/staypuft/subnets/create.js.erb
|
248
|
+
- app/views/staypuft/deployments/_deployment_summary.html.erb
|
249
|
+
- app/views/staypuft/deployments/_deployment_networking.html.erb
|
165
250
|
- app/views/nic/_subnet_id_field.html.erb
|
166
|
-
- app/views/hosts/_primary_interface_subnet.html.erb
|
167
|
-
- app/views/hosts/_new_nic_fields.html.erb
|
168
|
-
- app/views/hosts/_fencing.html.erb
|
169
|
-
- app/lib/staypuft/network_query.rb
|
170
|
-
- app/lib/staypuft/deployment_param_exporter.rb
|
171
|
-
- app/lib/staypuft/seeder.rb
|
172
|
-
- app/lib/staypuft/exception.rb
|
173
|
-
- app/lib/staypuft/deployment_param_importer.rb
|
174
|
-
- app/lib/actions/staypuft/middleware/as_current_user.rb
|
175
|
-
- app/lib/actions/staypuft/host/deploy.rb
|
176
|
-
- app/lib/actions/staypuft/host/wait_until_provisioned.rb
|
177
|
-
- app/lib/actions/staypuft/host/assert_report_success.rb
|
178
|
-
- app/lib/actions/staypuft/host/puppet_run.rb
|
179
|
-
- app/lib/actions/staypuft/host/update.rb
|
180
|
-
- app/lib/actions/staypuft/host/create.rb
|
181
|
-
- app/lib/actions/staypuft/host/wait_until_ready.rb
|
182
|
-
- app/lib/actions/staypuft/host/report_wait.rb
|
183
|
-
- app/lib/actions/staypuft/host/trigger_provisioning.rb
|
184
|
-
- app/lib/actions/staypuft/deployment/deploy.rb
|
185
|
-
- app/lib/actions/staypuft/deployment/populate.rb
|
186
|
-
- app/lib/actions/staypuft/hostgroup/ordered_deploy.rb
|
187
|
-
- app/controllers/staypuft/concerns/hosts_api_extensions.rb
|
188
|
-
- app/controllers/staypuft/concerns/hosts_controller_extensions.rb
|
189
|
-
- app/controllers/staypuft/interface_assignments_controller.rb
|
190
|
-
- app/controllers/staypuft/bonds_controller.rb
|
191
|
-
- app/controllers/staypuft/subnet_typings_controller.rb
|
192
|
-
- app/controllers/staypuft/steps_controller.rb
|
193
|
-
- app/controllers/staypuft/deployments_controller.rb
|
194
|
-
- app/controllers/staypuft/subnets_controller.rb
|
195
|
-
- app/controllers/staypuft/application_controller.rb
|
196
|
-
- app/overrides/customize_foreman_tasks_show_page.rb
|
197
|
-
- app/overrides/hide_subscription_manager_passwords.rb
|
198
|
-
- app/overrides/hosts_edit_subnet_types.rb
|
199
|
-
- app/overrides/select_multiple_systems_hostgroup.rb
|
200
|
-
- app/overrides/foreman_hosts_edit.rb
|
201
|
-
- app/assets/javascripts/staypuft/host_edit.js
|
202
|
-
- app/assets/javascripts/staypuft/new_subnet.js
|
203
|
-
- app/assets/javascripts/staypuft/subnets_assignment.js
|
204
|
-
- app/assets/javascripts/staypuft/staypuft.js
|
205
|
-
- app/assets/javascripts/staypuft/nics_assignment.js
|
206
|
-
- app/assets/stylesheets/staypuft/foreman_helper.scss
|
207
|
-
- app/assets/stylesheets/staypuft/staypuft.css.scss
|
208
|
-
- app/assets/stylesheets/staypuft/bootstrap_and_overrides.css.scss
|
209
|
-
- app/helpers/staypuft/deployments_helper.rb
|
210
251
|
- app/helpers/staypuft/hosts_helper.rb
|
252
|
+
- app/helpers/staypuft/deployments_helper.rb
|
211
253
|
- app/helpers/staypuft/application_helper.rb
|
212
|
-
- app/models/staypuft/concerns/hostgroup_extensions.rb
|
213
|
-
- app/models/staypuft/concerns/host_open_stack_affiliation.rb
|
214
|
-
- app/models/staypuft/concerns/lookup_key_extensions.rb
|
215
|
-
- app/models/staypuft/concerns/host_interface_management.rb
|
216
|
-
- app/models/staypuft/concerns/nic_fencing_extensions.rb
|
217
|
-
- app/models/staypuft/concerns/host_orchestration_build_hook.rb
|
218
|
-
- app/models/staypuft/concerns/environment_extensions.rb
|
219
|
-
- app/models/staypuft/concerns/puppetclass_extensions.rb
|
220
|
-
- app/models/staypuft/concerns/host_details_helper.rb
|
221
|
-
- app/models/staypuft/concerns/host_fencing_extensions.rb
|
222
|
-
- app/models/staypuft/service.rb
|
223
|
-
- app/models/staypuft/deployment.rb
|
224
|
-
- app/models/staypuft/role_service.rb
|
225
|
-
- app/models/staypuft/layout_role.rb
|
226
|
-
- app/models/staypuft/vip_nic.rb
|
227
|
-
- app/models/staypuft/layout_subnet_type.rb
|
228
|
-
- app/models/staypuft/simple_subnet.rb
|
229
|
-
- app/models/staypuft/deployment/neutron_service/cisconexus.rb
|
230
|
-
- app/models/staypuft/deployment/neutron_service.rb
|
231
|
-
- app/models/staypuft/deployment/passwords.rb
|
232
|
-
- app/models/staypuft/deployment/attribute_param_storage.rb
|
233
|
-
- app/models/staypuft/deployment/glance_service.rb
|
234
|
-
- app/models/staypuft/deployment/ip_check.rb
|
235
|
-
- app/models/staypuft/deployment/nova_service.rb
|
236
|
-
- app/models/staypuft/deployment/nfs_uri_validator.rb
|
237
|
-
- app/models/staypuft/deployment/vlan_range_values_validator.rb
|
238
|
-
- app/models/staypuft/deployment/abstract_param_scope.rb
|
239
|
-
- app/models/staypuft/deployment/cinder_service/equallogic.rb
|
240
|
-
- app/models/staypuft/deployment/ceph_service.rb
|
241
|
-
- app/models/staypuft/deployment/ip_address_validator.rb
|
242
|
-
- app/models/staypuft/deployment/cinder_service.rb
|
243
|
-
- app/models/staypuft/subnet_type.rb
|
244
|
-
- app/models/staypuft/role_class.rb
|
245
|
-
- app/models/staypuft/fencing.rb
|
246
|
-
- app/models/staypuft/interface_assigner.rb
|
247
|
-
- app/models/staypuft/deployment_vip_nic.rb
|
248
|
-
- app/models/staypuft/role.rb
|
249
|
-
- app/models/staypuft/layout.rb
|
250
|
-
- app/models/staypuft/deployment_role_hostgroup.rb
|
251
|
-
- app/models/staypuft/subnet_typing.rb
|
252
|
-
- app/models/staypuft/service_class.rb
|
253
|
-
- app/models/setting/staypuft_provisioning.rb
|
254
|
-
- config/routes.rb
|
255
254
|
- config/staypuft.local.rb
|
255
|
+
- config/routes.rb
|
256
256
|
- db/seeds.rb
|
257
|
-
- db/migrate/20140623142500_remove_amqp_provider_from_staypuft_deployment.rb
|
258
|
-
- db/migrate/20141003223000_add_validation_to_subnet_types.rb
|
259
|
-
- db/migrate/20140825164900_add_orchestration_to_staypuft_role.rb
|
260
|
-
- db/migrate/20140507103716_add_form_step_to_staypuft_deployment.rb
|
261
|
-
- db/migrate/20140318163222_add_deploy_order_to_staypuft_layout_role.rb
|
262
|
-
- db/migrate/20140701090256_create_staypuft_subnet_typings.rb
|
263
|
-
- db/migrate/20140831234000_add_required_to_subnet_types.rb
|
264
|
-
- db/migrate/20140312044533_create_staypuft_deployment_role_hostgroups.rb
|
265
257
|
- db/migrate/20140701075033_create_layout_subnet.rb
|
266
|
-
- db/migrate/
|
258
|
+
- db/migrate/20140310023613_create_staypuft_roles.rb
|
259
|
+
- db/migrate/20140310203855_create_staypuft_role_services.rb
|
260
|
+
- db/migrate/20140701090256_create_staypuft_subnet_typings.rb
|
261
|
+
- db/migrate/20140701074900_create_subnet_type.rb
|
267
262
|
- db/migrate/20140602121501_add_amqp_provider_to_staypuft_deployment.rb
|
268
263
|
- db/migrate/20140309021811_create_staypuft_layouts.rb
|
269
|
-
- db/migrate/
|
270
|
-
- db/migrate/
|
264
|
+
- db/migrate/20140310174152_create_staypuft_layout_roles.rb
|
265
|
+
- db/migrate/20140318163222_add_deploy_order_to_staypuft_layout_role.rb
|
266
|
+
- db/migrate/20140825164900_add_orchestration_to_staypuft_role.rb
|
267
|
+
- db/migrate/20140326032027_drop_staypuft_hostgroup_roles.rb
|
268
|
+
- db/migrate/20140623142500_remove_amqp_provider_from_staypuft_deployment.rb
|
269
|
+
- db/migrate/20141009064907_add_custom_repos_to_deployment.rb
|
270
|
+
- db/migrate/20140513124807_change_column_default_form_step_on_staypuft_deployment.rb
|
271
271
|
- db/migrate/20140312050615_create_staypuft_role_classes.rb
|
272
272
|
- db/migrate/20140310004533_create_staypuft_deployments.rb
|
273
|
-
- db/migrate/
|
274
|
-
- db/migrate/
|
273
|
+
- db/migrate/20140312050001_create_staypuft_hostgroup_roles.rb
|
274
|
+
- db/migrate/20140831234000_add_required_to_subnet_types.rb
|
275
|
+
- db/migrate/20140325211410_add_role_to_staypuft_deployment_role_hostgroup.rb
|
275
276
|
- db/migrate/20140312051144_create_staypuft_service_classes.rb
|
276
|
-
- db/migrate/
|
277
|
+
- db/migrate/20141003223000_add_validation_to_subnet_types.rb
|
278
|
+
- db/migrate/20140312044533_create_staypuft_deployment_role_hostgroups.rb
|
277
279
|
- db/migrate/20140315031754_add_networking_to_staypuft_layout.rb
|
278
|
-
- db/migrate/
|
280
|
+
- db/migrate/20140507103716_add_form_step_to_staypuft_deployment.rb
|
281
|
+
- db/migrate/20141107144800_create_staypuft_deployment_vip_nics.rb
|
279
282
|
- db/migrate/20140310194221_create_staypuft_services.rb
|
280
|
-
-
|
281
|
-
- db/migrate/20140326032027_drop_staypuft_hostgroup_roles.rb
|
282
|
-
- db/migrate/20140325211410_add_role_to_staypuft_deployment_role_hostgroup.rb
|
283
|
+
- lib/staypuft.rb
|
283
284
|
- lib/staypuft/engine.rb
|
284
285
|
- lib/staypuft/version.rb
|
285
|
-
- lib/staypuft.rb
|
286
286
|
- lib/tasks/staypuft_tasks.rake
|
287
287
|
- LICENSE
|
288
288
|
- Rakefile
|
289
289
|
- README.md
|
290
290
|
- test/test_helper.rb
|
291
|
-
- test/
|
291
|
+
- test/staypuft_test.rb
|
292
|
+
- test/unit/staypuft_test.rb
|
292
293
|
- test/test_plugin_helper.rb
|
294
|
+
- test/factories/staypuft_factories.rb
|
293
295
|
- test/integration/navigation_test.rb
|
294
|
-
- test/unit/staypuft_test.rb
|
295
|
-
- test/staypuft_test.rb
|
296
296
|
homepage: https://github.com/theforeman/staypuft
|
297
297
|
licenses:
|
298
298
|
- GPL-3.0+
|
@@ -303,24 +303,24 @@ require_paths:
|
|
303
303
|
- lib
|
304
304
|
required_ruby_version: !ruby/object:Gem::Requirement
|
305
305
|
requirements:
|
306
|
-
- -
|
306
|
+
- - '>='
|
307
307
|
- !ruby/object:Gem::Version
|
308
308
|
version: '0'
|
309
309
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
310
310
|
requirements:
|
311
|
-
- -
|
311
|
+
- - '>='
|
312
312
|
- !ruby/object:Gem::Version
|
313
313
|
version: '0'
|
314
314
|
requirements: []
|
315
315
|
rubyforge_project:
|
316
|
-
rubygems_version: 2.0.
|
316
|
+
rubygems_version: 2.0.14
|
317
317
|
signing_key:
|
318
318
|
specification_version: 4
|
319
319
|
summary: OpenStack Foreman Installer
|
320
320
|
test_files:
|
321
321
|
- test/test_helper.rb
|
322
|
-
- test/
|
322
|
+
- test/staypuft_test.rb
|
323
|
+
- test/unit/staypuft_test.rb
|
323
324
|
- test/test_plugin_helper.rb
|
325
|
+
- test/factories/staypuft_factories.rb
|
324
326
|
- test/integration/navigation_test.rb
|
325
|
-
- test/unit/staypuft_test.rb
|
326
|
-
- test/staypuft_test.rb
|