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 +4 -4
- data/README.md +1 -1
- data/lib/chef/knife/ec_backup.rb +1 -1
- data/lib/chef/knife/ec_restore.rb +1 -1
- data/lib/knife_ec_backup/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c708f5bb43f5a6e654e7cca85eb6d57ef70c159c
|
4
|
+
data.tar.gz: 2e09319976737981a00c54638d18179787c5c43d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
25
|
+
gem install knife-ec-backup-1.1.2.gem
|
26
26
|
|
27
27
|
# Configuration
|
28
28
|
|
data/lib/chef/knife/ec_backup.rb
CHANGED
@@ -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
|