To work around the problem that if you purge /etc/yum.repos.d to maintain control of repos, any yum repo resource will be purged/recreated every run, and depending on when those happen it can cause compilation failures

MobileMail

> On Jul 4, 2013, at 9:42, Mike Arnold <notifications@github.com> wrote:
> 
> In manifests/init.pp:
> 
> > -        gpgkey   => 'http://patches.fedorapeople.org/oldnode/stable/RPM-GPG-KEY-tchol',
> > -        before   => Anchor['nodejs::repo'],
> > +      if $manage_repo {
> > +        package { 'nodejs-stable-release':
> > +          ensure => absent,
> > +          before => Yumrepo['nodejs-stable'],
> > +        }
> > +        yumrepo { 'nodejs-stable':
> > +          descr    => 'Stable releases of Node.js',
> > +          baseurl  => $nodejs::params::baseurl,
> > +          enabled  => 1,
> > +          gpgcheck => $nodejs::params::gpgcheck,
> > +          gpgkey   => 'http://patches.fedorapeople.org/oldnode/stable/RPM-GPG-KEY-tchol',
> > +          before   => Anchor['nodejs::repo'],
> > +        }
> > +        file {'nodejs_repofile':
> Why is a file resource being defined?
> 
> —
> Reply to this email directly or view it on GitHub.