Hi,

is there a way to do something alongs the lines of

Exec { "assembleBINDZoneFile":
   ...
   require => [File["${bindzoneassemblyscript}"], Dnsrecord[ <<| |>> ] ],
}

I've written a DNS record Type/Provider. Exporting Dnsrecord resources with 
@@ also works nicely.

Before the zonefine gets assembled, I want to make sure that puppet first 
collects all the Dnsrecord resources from its DB. The first way that come 
to my mind was to put  Dnsrecord[ <<| |>> ] into the "require => " line, 
however, this does not seem to be the right way: "Error 400 on SERVER: 
Syntax error at '<<|'; expected '|>>'" is all I get.

Any thoughts?

Cheers,
Ray

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/oMXAVJubU9cJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to