Hi Sebastian,

A potentially better way to do it might be to set purge => true on the
/etc/yum.repos.d directory, and specifically manage every file/repo in
there via puppet. This should insure that there are no repos present that
puppet didn't create

HTH

w



On Thu, Sep 26, 2013 at 1:28 PM, Sebastian Juarez <ssebb...@gmail.com>wrote:

> Hy!
>
> I'm trying to conf tidy in one of my yum class, the objective is to erase
> old repos from "/etc/yum.repos.d".
>
> This is what i try without success:
>
> tidy {'/etc/yum.repos.d':
> recurse => true,
> matches != [ "oldrepo.repo" ]
> }
>
> Error:
> Could not retrieve catalog from remote server: Error 400 on SERVER: Could
> not parse for environment production: Syntax error at '!='; expected '}'
> at...
>
> I'm attempting to erase all files in the directory, but not those listed.
>
> It's possible to do this?
>
>
> Thanks.-
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to