mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-30 01:04:09 +02:00
parent
a4d5501de5
commit
bf3c87ede4
@ -257,6 +257,22 @@ file { '/etc/profile.d/env.sh':
|
|||||||
source => 'puppet:////vagrant/.vagrant-puppet/files/etc/profile.d/env.sh'
|
source => 'puppet:////vagrant/.vagrant-puppet/files/etc/profile.d/env.sh'
|
||||||
}
|
}
|
||||||
|
|
||||||
pear::package { 'phpcs':
|
include epel
|
||||||
channel => 'PHP_CodeSniffer'
|
|
||||||
|
exec { 'install PHPUnit':
|
||||||
|
command => 'yum -d 0 -e 0 -y --enablerepo=epel install php-phpunit-PHPUnit',
|
||||||
|
unless => 'rpm -qa | grep php-phpunit-PHPUnit',
|
||||||
|
require => Class['epel']
|
||||||
|
}
|
||||||
|
|
||||||
|
exec { 'install PHP CodeSniffer':
|
||||||
|
command => 'yum -d 0 -e 0 -y --enablerepo=epel install php-pear-PHP-CodeSniffer',
|
||||||
|
unless => 'rpm -qa | grep php-pear-PHP-CodeSniffer',
|
||||||
|
require => Class['epel']
|
||||||
|
}
|
||||||
|
|
||||||
|
exec { 'install nodejs':
|
||||||
|
command => 'yum -d 0 -e 0 -y --enablerepo=epel install npm',
|
||||||
|
unless => 'rpm -qa | grep ^npm',
|
||||||
|
require => Class['epel']
|
||||||
}
|
}
|
||||||
|
24
.vagrant-puppet/modules/epel/manifests/init.pp
Normal file
24
.vagrant-puppet/modules/epel/manifests/init.pp
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# Class: epel
|
||||||
|
#
|
||||||
|
# Configure EPEL repository.
|
||||||
|
#
|
||||||
|
# Parameters:
|
||||||
|
#
|
||||||
|
# Actions:
|
||||||
|
#
|
||||||
|
# Requires:
|
||||||
|
#
|
||||||
|
# Sample Usage:
|
||||||
|
#
|
||||||
|
# include epel
|
||||||
|
#
|
||||||
|
class epel {
|
||||||
|
|
||||||
|
yumrepo { 'epel':
|
||||||
|
mirrorlist => "http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=${::architecture}",
|
||||||
|
enabled => '0',
|
||||||
|
gpgcheck => '0',
|
||||||
|
descr => "Extra Packages for Enterprise Linux 6 - ${::architecture}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user