cmmi: require Class[gcc]

refs #6842
This commit is contained in:
Alexander Klimov 2014-09-11 17:40:18 +02:00
parent 0a2fbf4aee
commit bb716e8a49
1 changed files with 7 additions and 1 deletions

View File

@ -17,7 +17,9 @@
#
# Requires:
#
# wget
# tar
# gcc
#
# Sample Usage:
#
@ -44,6 +46,7 @@ define cmmi(
include wget
include tar
include gcc
exec { "download-${name}":
cwd => $cwd,
@ -78,7 +81,10 @@ define cmmi(
cwd => $src,
command => $make,
creates => $creates,
require => Exec["configure-${name}"],
require => [
Exec["configure-${name}"],
Class['gcc']
],
timeout => $make_timeout
}
}