Mysql_grant resource name must match user and table parameters. Why does "puppet parser validate" not check it?
I took the learning VM tutorial. I was intrigued by the naming of the Mysqlgrant resource, and wondered if it has any significance, so I modified it to "agrant_rule".
I checked my site.pp using "puppet parser validate" and got no errors whatsoever.
However, when I tried to apply this change, I got the following message:
Error: Failed to apply catalog: Validation of Mysql_grant[a_grant_rule] failed: name must match user and table parameters at /etc/puppetlabs/puppet/environments/production/manifests/site.pp:69 Wrapped exception: name must match user and table parameters