The archive defined type is responsible for the retrieval and extraction of tar archives in Undine. It supports retrieval from the local environment or remote hosts (via wget) to a destination directory on the VM, where it is optionally extracted (as if using tar -xzf <tarball>).
When retrieving archives via wget, support is also included for basic auth.
Simple local usage.
undine_tar::archive { '/path/to/dest': src_path => '/path/to/my/src/archive.tar', }
Usage via wget via basic auth, with gzip support.
undine_tar::archive { '/path/to/dest': src_path => 'http://example.com/path/to/my/archive.tar.gz', src_username => 'jsmith', src_password => 'correcthorsebatterystaple', gzip => true, }
The archive defined type is responsible for the retrieval and extraction of tar archives in Undine. It supports retrieval from the local environment or remote hosts (via wget) to a destination directory on the VM, where it is optionally extracted (as if using tar -xzf <tarball>).
When retrieving archives via wget, support is also included for basic auth.
Simple local usage.
undine_tar::archive { '/path/to/dest': src_path => '/path/to/my/src/archive.tar', }
Usage via wget via basic auth, with gzip support.
undine_tar::archive { '/path/to/dest': src_path => 'http://example.com/path/to/my/archive.tar.gz', src_username => 'jsmith', src_password => 'correcthorsebatterystaple', gzip => true, }