rpearce: Allow the use of facts[] and trusted[] as per Puppet 3.5+
See https://docs.puppetlabs.com/puppet/latest/reference/lang_facts_and_builtin_vars.html