Update users cookbook and poise cookbooks

The poise cookbooks were incompatible with Chef 13
This commit is contained in:
Greg Karékinian
2017-06-16 15:50:13 +02:00
parent f93070c4c0
commit ff3d062c73
65 changed files with 238 additions and 130 deletions

View File

@@ -97,6 +97,7 @@ action :create do
owner u['uid'] ? validate_id(u['uid']) : u['username']
group validate_id(u['gid']) if u['gid']
mode '0600'
sensitive true
variables ssh_keys: u['ssh_keys']
only_if { !!(u['ssh_keys']) }
end
@@ -157,7 +158,7 @@ action :remove do
end
end
action_class.class_eval do
action_class do
include ::Users::Helpers
include ::Users::OsxHelper