Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
32 lines (30 sloc) 1.08 KB
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
class disableservices::slave inherits disableservices::common {
# This class disables unnecessary services on the slave
include disableservices::iptables
include disableservices::displaymanager
include disableservices::notification_daemon
case $::operatingsystem {
Ubuntu : {
include disableservices::release_upgrader
include disableservices::kvm
}
Darwin : {
case $::macosx_productversion_major {
'10.7': {
service {
[
'org.clamav.clamd',
'org.clamav.freshclam-init',
'org.clamav.freshclam',
]:
ensure => stopped,
enable => false,
}
}
}
}
}
}