Conversation
915f194 to
b06cf32
Compare
|
Hi @charlesdunbar, Thank you, |
|
Thanks for this PR! Switching to fog has been on my back burner for a while - will take a look at this sometime this week. |
|
The main issue I'm seeing with this is the removal of self.prefetch. As discussed in #4 (comment), without it, for every record that's managed you'll be grabbing the zone file over and over again. |
README.md
Outdated
| # content can also accept array | ||
|
|
||
| dns_record { "test-1a-record.puppetware.org": | ||
| ensure => present |
There was a problem hiding this comment.
Needs a trailing comma to be valid puppet code - which I'm now seeing is also the case with my examples elsewhere in the README.
|
I understand, something like this ? I need to read more about prefetch.... |
|
Slightly - We can't really use "instances" since for this case, instances would be what Dyn sees, which we can't check because by the time you run "instances" - you don't have the credentials available to pass to Dyn. http://garylarizza.com/blog/2013/12/15/seriously-what-is-this-provider-doing/ has some good information about reading up on prefetch. I'll probably have to go through this again since I haven't looked at this code in about a year, but I highly recommend adding I should have some time tonight to refresh myself on the code and see if I can help flesh out a new prefetch. |
|
Hi @charlesdunbar , Another somewhat related issue is that fog-dynect gem is missing zone and records TTL attribute when pulling data from DynECT. I've submitted a PR, hope to get it released soon. Regarding the |
Validate Puppet code Make 'ensure' be first in resource attributes
No need to retrieve all of the DNS records and then filter what we need
Remove type comparison as we're alredy filtering when we query the zone for the domain. Call record.save only once as it publishes the DNS zone. Per DNS RFC, all records under the same node must have the same TTL
80f3036 to
8758c0d
Compare
|
Hi @charlesdunbar, I've also fixed the issue with calling We're left with the On dynect_fog branch, Can you elaborate on the desired role of the Thank you, |
Rescue Excon::Error::NotFound when FQDN doesn't exist
7efdb2d to
c3db5d5
Compare
|
Hi @charlesdunbar, |
|
Hi again @charlesdunbar,
I'll work on it :) |
|
Yarden Bar seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Rewrite DynECT provider to support multiple contnet items for certain record name, e.g. different IPs pointing the same address, thus utilizing DNS round-robin ability.