All checks were successful
Build / precommit (pull_request) Successful in 4m55s
- manage rke2 repos - add rke2 module (init, params, install, config, service) - 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 - manage node attributes (from puppet facts) - manage frr exclusions for service/cluster network
14 lines
288 B
Puppet
14 lines
288 B
Puppet
# manage rke2 service
|
|
class rke2::service (
|
|
Enum['server', 'agent'] $node_type = $rke2::node_type,
|
|
Stdlib::Absolutepath $config_file = $rke2::config_file,
|
|
){
|
|
|
|
service {"rke2-${node_type}":
|
|
ensure => true,
|
|
enable => true,
|
|
subscribe => File[$config_file],
|
|
}
|
|
|
|
}
|