cmmi: require Class[tar]

refs #6842
This commit is contained in:
Alexander Klimov 2014-09-11 17:04:19 +02:00
parent 8c00c6d464
commit 6db2e4e1d1
1 changed files with 7 additions and 1 deletions

View File

@ -17,6 +17,8 @@
#
# Requires:
#
# tar
#
# Sample Usage:
#
# cmmi { 'example-software':
@ -41,6 +43,7 @@ define cmmi(
$cwd = '/usr/local/src'
include wget
include tar
exec { "download-${name}":
cwd => $cwd,
@ -58,7 +61,10 @@ define cmmi(
--no-same-permissions -xzf ${output} -C ${name}/${tld} \
--strip-components 1",
creates => $src,
require => Exec["download-${name}"]
require => [
Exec["download-${name}"],
Class['tar']
],
}
exec { "configure-${name}":