Puppet Class: xdmod::akrr::install
- Defined in:
-
manifests/akrr/install.pp
Summary
Manage XDMoD AKRR install
Overview
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# File 'manifests/akrr/install.pp', line 3
class xdmod::akrr::install {
$akrr_home = $xdmod::_akrr_home
file { $akrr_home:
ensure => 'directory',
owner => $xdmod::akrr_user,
group => $xdmod::akrr_user_group,
mode => '0700',
}
-> archive { "/tmp/akrr-${xdmod::akrr_version}.tar.gz":
source => $xdmod::_akrr_source_url,
extract => true,
extract_path => $akrr_home,
extract_command => 'tar xfz %s --strip-components=1',
creates => "${akrr_home}/setup",
cleanup => true,
user => $xdmod::akrr_user,
group => $xdmod::akrr_user_group,
}
}
|