Escape file name pattern to not depend on the /root content
Test Plan
diff origin/production/pergamon.softwareheritage.org current/pergamon.softwareheritage.org
*******************************************
Concat_fragment[profile::cron::gzip-puppet-reports] =>
parameters =>
content =>
@@ -1,2 +1,2 @@
# Cron snippet gzip-puppet-reports
-23 2-22/4 * * * root find /var/lib/puppet/reports -type f -not -name *.gz -exec gzip {} \+
+23 2-22/4 * * * root find /var/lib/puppet/reports -type f -not -name '*.gz' -exec gzip {} \+
*******************************************
Profile::Cron::D[gzip-puppet-reports] =>
parameters =>
command =>
- find /var/lib/puppet/reports -type f -not -name *.gz -exec gzip {} \+
+ find /var/lib/puppet/reports -type f -not -name '*.gz' -exec gzip {} \+
*******************************************
*** End octocatalog-diff on pergamon.softwareheritage.org
Migrated from D6948 (view on Phabricator)