From 6db2e4e1d18f73c78a381168e1b55871746dbeb0 Mon Sep 17 00:00:00 2001 From: Alexander Klimov Date: Thu, 11 Sep 2014 17:04:19 +0200 Subject: [PATCH] cmmi: require Class[tar] refs #6842 --- .vagrant-puppet/modules/cmmi/manifests/init.pp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.vagrant-puppet/modules/cmmi/manifests/init.pp b/.vagrant-puppet/modules/cmmi/manifests/init.pp index 5534be843..948076a01 100644 --- a/.vagrant-puppet/modules/cmmi/manifests/init.pp +++ b/.vagrant-puppet/modules/cmmi/manifests/init.pp @@ -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}":