Update cookbooks and add wordpress cookbook
This commit is contained in:
13
cookbooks/ark/libraries/windows_owner.rb
Normal file
13
cookbooks/ark/libraries/windows_owner.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
module Ark
|
||||
class WindowsOwner
|
||||
def initialize(resource)
|
||||
@resource = resource
|
||||
end
|
||||
|
||||
attr_reader :resource
|
||||
|
||||
def command
|
||||
"icacls \"#{resource.path}\\*\" /setowner \"#{resource.owner}\""
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user