mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02:00
parent
8c00c6d464
commit
6db2e4e1d1
@ -17,6 +17,8 @@
|
|||||||
#
|
#
|
||||||
# Requires:
|
# Requires:
|
||||||
#
|
#
|
||||||
|
# tar
|
||||||
|
#
|
||||||
# Sample Usage:
|
# Sample Usage:
|
||||||
#
|
#
|
||||||
# cmmi { 'example-software':
|
# cmmi { 'example-software':
|
||||||
@ -41,6 +43,7 @@ define cmmi(
|
|||||||
$cwd = '/usr/local/src'
|
$cwd = '/usr/local/src'
|
||||||
|
|
||||||
include wget
|
include wget
|
||||||
|
include tar
|
||||||
|
|
||||||
exec { "download-${name}":
|
exec { "download-${name}":
|
||||||
cwd => $cwd,
|
cwd => $cwd,
|
||||||
@ -58,7 +61,10 @@ define cmmi(
|
|||||||
--no-same-permissions -xzf ${output} -C ${name}/${tld} \
|
--no-same-permissions -xzf ${output} -C ${name}/${tld} \
|
||||||
--strip-components 1",
|
--strip-components 1",
|
||||||
creates => $src,
|
creates => $src,
|
||||||
require => Exec["download-${name}"]
|
require => [
|
||||||
|
Exec["download-${name}"],
|
||||||
|
Class['tar']
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
exec { "configure-${name}":
|
exec { "configure-${name}":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user