knife-ec-backup 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76b450dcd76db4d13569e2a0bb2698f33903f0bb
4
- data.tar.gz: 70a79178d91d74240cd2db487e4ba0e6a0d1ca24
3
+ metadata.gz: c708f5bb43f5a6e654e7cca85eb6d57ef70c159c
4
+ data.tar.gz: 2e09319976737981a00c54638d18179787c5c43d
5
5
  SHA512:
6
- metadata.gz: da50a45648d1e64559b71aefad81a9e9b2097c2a8673c46346546ea03ca89753c9f1c2cfa81ee1e18cb9ac023d241d36dc9cda3c413d751be51e61359ff523b9
7
- data.tar.gz: db4a3f1de0962d1dd30eabb0bf441c49073f796d6f5af7499161cf8dfc94cf7daa6faabe0df33a4b03d872bcd1bad7dbca44ec4797da83f8001d69a718ead63b
6
+ metadata.gz: 15ccc88cc17a20e2eace51632e7c850563f8b1f2e1bef621bab8e1aeff27d70b1143496f8fcafaa4b8673f0e37b39f8bedd3cd8a3b06f4533428f36ac7e978c3
7
+ data.tar.gz: 69b46781d7f2c12accaf7e82c396729c22f3a4fa6c4a7b55cba1bebe8005ef9acd9ab48241c0174299d628e42d19c7c6e4050eaaf2873c95fdeb3b51c62db78c
data/README.md CHANGED
@@ -22,7 +22,7 @@ This will install the plugin directly on the Chef Server:
22
22
  Clone the git repository and run the following from inside:
23
23
 
24
24
  gem build knife-ec-backup.gemspec
25
- gem install knife-ec-backup-1.1.1.gem
25
+ gem install knife-ec-backup-1.1.2.gem
26
26
 
27
27
  # Configuration
28
28
 
@@ -96,7 +96,7 @@ class Chef
96
96
  puts "Detected Enterprise Chef Server version: #{server_version}"
97
97
 
98
98
  # All versions of Chef Server below 11.0.1 are missing the GET User ACL helper in nginx
99
- if server_version_parts[0] < 11 || (server_version_parts[0] == 11 && server_version_parts[1] == 0 && server_version_parts[0] < 1)
99
+ if server_version_parts[0].to_i < 11 || (server_version_parts[0].to_i == 11 && server_version_parts[1].to_i == 0 && server_version_parts[0].to_i < 1)
100
100
  #Check to see if Opscode-Account can be directly from the local machine
101
101
  begin
102
102
  user_acl_rest.get('users')
@@ -103,7 +103,7 @@ class Chef
103
103
  puts "Detected Enterprise Chef Server version: #{server_version}"
104
104
 
105
105
  # All versions of Chef Server below 11.0.X are unable to update user acls
106
- if server_version_parts[0] < 11 || (server_version_parts[0] == 11 && server_version_parts[1] == 0)
106
+ if server_version_parts[0].to_i < 11 || (server_version_parts[0].to_i == 11 && server_version_parts[1].to_i == 0)
107
107
  ui.warn("Your version of Enterprise Chef Server does not support the updating of User ACLs. Setting skip-useracl to TRUE")
108
108
  config[:skip_useracl] = true
109
109
  end
@@ -1,3 +1,3 @@
1
1
  module KnifeECBackup
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-ec-backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Keiser