Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How do I debug - Could not find relationship target "File[]" error

I am creating and provisioning a virtual machine. The OS is CentOS. In the /var/log/messages log file I see the error

 Could not find relationship target "File[]"

but there isn't any other information. There are hundreds of file specs scattered across scores of manifest files. How do I get Puppet to tell me at least which manifest file contains the error?

I am not a Puppet guru and I inherited this project, so I know little about the specs themselves. If I can't find a way to narrow down the cause of the issue, I may have to go through every manifest to find it.