On Wednesday, December 17, 2014 9:20:19 AM UTC-6, Abhijeet Rastogi wrote:
>
> Hi John,
>
> Thanks for replying. I tried using contain.
>
> class profile::base {
>   contain '::yum::repo::epel'
>   contain '::yum::repo::puppet'
> }
>
> Still didn't work for me. Is there a possibility of known bug being 
> triggered?
>


I am unaware of any known bugs in this area.

Ensure that the master is actually using the version of the class with 
'contain' (i.e. flush the environment cache or restart the master 
altogether; put notice() calls in the class body so you can verify that it 
is being evaluated at the master, and put in at least one Notify resource 
to confirm that the agent is applying a catalog built from that version).  
If the order still doesn't seem right then post the order you observe with 
'contain'.  Also, check your output for warnings, especially any talking 
about resource cycles.


John

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/7d0b08af-2a03-4dda-ac93-0236e1b0fead%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to