lib/chef/resource/remote_directory.rb in chef-10.14.4 vs lib/chef/resource/remote_directory.rb in chef-10.16.0.rc.0

- old
+ new

@@ -1,7 +1,8 @@ # # Author:: Adam Jacob (<adam@opscode.com>) +# Author:: Tyler Cloke (<tyler@opscode.com>) # Copyright:: Copyright (c) 2008 Opscode, Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -24,9 +25,13 @@ class Resource class RemoteDirectory < Chef::Resource::Directory include Chef::Mixin::Securable provides :remote_directory, :on_platforms => :all + + identity_attr :path + + state_attrs :files_owner, :files_group, :files_mode def initialize(name, run_context=nil) super @resource_name = :remote_directory @path = name