puppet-orchestrator-for-mysql/manifests/repo.pp

24 строки
556 B
Puppet

# Manage the packagecloud repo's
class orchestrator::repo inherits orchestrator {
if $orchestrator::repo_manage {
include packagecloud
case $::operatingsystem {
'Debian', 'Ubuntu': {
packagecloud::repo { 'github/orchestrator':
type => 'deb',
}
}
'Fedora', 'CentOS', 'RedHat': {
packagecloud::repo { 'github/orchestrator':
type => 'rpm',
}
}
default: {
fail("Operating system ${::operatingsystem} was not supported for adding repo's")
}
}
}
}