knife-openstack 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +5 -5
  2. data/lib/chef/knife/cloud/openstack_server_create_options.rb +16 -1
  3. data/lib/chef/knife/cloud/openstack_service.rb +14 -2
  4. data/lib/chef/knife/cloud/openstack_service_options.rb +17 -1
  5. data/lib/chef/knife/openstack_flavor_list.rb +16 -2
  6. data/lib/chef/knife/openstack_floating_ip_allocate.rb +16 -2
  7. data/lib/chef/knife/openstack_floating_ip_associate.rb +17 -3
  8. data/lib/chef/knife/openstack_floating_ip_disassociate.rb +17 -3
  9. data/lib/chef/knife/openstack_floating_ip_list.rb +16 -2
  10. data/lib/chef/knife/openstack_floating_ip_release.rb +14 -2
  11. data/lib/chef/knife/openstack_group_list.rb +18 -1
  12. data/lib/chef/knife/openstack_helpers.rb +17 -1
  13. data/lib/chef/knife/openstack_image_list.rb +16 -2
  14. data/lib/chef/knife/openstack_network_list.rb +16 -2
  15. data/lib/chef/knife/openstack_server_create.rb +3 -4
  16. data/lib/chef/knife/openstack_server_delete.rb +14 -2
  17. data/lib/chef/knife/openstack_server_list.rb +3 -4
  18. data/lib/chef/knife/openstack_server_show.rb +1 -2
  19. data/lib/chef/knife/openstack_volume_list.rb +4 -4
  20. data/lib/knife-openstack/version.rb +2 -2
  21. metadata +8 -207
  22. data/.github/ISSUE_TEMPLATE.md +0 -21
  23. data/.gitignore +0 -32
  24. data/.travis.yml +0 -18
  25. data/CHANGELOG.md +0 -339
  26. data/CONTRIBUTING.MD +0 -164
  27. data/Gemfile +0 -5
  28. data/README.md +0 -179
  29. data/Rakefile +0 -29
  30. data/knife-openstack.gemspec +0 -41
  31. data/spec/functional/flavor_list_func_spec.rb +0 -47
  32. data/spec/functional/floating_ip_list_func_spec.rb +0 -48
  33. data/spec/functional/group_list_func_spec.rb +0 -65
  34. data/spec/functional/image_list_func_spec.rb +0 -53
  35. data/spec/functional/network_list_func_spec.rb +0 -46
  36. data/spec/functional/server_create_func_spec.rb +0 -118
  37. data/spec/functional/server_delete_func_spec.rb +0 -84
  38. data/spec/functional/server_list_func_spec.rb +0 -98
  39. data/spec/functional/server_show_func_spec.rb +0 -46
  40. data/spec/functional/volume_list_func_spec.rb +0 -46
  41. data/spec/integration/cleanup.rb +0 -89
  42. data/spec/integration/config/environment.yml.sample +0 -13
  43. data/spec/integration/openstack_spec.rb +0 -649
  44. data/spec/spec_context.rb +0 -56
  45. data/spec/spec_helper.rb +0 -128
  46. data/spec/unit/openstack_flavor_list_spec.rb +0 -30
  47. data/spec/unit/openstack_floating_ip_allocate_spec.rb +0 -56
  48. data/spec/unit/openstack_floating_ip_associate_spec.rb +0 -40
  49. data/spec/unit/openstack_floating_ip_disassociate_spec.rb +0 -39
  50. data/spec/unit/openstack_floating_ip_list_spec.rb +0 -27
  51. data/spec/unit/openstack_floating_ip_release_spec.rb +0 -49
  52. data/spec/unit/openstack_group_list_spec.rb +0 -44
  53. data/spec/unit/openstack_image_list_spec.rb +0 -32
  54. data/spec/unit/openstack_network_list_spec.rb +0 -39
  55. data/spec/unit/openstack_server_create_spec.rb +0 -449
  56. data/spec/unit/openstack_server_delete_spec.rb +0 -43
  57. data/spec/unit/openstack_server_list_spec.rb +0 -32
  58. data/spec/unit/openstack_server_show_spec.rb +0 -42
  59. data/spec/unit/openstack_service_spec.rb +0 -128
  60. data/spec/unit/openstack_volume_list_spec.rb +0 -30
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 3a29b5e000e62f43f3372bd4fb9d498e3bbc92c2
4
- data.tar.gz: 623f77f926e18fbb88577983458e7188e7ac09ba
2
+ SHA256:
3
+ metadata.gz: cfa0c53f56548c1af249130a2e7f9857d5381acc9903960900a89b305008b00f
4
+ data.tar.gz: 7f134cec3f720164ebd217434b1744d00738cc50ebaaa74df918b26e7cefe683
5
5
  SHA512:
