Project

General

Profile

Download (368 Bytes) Statistics
| Branch: | Tag: | Revision:
# Definition: certs::tar_extract
#
# This class extracts a tarball
#
# Parameters:
# - The $path of the tarball to extract
#
# Actions:
# - Extracts a tarball
#
# Requires:
# - The certs class
#
define certs::tar_extract($path = $title) {
exec { "extract ${path}":
cwd => '/root',
path => ['/usr/bin', '/bin'],
command => "tar -xzf ${path}"
}
}
(14-14/14)