diff options
author | Tim Smith <tsmith@chef.io> | 2019-05-13 15:46:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-13 15:46:37 -0700 |
commit | c28bcea957446e3049e325d1f033d1e1a76ae43a (patch) | |
tree | a7470e541642368af99558a273e033527abb907d /lib | |
parent | b5237b5dd1975340a0d72f4a504284d5ee1a8876 (diff) | |
parent | 3d1a19b294e125cf666c9ecfe3f4332674199097 (diff) | |
download | chef-c28bcea957446e3049e325d1f033d1e1a76ae43a.tar.gz |
Merge pull request #8527 from chef/fix_actions
Rename the windows_dfs :install actions to :create
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 |