puppet-prod/modules/rke2/manifests/install.pp
Ben Vincent 02aa9bc49f feat: adding rke2
- manage rke2 repos
- add rke2 module (init, params, install, config, service)
- exclude setting ips for cilium interfaces
- split roles::infra::k8s::node -> control/compute roles
- moved common k8s config into k8s.yaml
- add bootstrap_node, manage server and token fields in rke2 config
- manage install of helm
2025-09-10 19:34:06 +10:00

17 lines
304 B
Puppet

# install rke2
class rke2::install (
Enum['server', 'agent'] $node_type = $rke2::node_type,
Boolean $install_helm = $rke2::install_helm,
){
package {"rke2-${node_type}":
ensure => installed,
}
if $install_helm {
package {'helm':
ensure => installed,
}
}
}