6
- metadata.gz: 6a2a31b7e81b7c15d32606c83505a6e8e4d87822ffda0673aa4e974fda09976b66649172b534bf710cf01a6a5b3f6beea3dc2b80e566f5198bc9a6ce0ee6032e
7
- data.tar.gz: 554bd1d53c99afc1d489c7fdd82c4915ae40c5843dcc5ad20bb2136bdebf4bbed24f3c965a69869a915d9e9c1cfa80a30c31f35c2d084d7f351d56f6bbadd455
6
+ metadata.gz: d7f3163d3573e2c4372e244abf392a423b5be37e10b35915edbb2c2ecfedfac540b329a0db523255ca4b04b4ac78611c17d60f7985aa4539cb0e571cf3db698e
7
+ data.tar.gz: cf4df4f3cfdf1d5f4d2b6d6a89dc545660a9808fdc5eda0c255bcfc1e6890490ce51e47e2eb9a092ee255f02cd25d86c1a6e26b8147b1ccbf483717119dc7299
@@ -1,5 +1,20 @@
1
+ #
2
+ # Copyright:: Copyright 2018 Chef Software, Inc.
3
+ # License:: Apache License, Version 2.0
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+ #
1
17
 
2
- # frozen_string_literal: true
3
18
  require "chef/knife/cloud/server/create_options"
4
19
 
5
20
  class Chef
@@ -1,8 +1,20 @@
1
- # frozen_string_literal: true
2
1
  #
3
2
  # Author:: Siddheshwar More (<siddheshwar.more@clogeny.com>)
4
3
  # Author:: Kaustubh Deorukhkar (<kaustubh@clogeny.com>)
5
- # Copyright:: Copyright (c) 2013 Chef Software, Inc.
4
+ # Copyright:: Copyright 2013-2018 Chef Software, Inc.
5
+ # License:: Apache License, Version 2.0
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
6
18
  #
7
19
 
8
20
  require "chef/knife/cloud/fog/service"
@@ -1,4 +1,20 @@
1
- # frozen_string_literal: true
1
+ #
2
+ # Copyright:: Copyright 2018 Chef Software, Inc.
3
+ # License:: Apache License, Version 2.0
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+ #
17
+
2
18
  require "chef/knife/cloud/fog/options"
3
19
  class Chef
4
20
  class Knife
@@ -1,6 +1,20 @@
1
- # frozen_string_literal: true
1
+ #
2
2
  # Author:: Prabhu Das (<prabhu.das@clogeny.com>)
3
- # Copyright:: Copyright (c) 2014 Chef Software, Inc.
3
+ # Copyright:: Copyright 2014-2018 Chef Software, Inc.
4
+ # License:: Apache License, Version 2.0
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
4
18
 
5
19
  require "chef/knife/cloud/list_resource_command"
6
20
  require "chef/knife/openstack_helpers"
@@ -1,6 +1,20 @@
1
- # frozen_string_literal: true
1
+ #
2
2
  # Author:: Vasundhara Jagdale (<vasundhara.jagdale@clogeny.com>)
3
- # Copyright:: Copyright (c) 2015 Chef Software, Inc.
3
+ # Copyright:: Copyright 2015-2018 Chef Software, Inc.
4
+ # License:: Apache License, Version 2.0
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
4
18
 
