Puppet Class: kubeinstall::install::cleanup
- Defined in:
- manifests/install/cleanup.pp
Summary
Add cleanup scriptOverview
Add cleanup script into /root/bin/kube-cleanup.sh
7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'manifests/install/cleanup.pp', line 7
class kubeinstall::install::cleanup {
exec { '/root/bin-3059f76':
command => 'mkdir -p /root/bin',
path => '/usr/bin:/bin',
creates => '/root/bin',
}
file { '/root/bin/kube-cleanup.sh':
ensure => file,
source => 'puppet:///modules/kubeinstall/kube-cleanup.sh',
owner => 'root',
mode => '0700',
}
}
|