diff --git a/modules/puppet-patching/src/patching/manifests/init.pp b/modules/puppet-patching/src/patching/manifests/init.pp index 80998c44a..9837a8af8 100644 --- a/modules/puppet-patching/src/patching/manifests/init.pp +++ b/modules/puppet-patching/src/patching/manifests/init.pp @@ -28,11 +28,6 @@ class patching ( 'runtime/agent_port': value => $agent_port; } - Patching_config<||> ~> service { 'sw-patch-agent.service': - ensure => 'running', - enable => true, - } - if $::personality == 'controller' { Patching_config<||> ~> service { 'sw-patch-controller-daemon.service': ensure => 'running', diff --git a/puppet-manifests/src/modules/openstack/manifests/keystone.pp b/puppet-manifests/src/modules/openstack/manifests/keystone.pp index 38f9ca001..6aff8e233 100644 --- a/puppet-manifests/src/modules/openstack/manifests/keystone.pp +++ b/puppet-manifests/src/modules/openstack/manifests/keystone.pp @@ -564,11 +564,6 @@ class openstack::keystone::barbican::password::runtime { class openstack::keystone::patching::password::runtime { include ::patching::api - Patching_config<||> ~> service { 'sw-patch-agent.service': - ensure => 'running', - enable => true, - } - if $::personality == 'controller' { Patching_config<||> ~> service { 'sw-patch-controller-daemon.service': ensure => 'running', diff --git a/puppet-manifests/src/modules/platform/manifests/patching.pp b/puppet-manifests/src/modules/platform/manifests/patching.pp index eaa53ec86..28a8fca1a 100644 --- a/puppet-manifests/src/modules/platform/manifests/patching.pp +++ b/puppet-manifests/src/modules/platform/manifests/patching.pp @@ -91,18 +91,3 @@ class platform::patching::api ( include ::platform::patching::haproxy } - -class platform::patching::agent::reload { - - exec { 'restart sw-patch-agent': - command => '/usr/sbin/sw-patch-agent-restart', - logoutput => true, - } -} - -class platform::patching::runtime { - - class {'::platform::patching::agent::reload': - stage => post - } -}