diff --git a/chef_master/source/resource_remote_file.rst b/chef_master/source/resource_remote_file.rst index 7b139ca9aa..77e2c08415 100644 --- a/chef_master/source/resource_remote_file.rst +++ b/chef_master/source/resource_remote_file.rst @@ -244,7 +244,7 @@ This resource has the following properties: ``source`` **Ruby Types:** String, Array - Required. The location of the source file. The location of the source file may be HTTP (``http://``), FTP (``ftp://``), local (``file:///``), or UNC (``\\host\share\file.tar.gz``). + Required. The location of the source file. The location of the source file may be HTTP (``http://``), FTP (``ftp://``), SFTP (``sftp://``), local (``file:///``), or UNC (``\\host\share\file.tar.gz``). There are many ways to define the location of a source file. By using a path: @@ -258,6 +258,12 @@ This resource has the following properties: source 'ftp://path/to/img/sketch.png' + By using SFTP: + + .. code-block:: ruby + + source 'sftp://username:password@remote_host:22/path/to/img/sketch.png' + By using a local path: .. code-block:: ruby