mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
31 lines
388 B
Puppet
31 lines
388 B
Puppet
# Class: php
|
|
#
|
|
# This class installs php.
|
|
#
|
|
# Parameters:
|
|
#
|
|
# Actions:
|
|
#
|
|
# Requires:
|
|
#
|
|
# apache
|
|
#
|
|
# Sample Usage:
|
|
#
|
|
# include php
|
|
#
|
|
class php {
|
|
|
|
include apache
|
|
|
|
package { 'php':
|
|
ensure => latest,
|
|
notify => Service['apache'],
|
|
require => Package['apache'],
|
|
}
|
|
|
|
php::phpd { ['error_reporting', 'timezone', 'xdebug_settings' ]:
|
|
require => Package['php'],
|
|
}
|
|
}
|