Skip to content

Commit 0c63804

Browse files
Add correct seltype to socket-overrides.conf to address idempotency
1 parent 4612aa9 commit 0c63804

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

manifests/service.pp

+1
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@
334334
file { '/etc/systemd/system/docker.socket.d/socket-overrides.conf':
335335
ensure => file,
336336
content => template($socket_overrides_template),
337+
seltype => 'container_unit_file_t',
337338
notify => Exec['docker-systemd-reload-before-service'],
338339
before => $_manage_service,
339340
}

0 commit comments

Comments
 (0)