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