Puppet Class: php::repo
- Defined in:
- manifests/repo.pp
Overview
Configure package repository
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'manifests/repo.pp', line 3
class php::repo {
$msg_no_repo = "No repo available for ${::osfamily}/${::operatingsystem}"
case $::osfamily {
'Debian': {
# no contain here because apt does that already
case $::operatingsystem {
'Debian': {
include ::php::repo::debian
}
'Ubuntu': {
include ::php::repo::ubuntu
}
default: {
fail($msg_no_repo)
}
}
}
'FreeBSD': {}
'Suse': {
contain ::php::repo::suse
}
'RedHat': {
contain '::php::repo::redhat'
}
default: {
fail($msg_no_repo)
}
}
}
|