init.pp |
|
---|---|
Class: stagingThis module manages staging and extraction of files from various sources. Actions:Creates the root staging directory. By default files will be created in a subdirectory matching the caller_module_name. /opt/staging/
Parameters:
Usage:
|
class staging (
$path = '/opt/staging',
$owner = '0',
$group = '0',
$mode = '0755'
) {
file { $path:
ensure => directory,
owner => $owner,
group => $group,
mode => $mode,
}
} |