Skip to content

Commit

Permalink
cmmi: require Class[tar]
Browse files Browse the repository at this point in the history
refs #6842
  • Loading branch information
Al2Klimov committed Sep 11, 2014
1 parent 58aa7e7 commit 292c22d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .vagrant-puppet/modules/cmmi/manifests/init.pp
Expand Up @@ -17,6 +17,8 @@
#
# Requires:
#
# tar
#
# Sample Usage:
#
# cmmi { 'example-software':
Expand All @@ -41,6 +43,7 @@
$cwd = '/usr/local/src'

include wget
include tar

exec { "download-${name}":
cwd => $cwd,
Expand All @@ -58,7 +61,10 @@
--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}":
Expand Down

0 comments on commit 292c22d

Please sign in to comment.