Re: [Puppet Users] Resource ordering not working for module classes (top-level)

2019-12-03 Thread jcbollinger
On Monday, December 2, 2019 at 1:56:32 PM UTC-6, Abhijeet Rastogi wrote: > > Hi Ramin, > > Thanks for the details and the link. That was indeed the cause of this > issue. > > I wonder what official puppet guidelines are for managing this sort of > inter-module dependencies. I couldn't find a g

Re: [Puppet Users] Resource ordering not working for module classes (top-level)

2019-12-02 Thread Abhijeet Rastogi
Hi Ramin, Thanks for the details and the link. That was indeed the cause of this issue. I wonder what official puppet guidelines are for managing this sort of inter-module dependencies. I couldn't find a guideline on official docs. https://puppet.com/docs/puppet/latest/lang_relationships.html Th

Re: [Puppet Users] Resource ordering not working for module classes (top-level)

2019-11-26 Thread Ramin K
You're running afoul of class containment or more precisely the lack thereof. Covered here https://puppet.com/blog/class-containment-puppet/ You can swap 'include ipvsadm::config' for 'contain ipvsadm::config' though you may need more contain statements. If they are third party modules you'd p

[Puppet Users] Resource ordering not working for module classes (top-level)

2019-11-26 Thread Abhijeet Rastogi
Hi Puppet users, I have the following code and all resources inside class ipvsadm are not executed before all resources in class ipvs_keepalived. class profile::ipvs { # Removed other classes for readability include '::ipvs_keepalived' include '::ipvsadm' # Need ipvsadm kernel module