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