diff --git a/manifests/node.pp b/manifests/node.pp index 11d6ec49..a9b962d9 100644 --- a/manifests/node.pp +++ b/manifests/node.pp @@ -95,7 +95,10 @@ } exec { 'restart resource limiting services': command => 'oo-cgroup-enable --with-all-containers; oo-pam-enable --with-all-containers; oo-admin-ctl-tc restart', - notify => Service["${::openshift_origin::params::ruby_scl_prefix}mcollective"], + notify => [ + Service["${::openshift_origin::params::ruby_scl_prefix}mcollective"], + Service['openshift-watchman'], + ], require => File['openshift node config'], refreshonly => true, } diff --git a/templates/node/resource_limits.conf.erb b/templates/node/resource_limits.conf.erb index 2b85b197..1f7920e5 100644 --- a/templates/node/resource_limits.conf.erb +++ b/templates/node/resource_limits.conf.erb @@ -3,10 +3,11 @@ # Limit resources for a new OpenShift guest user on a node # # NOTE: If you change these, please run the following commands: -# service mcollective restart +# service ruby193-mcollective restart # oo-cgroup-enable --with-all-containers # oo-pam-enable --with-all-containers # oo-admin-ctl-tc restart +# service openshift-watchman restart # # # Standard Profile