mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
parent
fa8584059a
commit
4a5accea0b
15
.vagrant-puppet/modules/cmmi_dir/manifests/init.pp
Normal file
15
.vagrant-puppet/modules/cmmi_dir/manifests/init.pp
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
define cmmi_dir (
|
||||||
|
$configure='./configure',
|
||||||
|
$make='make && make install'
|
||||||
|
) {
|
||||||
|
Exec {
|
||||||
|
path => '/usr/bin:/bin',
|
||||||
|
cwd => "/usr/local/src/${name}",
|
||||||
|
}
|
||||||
|
|
||||||
|
exec { "configure-${name}":
|
||||||
|
command => $configure,
|
||||||
|
} -> exec { "make-${name}":
|
||||||
|
command => $make,
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user