--clear-puppet-environments does not handle puppet 4 env dir
--clear-puppet-environments currently only looks at /etc/puppet/environments/, and does not work with /etc/puppetlabs/code/environments/.
Fixes #16011 - handle both puppet 3 and 4 dirs when cleaning
Previously, the clear puppet environments flag would only clear the
puppet 3 dir. This patch iterates over both the puppet 3 and puppet 4
dirs, cleaning both if the flag is set.
#2 Updated by Chris Duryee about 4 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello-installer|6cbb35d5244cef8799531f82044d3134088de9fe.