mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
parent
4a5accea0b
commit
24c3a30dba
17
.vagrant-puppet/modules/git_cmmi/manifests/init.pp
Normal file
17
.vagrant-puppet/modules/git_cmmi/manifests/init.pp
Normal file
@ -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,
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user