5
19
  require "chef/knife/openstack_helpers"
6
20
  require "chef/knife/cloud/openstack_service_options"
@@ -1,6 +1,20 @@
1
- # frozen_string_literal: true
1
+ #
2
2
  # Author:: Vasundhara Jagdale (<vasundhara.jagdale@clogeny.com>)
3
- # Copyright:: Copyright (c) 2015 Chef Software, Inc.
3
+ # Copyright:: Copyright 2015-2018 Chef Software, Inc.
4
+ # License:: Apache License, Version 2.0
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
4
18
 
5
19
  require "chef/knife/openstack_helpers"
6
20
  require "chef/knife/cloud/openstack_service_options"
@@ -30,7 +44,7 @@ class Chef
30
44
  exit 1
31
45
  end
32
46
 
33
- response = @service.associate_address(instance_id, floating_ip)
47
+ response = @service.associate_address(locate_config_value(:instance_id), floating_ip)
34
48
  if response && response.status == 202
35
49
  ui.info "Floating IP #{floating_ip} associated with Instance #{locate_config_value(:instance_id)}"
36
50
  end
@@ -1,6 +1,20 @@
1
- # frozen_string_literal: true
1
+ #
2
2
  # Author:: Vasundhara Jagdale (<vasundhara.jagdale@clogeny.com>)
3
- # Copyright:: Copyright (c) 2015 Chef Software, Inc.
3
+ # Copyright:: Copyright 2015-2018 Chef Software, Inc.
4
+ # License:: Apache License, Version 2.0
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
4
18
 
5
19
  require "chef/knife/openstack_helpers"
6
20
  require "chef/knife/cloud/openstack_service_options"
@@ -30,8 +44,8 @@ class Chef
30
44
  exit 1
31
45
  end
32
46
 
47
+ response = @service.disassociate_address(locate_config_value(:instance_id), floating_ip)
33
48
  if response && response.status == 202
34
- response = @service.disassociate_address(instance_id, floating_ip)
35
49
  ui.info "Floating IP #{floating_ip} disassociated with Instance #{locate_config_value(:instance_id)}"
36
50
  end
37
51
  end
@@ -1,6 +1,20 @@
1
- # frozen_string_literal: true
1
+ #
2
2
  # Author:: Vasundhara Jagdale (<vasundhara.jagdale@clogeny.com>)
3
- # Copyright:: Copyright (c) 2015 Chef Software, Inc.
3
+ # Copyright:: Copyright 2015-2018 Chef Software, Inc.
4
+ # License:: Apache License, Version 2.0
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
4
18
 
5
19
  require "chef/knife/cloud/list_resource_command"
6
20
  require "chef/knife/openstack_helpers"
@@ -1,7 +1,19 @@
1
- # frozen_string_literal: true
2
1
  #
3
2
  # Author:: Vasundhara Jagdale (<vasundhara.jagdale@clogeny.com>)
4
- # Copyright:: Copyright (c) 2015 Chef Software, Inc.
3
+ # Copyright:: Copyright 2015-2018 Chef Software, Inc.
4
+ # License:: Apache License, Version 2.0
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
5
17
  #
6
18
 
7
19
  require "chef/knife/openstack_helpers"
@@ -1,7 +1,24 @@
1
- # frozen_string_literal: true
1
+ #
2
+ # Copyright:: Copyright 2018 Chef Software, Inc.
3
+ # License:: Apache License, Version 2.0
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+ #
17
+
2
18
  require "chef/knife/cloud/list_resource_command"
3
19
  require "chef/knife/openstack_helpers"
4
20
  require "chef/knife/cloud/openstack_service_options"
21
+ require "chef/json_compat"
5
22
 
6
23
  class Chef
7
24
  class Knife
@@ -1,4 +1,20 @@
1
- # frozen_string_literal: true
1
+ #
2
+ # Copyright:: Copyright 2018 Chef Software, Inc.
3
+ # License:: Apache License, Version 2.0
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+ #
17
+
2
18
  require "chef/knife/cloud/openstack_service_options"
