Puppet Class: mrepo::service
- Defined in:
- manifests/service.pp
Overview
PRIVATE CLASS: do not call directly
Parameters
Optional parameters can be found in the mrepo::params class
Examples
This class does not need to be directly included.
Author
14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'manifests/service.pp', line 14
class mrepo::service {
include mrepo
$source = $mrepo::source
$service_manage = $mrepo::service_manage
$service_enable = $mrepo::service_enable
if ( $source == 'package' ) and ( str2bool($service_manage) == true ) {
service { 'mrepo':
enable => $service_enable,
}
}
}
|