Ray
unread,Nov 12, 2012, 3:22:31 AM11/12/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppet...@googlegroups.com
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