3
19
 
4
20
  class Chef
@@ -1,6 +1,20 @@
1
- # frozen_string_literal: true
1
+ #
2
2
  # Author:: Prabhu Das (<prabhu.das@clogeny.com>)
3
- # Copyright:: Copyright (c) 2014 Chef Software, Inc.
3
+ # Copyright:: Copyright 2014-2018 Chef Software, Inc.
4
+ # License:: Apache License, Version 2.0
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
4
18
 
5
19
  require "chef/knife/cloud/list_resource_command"
6
20
  require "chef/knife/openstack_helpers"
@@ -1,6 +1,20 @@
1
- # frozen_string_literal: true
1
+ #
2
2
  # Author:: Prabhu Das (<prabhu.das@clogeny.com>)
3
- # Copyright:: Copyright (c) 2014 Chef Software, Inc.
3
+ # Copyright:: Copyright 2014-2018 Chef Software, Inc.
4
+ # License:: Apache License, Version 2.0
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
4
18
 
5
19
  require "chef/knife/cloud/list_resource_command"
6
20
  require "chef/knife/openstack_helpers"
@@ -1,9 +1,8 @@
1
- # frozen_string_literal: true
2
1
  #
3
- # Author:: Seth Chisamore (<schisamo@getchef.com>)
4
- # Author:: Matt Ray (<matt@getchef.com>)
2
+ # Author:: Seth Chisamore (<schisamo@chef.io>)
3
+ # Author:: Matt Ray (<matt@chef.io>)
5
4
  # Author:: Chirag Jog (<chirag@clogeny.com>)
6
- # Copyright:: Copyright (c) 2011-2014 Chef Software, Inc.
5
+ # Copyright:: Copyright 2011-2018 Chef Software, Inc.
7
6
  # License:: Apache License, Version 2.0
8
7
  #
9
8
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,8 +1,20 @@
1
- # frozen_string_literal: true
2
1
  #
3
2
  # Author:: Siddheshwar More (<siddheshwar.more@clogeny.com>)
4
3
  # Author:: Kaustubh Deorukhkar (<kaustubh@clogeny.com>)
5
- # Copyright:: Copyright (c) 2013 Chef Software, Inc.
4
+ # Copyright:: Copyright 2013-2018 Chef Software, Inc.
5
+ # License:: Apache License, Version 2.0
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
6
18
  #
7
19
 
8
20
  require "chef/knife/cloud/server/delete_options"
@@ -1,10 +1,9 @@
1
- # frozen_string_literal: true
2
1
  #
3
- # Author:: Seth Chisamore (<schisamo@getchef.com>)
4
- # Author:: Matt Ray (<matt@getchef.com>)
2
+ # Author:: Seth Chisamore (<schisamo@chef.io>)
3
+ # Author:: Matt Ray (<matt@chef.io>)
5
4
  # Author:: Chirag Jog (<chirag@clogeny.com>)
6
5
  # Author:: Prabhu Das (<prabhu.das@clogeny.com>)
7
- # Copyright:: Copyright (c) 2011-2013 Chef Software, Inc.
6
+ # Copyright:: Copyright 2011-2018 Chef Software, Inc.
8
7
  # License:: Apache License, Version 2.0
9
8
  #
10
9
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,5 @@
1
- # frozen_string_literal: true
2
1
  #
3
- # Copyright:: Copyright (c) 2011-2013 Chef Software, Inc.
2
+ # Copyright:: Copyright 2011-2018 Chef Software, Inc.
4
3
  # License:: Apache License, Version 2.0
5
4
  #
6
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,9 +1,8 @@
1
- # frozen_string_literal: true
2
1
  #
3
- # Author:: Seth Chisamore (<schisamo@getchef.com>)
4
- # Author:: Matt Ray (<matt@getchef.com>)
2
+ # Author:: Seth Chisamore (<schisamo@chef.io>)
3
+ # Author:: Matt Ray (<matt@chef.io>)
5
4
  # Author:: Evan Felix (<karcaw@gmail.com>)
