tidy not remove files

asked 2017-06-07 10:47:34 -0500

mouna gravatar image


I 'd like to remove the file calcul-version.tar.gz and I can't use either exec or file resources. ( I can't use file resource because I have install this file with ensure= present and I'd like to remove it after install )

I use :

  tidy { 'Remove calcul' :
      path    => "/${::service}/at",
      recurse => 1,
      matches => [ 'calcul-*.tar.gz' ],

But tidy doesn't remove calcul-version.tar.gz.

Any help please ?


edit retag flag offensive close merge delete