Hi All,
I have two yumrepos configured:

class yumrepos {
yumrepo { 'RHEL6.1_Repo':
  baseurl  => 'http://hostname.domain.com/rhel6',
  descr    => 'Internal RHEL6.1 Repository',
  enabled  => '1',
  gpgcheck => '0',
}
yumrepo { 'Company_EL6_Repo':
  baseurl  => 'http://hostname.domain.com/repo.el6',
  descr    => 'Company EL6 Repository',
  enabled  => '1',
  gpgcheck => '0',
}
}

the job reports as running correctly and I get:

Yumrepo[RHEL6.1_Repo] (/etc/puppetlabs/puppet/modules/yumrepos/
manifests/init.pp:7)
Yumrepo[Company_EL6_Repo] (/etc/puppetlabs/puppet/modules/yumrepos/
manifests/init.pp:13)

in my event log, but the repos are not correctly added to the node.

I have run yum clean all and yum makecache, and also removed the class
from the node and re-added it, and still get the same output.  This is
on PE 1.2 evaluation running on a single RHEL6.1 node (master +
agent).

The only thing I get in the log is Finished catalog run in 0.61
seconds since Puppet doesn't see the repos as "changed" even though
they are missing.

Do I need to manually create the files underneath /etc/yum.repos.d?
That is fine but I don't see that in the docs.  Can anyone tell what I
am doing wrong?

Thanks in advance,
Neal Brown
Spiceworks Inc.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to