Remove sw-patch-agent.service from manifests
sw-patch-agent service is to be disabled and must be removed from patching and keystone manifests. Depends-On: https://review.opendev.org/c/starlingx/config/+/936143 Test-Plan: PASS: AIO-SX upgrade using sw-manager strategy PASS: AIO-DX System Controller upgrade using strategy PASS: subcloud upgrade using dcmanager strategy Story: 2010676 Task: 51386 Change-Id: I201de8f2f2f4f16ad2d01933881a61f3ad41af7c Signed-off-by: mmachado <mmachado@windriver.com>
This commit is contained in:
parent
67361c5a53
commit
020cfa9d63
modules/puppet-patching/src/patching/manifests
puppet-manifests/src/modules
@ -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',
|
||||
|
@ -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',
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user