By default Puppet manifest ordering is arbitrary. You either have to use require a lot or apply your modules twice. But there is an easy fix:
$ sudoedit /etc/puppet.conf
[main] ordering = manifest # ...
By default Puppet manifest ordering is arbitrary. You either have to use require a lot or apply your modules twice. But there is an easy fix:
$ sudoedit /etc/puppet.conf
[main] ordering = manifest # ...