diff options
author | Tim Smith <tsmith@chef.io> | 2019-05-13 15:09:03 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2019-05-13 15:09:03 -0700 |
commit | 3d1a19b294e125cf666c9ecfe3f4332674199097 (patch) | |
tree | a7470e541642368af99558a273e033527abb907d /lib | |
parent | b5237b5dd1975340a0d72f4a504284d5ee1a8876 (diff) | |
download | chef-3d1a19b294e125cf666c9ecfe3f4332674199097.tar.gz |
Rename the windows_dfs :install actions to :create
We're creating these dfs shares so it makes a lot more sense to make the action create. This is probably what people using Chef would expect.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/resource/windows_dfs_folder.rb | 2 | ||||
-rw-r--r-- | lib/chef/resource/windows_dfs_namespace.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/windows_dfs_folder.rb b/lib/chef/resource/windows_dfs_folder.rb index 1acf2a4acd..a93a11808c 100644 --- a/lib/chef/resource/windows_dfs_folder.rb +++ b/lib/chef/resource/windows_dfs_folder.rb @@ -41,7 +41,7 @@ class Chef property :description, String, description: "Description for the share." - action :install do + action :create do description "Creates the folder in dfs namespace." raise "target_path is required for install" unless property_is_set?(:target_path) diff --git a/lib/chef/resource/windows_dfs_namespace.rb b/lib/chef/resource/windows_dfs_namespace.rb index da565b06bf..2610b7a999 100644 --- a/lib/chef/resource/windows_dfs_namespace.rb +++ b/lib/chef/resource/windows_dfs_namespace.rb @@ -51,7 +51,7 @@ class Chef description: "The root from which to create the DFS tree. Defaults to C:\\DFSRoots.", default: 'C:\\DFSRoots' - action :install do + action :create do description "Creates the dfs namespace on the server." directory file_path do |