diff --git a/.vagrant-puppet/modules/git_cmmi/manifests/init.pp b/.vagrant-puppet/modules/git_cmmi/manifests/init.pp new file mode 100644 index 000000000..b98894f11 --- /dev/null +++ b/.vagrant-puppet/modules/git_cmmi/manifests/init.pp @@ -0,0 +1,17 @@ +define git_cmmi ( + $url, + $configure='./configure', + $make='make && make install' +) { + include git + + exec { "git-clone-${name}": + cwd => '/usr/local/src', + path => '/usr/bin:/bin', + command => "git clone '${url}' '${name}'", + require => Class['git'], + } -> cmmi_dir { $name: + configure => $configure, + make => $make, + } +}