Fixing declaration bug, setting caches to default to an empty array.

https://jira.puppetlabs.com/browse/ops-1008