How to reference resources/types provided by puppetlabs/lvm in custom classes?
I am able to reference the various resource types (filesystem, logical_volume etc.) perfectly well from within my nodes.pp.
However when I try and do the same from within one of my custom classes I get this error:
Error: Failed to apply catalog: Could not find dependency Filesystem[/dev/mapper/root_vg-WebSphere] for File[...
Am guessing either my custom class does not have these resources/types within its scope, or the puppetlabs/lvm resources/types somehow need to be parsed before my custom classes are included.
Any assistance would be appreciated!