6
- # Copyright:: Copyright (c) 2011-2014 Chef Software, Inc.
5
+ # Copyright:: Copyright 2011-2018 Chef Software, Inc.
7
6
  # License:: Apache License, Version 2.0
8
7
  #
9
8
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -22,6 +21,7 @@
22
21
  require "chef/knife/cloud/list_resource_command"
23
22
  require "chef/knife/openstack_helpers"
24
23
  require "chef/knife/cloud/openstack_service_options"
24
+ require "chef/json_compat"
25
25
 
26
26
  class Chef
27
27
  class Knife
@@ -1,7 +1,7 @@
1
- # frozen_string_literal: true
1
+ #
2
2
  module Knife
3
3
  module OpenStack
4
- VERSION = "2.1.0"
4
+ VERSION = "2.1.1".freeze
5
5
  MAJOR, MINOR, TINY = VERSION.split(".")
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-openstack
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - JJ Asghar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-21 00:00:00.000000000 Z
11
+ date: 2018-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '12'
33
+ version: '13'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '12'
40
+ version: '13'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: knife-cloud
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -52,151 +52,14 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 1.2.0
55
- - !ruby/object:Gem::Dependency
56
- name: chefstyle
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: github_changelog_generator
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: guard-rspec
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: mixlib-shellout
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: rake
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- version: '0'
125
- - !ruby/object:Gem::Dependency
126
- name: rspec
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: '3.0'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - "~>"
137
- - !ruby/object:Gem::Version
138
- version: '3.0'
139
- - !ruby/object:Gem::Dependency
140
- name: rspec-expectations
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- version: '0'
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- version: '0'
153
- - !ruby/object:Gem::Dependency
154
- name: rspec-mocks
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - ">="
158
- - !ruby/object:Gem::Version
159
- version: '0'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - ">="
165
- - !ruby/object:Gem::Version
166
- version: '0'
167
- - !ruby/object:Gem::Dependency
168
- name: rspec_junit_formatter
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - ">="
172
- - !ruby/object:Gem::Version
173
- version: '0'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - ">="
179
- - !ruby/object:Gem::Version
180
- version: '0'
181
55
  description: A Chef knife plugin for OpenStack clouds.
182
56
  email:
183
57
  - jj@chef.io
184
58
  executables: []
185
59
  extensions: []
186
- extra_rdoc_files:
187
- - README.md
188
- - LICENSE
60
+ extra_rdoc_files: []
189
61
  files:
190
- - ".github/ISSUE_TEMPLATE.md"
191
- - ".gitignore"
192
- - ".travis.yml"
193
- - CHANGELOG.md
194
- - CONTRIBUTING.MD
195
- - Gemfile
196
62
  - LICENSE
197
- - README.md
198
- - Rakefile
199
- - knife-openstack.gemspec
200
63
  - lib/chef/knife/cloud/openstack_server_create_options.rb
201
64
  - lib/chef/knife/cloud/openstack_service.rb
202
65
  - lib/chef/knife/cloud/openstack_service_options.rb
@@ -216,37 +79,6 @@ files:
216
79
  - lib/chef/knife/openstack_server_show.rb
217
80
  - lib/chef/knife/openstack_volume_list.rb
218
81
  - lib/knife-openstack/version.rb
