mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
parent
ab71049dae
commit
22d155b1da
20
.vagrant-puppet/modules/perl/manifests/init.pp
Normal file
20
.vagrant-puppet/modules/perl/manifests/init.pp
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Class: perl
|
||||||
|
#
|
||||||
|
# This class installs perl.
|
||||||
|
#
|
||||||
|
# Sample Usage:
|
||||||
|
#
|
||||||
|
# include perl
|
||||||
|
#
|
||||||
|
class perl {
|
||||||
|
$perl = 'perl-5.20.0'
|
||||||
|
$perlDir = '/opt/perl'
|
||||||
|
|
||||||
|
cmmi { $perl:
|
||||||
|
url => "http://www.cpan.org/src/5.0/${perl}.tar.gz",
|
||||||
|
output => "${perl}.tar.gz",
|
||||||
|
creates => $perlDir,
|
||||||
|
configure_command => 'sh ./Configure',
|
||||||
|
flags => "-des -Dprefix=${perlDir}",
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user