Puppet Class: kubeinstall::service::stop
- Defined in:
- manifests/service/stop.pp
Summary
Stop kubelet serviceOverview
Stop kubelet service
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'manifests/service/stop.pp', line 7
class kubeinstall::service::stop {
# we can not stop service which is not installed
include kubeinstall::install
exec { 'kubelet':
command => 'systemctl stop kubelet.service',
path => '/usr/bin:/usr/sbin',
refreshonly => true,
onlyif => 'systemctl status kubelet.service',
require => Class['kubeinstall::install'],
}
}
|