require dir fails BUT dir does exist
Error: Failed to apply catalog: Could not find dependency File[/var/www/html] for Vixiecron[postgres91_nslb] at /etc/puppetlabs/code/environments/prod/modules/pgsql/manifests/classes/monitoring.pp:3
ll /var/www/html total 12 -rw-r--r-- 1 root root 3 Jun 9 17:00 a11.txt -rw-r--r-- 1 root root 44 Nov 14 2014 index.php drwxr-xr-x 2 root root 4096 Nov 11 2014 maintenance -rw-r--r-- 1 root root 0 Nov 25 2014 statistics
As you can see, the dir in qn does exist, so why the error ?
Thanks for the info guys.
Actually i'm trying to look for possible erors when converting Puppet v3 to Puppet v4. In this case I'm running with --noop, so occasionally having to comment out stuff that can't be fixed right now, to see what happens next... As it happens, the file is a defined resource ...