219
- - spec/functional/flavor_list_func_spec.rb
220
- - spec/functional/floating_ip_list_func_spec.rb
221
- - spec/functional/group_list_func_spec.rb
222
- - spec/functional/image_list_func_spec.rb
223
- - spec/functional/network_list_func_spec.rb
224
- - spec/functional/server_create_func_spec.rb
225
- - spec/functional/server_delete_func_spec.rb
226
- - spec/functional/server_list_func_spec.rb
227
- - spec/functional/server_show_func_spec.rb
228
- - spec/functional/volume_list_func_spec.rb
229
- - spec/integration/cleanup.rb
230
- - spec/integration/config/environment.yml.sample
231
- - spec/integration/config/incorrect_openstack.pem
232
- - spec/integration/openstack_spec.rb
233
- - spec/spec_context.rb
234
- - spec/spec_helper.rb
235
- - spec/unit/openstack_flavor_list_spec.rb
236
- - spec/unit/openstack_floating_ip_allocate_spec.rb
237
- - spec/unit/openstack_floating_ip_associate_spec.rb
238
- - spec/unit/openstack_floating_ip_disassociate_spec.rb
239
- - spec/unit/openstack_floating_ip_list_spec.rb
240
- - spec/unit/openstack_floating_ip_release_spec.rb
241
- - spec/unit/openstack_group_list_spec.rb
242
- - spec/unit/openstack_image_list_spec.rb
243
- - spec/unit/openstack_network_list_spec.rb
244
- - spec/unit/openstack_server_create_spec.rb
245
- - spec/unit/openstack_server_delete_spec.rb
246
- - spec/unit/openstack_server_list_spec.rb
247
- - spec/unit/openstack_server_show_spec.rb
248
- - spec/unit/openstack_service_spec.rb
249
- - spec/unit/openstack_volume_list_spec.rb
250
82
  homepage: https://github.com/chef/knife-openstack
251
83
  licenses:
252
84
  - Apache-2.0
@@ -259,7 +91,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
259
91
  requirements:
260
92
  - - ">="
261
93
  - !ruby/object:Gem::Version
262
- version: 2.2.2
94
+ version: '2.3'
263
95
  required_rubygems_version: !ruby/object:Gem::Requirement
264
96
  requirements:
265
97
  - - ">="
@@ -267,39 +99,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
267
99
  version: '0'
268
100
  requirements: []
269
101
  rubyforge_project:
270
- rubygems_version: 2.5.1
102
+ rubygems_version: 2.7.6
271
103
  signing_key:
272
104
  specification_version: 4
273
105
  summary: A Chef knife plugin for OpenStack clouds.
274
- test_files:
275
- - spec/functional/flavor_list_func_spec.rb
276
- - spec/functional/floating_ip_list_func_spec.rb
277
- - spec/functional/group_list_func_spec.rb
278
- - spec/functional/image_list_func_spec.rb
279
- - spec/functional/network_list_func_spec.rb
280
- - spec/functional/server_create_func_spec.rb
281
- - spec/functional/server_delete_func_spec.rb
282
- - spec/functional/server_list_func_spec.rb
283
- - spec/functional/server_show_func_spec.rb
284
- - spec/functional/volume_list_func_spec.rb
285
- - spec/integration/cleanup.rb
286
- - spec/integration/config/environment.yml.sample
287
- - spec/integration/config/incorrect_openstack.pem
288
- - spec/integration/openstack_spec.rb
289
- - spec/spec_context.rb
290
- - spec/spec_helper.rb
291
- - spec/unit/openstack_flavor_list_spec.rb
292
- - spec/unit/openstack_floating_ip_allocate_spec.rb
293
- - spec/unit/openstack_floating_ip_associate_spec.rb
294
- - spec/unit/openstack_floating_ip_disassociate_spec.rb
295
- - spec/unit/openstack_floating_ip_list_spec.rb
296
- - spec/unit/openstack_floating_ip_release_spec.rb
297
- - spec/unit/openstack_group_list_spec.rb
298
- - spec/unit/openstack_image_list_spec.rb
299
- - spec/unit/openstack_network_list_spec.rb
300
- - spec/unit/openstack_server_create_spec.rb
301
- - spec/unit/openstack_server_delete_spec.rb
302
- - spec/unit/openstack_server_list_spec.rb
303
- - spec/unit/openstack_server_show_spec.rb
304
- - spec/unit/openstack_service_spec.rb
305
- - spec/unit/openstack_volume_list_spec.rb
106
+ test_files: []