Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves a couple of issues:
In lib/rubber/dns/zerigo.rb:
*) Was missing an "end" for the module
*) Had a class/module conflict since it wasn't sure if it was inheriting from Rubber's fog class or the fog gem module
*) Using wrong variable for the zerigo email/key
In lib/rubber/dns/fog.rb:
*) zone.records.find would throw a Fog::DNS::Zerigo::NotFound exception if the fqdn wasn't found. Catching it into an empty array for now, although this should probably be better addressed in Fog somehow.
*) Was initializing an empty Fog::DNS client for classes that inherit this. Since the only DNS provider in Rubber currently using Fog is Zerigo, I've removed this for now. It basically meant one always would need to add a "credentials" section in rubber-dns.yml under every provider inheriting from Fog, even though each DNS provider in Fog has its own names for credentials.
Still need to update the comments in rubber-dns.yml to reflect this.