Puppet Class: fish::repo
- Defined in:
- manifests/repo.pp
Overview
fish::repo - Used for managing package repositories for fish
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 34 35 36 |
# File 'manifests/repo.pp', line 3
class fish::repo {
if $::fish::manage_repo {
case $::osfamily {
'RedHat': {
case $::operatingsystem {
'CentOS': {
require ::fish::repo::centos
}
'Fedora': {
require ::fish::repo::fedora
}
default: {
# code
}
}
}
'Debian': {
case $::operatingsystem {
'Ubuntu': {
require ::fish::repo::ubuntu
}
default: {
# code
}
}
}
default: {
# code
}
}
}
}
|