LGTM, and I would at least add a comment that it's not possible to test exported resources atm so the testis a stub like here:

https://github.com/Jimdo/puppet-periodicnoise/blob/ce97970386dc4a7ca4b5f0dd7c4f46ab88253c89/spec/defines/monitored_cron_spec.rb#L99