Page MenuHomeSoftware Heritage

Escape file name pattern to not depend on the /root content
ClosedPublic

Authored by vsellier on Fri, Jan 14, 10:05 AM.

Details

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

Diff Detail

Repository
rSPSITE puppet-swh-site
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.