Puppet Class: kubeinstall::helm::completion
- Defined in:
- manifests/helm/completion.pp
Summary
Added autocompletion for HelmOverview
Added autocompletion for Helm
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'manifests/helm/completion.pp', line 7
class kubeinstall::helm::completion {
include kubeinstall::install::helm_binary
include kubeinstall::system::completion
# bash autocompletion
exec { 'helm completion bash':
command => 'helm completion bash > /root/.config/helm/completion.bash.inc',
creates => '/root/.config/helm/completion.bash.inc',
path => '/usr/local/bin:/usr/bin:/bin',
require => Class['kubeinstall::install::helm_binary'],
}
file { '/etc/profile.d/helm.sh':
ensure => file,
source => 'puppet:///modules/kubeinstall/helm/profile.d.sh',
}
}
|