Commit Graph

7 Commits

Author SHA1 Message Date
Nate Riffe
a2c729c881 Use a relative path load on LoadError
Some versions of Puppet suffer from a regression which prevents them from
successfully loading auxilliary code in the module's lib directory. See
https://tickets.puppetlabs.com/browse/SERVER-973
2016-07-04 18:04:43 -05:00
Nate Riffe
c0143b2ca7 Create resource_record type
Abstract out the nsupdate provider logic and implement a new resource_record
type around it which applies no semantic value to its title.

Also: support SPF and TXT records, include isrequired on required parameters
(though it doesn't seem to work as advertised)
2014-09-10 13:02:31 -05:00
Nate Riffe
02db5f35a2 Use tsig parameter for dig, too.
Add the tsig_param when invoking dig using the -y command line option. This
allows dig and nsupdate to operate in the same view when views are matched by
tsig signature.
2014-09-05 09:45:15 -05:00
Nate Riffe
3f3e456ab8 Retain the full RRDATA in linearray[4] 2014-04-14 11:16:40 -05:00
Nate Riffe
7bbe9c36f7 Reorder dig params to fetch correct data 2014-04-14 08:28:44 -05:00
Nate Riffe
7ec92d395c Fixes a problem with the split of dig's output
Split at whitespace rather than tabs, since dig is "smart" about formatting.
The bug was causing superfluous updates.
2014-01-20 16:25:16 -06:00
Nate Riffe
3e6ab1b0d4 Creates a dns_rr resource for managing RRs 2013-11-30 19:27:48 -06:00