Error: Could not apply complete catalog: Found 1 dependency cycle: (Anchor[filesystem::symlinks::end] => Class[Filesystem::Symlinks] => Stage[first] => Stage[main] => Class[Profiles::Nfs::Mounts] => Nfs::Client::Mount[test] => File[/mnt/test] => File[/data/test] => Class[Filesystem::Symlinks::Config] => Stage[first]) Try the '--graph' option and opening the resulting '.dot' file in OmniGraffle or GraphViz
It's probably caused by an automatic dependency between the mount resource and the mountpoint, as the mountpoint is a "file" resource in the nfs::client::mount class.
Since it is a core puppet type, it's difficult to remove, correct solution is probably to mode filesystem::symlinks out of the first stage into the main stage. This require some testing.
If a "mount" is defined with the profile nfs::to_mount :
AND a symlink is defined directly to this mountpoint:
A strange dependency cycle error appears:
Error: Could not apply complete catalog: Found 1 dependency cycle:
(Anchor[filesystem::symlinks::end] => Class[Filesystem::Symlinks] => Stage[first] => Stage[main] => Class[Profiles::Nfs::Mounts] => Nfs::Client::Mount[test] => File[/mnt/test] => File[/data/test] => Class[Filesystem::Symlinks::Config] => Stage[first]) Try the '--graph' option and opening the resulting '.dot' file in OmniGraffle or GraphViz
It's probably caused by an automatic dependency between the mount resource and the mountpoint, as the mountpoint is a "file" resource in the nfs::client::mount class.