feat: restart rke2 when registries.yaml is deployed (#465)
- ensure we restart rke2 to pickup registries.yaml changes - add a comment to registries.yaml to force a restart Reviewed-on: #465
This commit was merged in pull request #465.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
---
|
||||
# DO NOT MODIFY - MANAGED BY PUPPET
|
||||
mirrors:
|
||||
docker.io:
|
||||
endpoint:
|
||||
|
||||
@@ -35,7 +35,7 @@ class rke2::config (
|
||||
mode => '0644',
|
||||
source => 'puppet:///modules/rke2/registries.yaml',
|
||||
require => Package["rke2-${node_type}"],
|
||||
before => Service["rke2-${node_type}"],
|
||||
notify => Service["rke2-${node_type}"],
|
||||
}
|
||||
|
||||
# create the config file
|
||||
|
||||
Reference in New Issue
Block a user