The directory defined type is responsible for the management of rsync‘d directories in Undine. It only supports rsync from local or remote hosts to a destination directory on the VM.
It also provides a means of authenticating via SSH using a combination of agent forwarding to use your host environment‘s SSH keys (enabled in Undine by default) and manipulating the known_hosts file on the guest VM. To find a given known_hosts entry on your host system, simply use the command `ssh-keygen -H -F example.com` to display the correct key to provide.
Simple local usage.
undine_rsync::directory { '/path/to/dest': src_path => '/path/to/my/src', }
Usage via SSH with a defined remote host and associated known_host entry.
undine_rsync::directory { '/path/to/dest': src_path => '/path/to/my/remote/src', src_hostname => 'example.com', src_known_host_key => '|1|nddsvUkIUHNdM31TTSc+sPT57yg=|nQqEyJJthk/DTVaRmJW ...', src_username => 'jsmith', }
The directory defined type is responsible for the management of rsync‘d directories in Undine. It only supports rsync from local or remote hosts to a destination directory on the VM.
It also provides a means of authenticating via SSH using a combination of agent forwarding to use your host environment‘s SSH keys (enabled in Undine by default) and manipulating the known_hosts file on the guest VM. To find a given known_hosts entry on your host system, simply use the command `ssh-keygen -H -F example.com` to display the correct key to provide.
Simple local usage.
undine_rsync::directory { '/path/to/dest': src_path => '/path/to/my/src', }
Usage via SSH with a defined remote host and associated known_host entry.
undine_rsync::directory { '/path/to/dest': src_path => '/path/to/my/remote/src', src_hostname => 'example.com', src_known_host_key => '|1|nddsvUkIUHNdM31TTSc+sPT57yg=|nQqEyJJthk/DTVaRmJW ...', src_username => 'jsmith', }