Do not duplicate config volumes for puppet manager

Change-Id: If285ef708290be334e4195a327fc18c9c8f22c41
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
This commit is contained in:
Bogdan Dobrelya 2020-03-26 10:55:19 +01:00
parent a70139e5b9
commit 59b0772e27
1 changed files with 0 additions and 2 deletions

View File

@ -278,8 +278,6 @@ class ContainerPuppetManager:
volumes = copy.deepcopy(default_volumes)
cname = 'container-puppet-' + config_volume
if self.check:
volumes.append(
'/etc/puppet/check-mode:/tmp/puppet-check-mode:ro')
volumes += ['/etc/puppet/check-mode:'
'/tmp/puppet-check-mode:ro']
if self.net_host: