New dynamic dns charm ddclient
Bug #996905 reported by
David Duffey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Charms Collection |
Incomplete
|
High
|
David Duffey |
Bug Description
Here is my first charm for the charm contest
https:/
Tired of cutting and pasting instance ip addresses or hostnames?
Hate having to manually update DNS entries or client applications?
Setup dynamic DNS to point to your services in three easy steps!
1. Use a hostname as your servicename
2. Add a relation to ddclient (dynamic DNS client)
3. Profit, you just updated your dynamic DNS hostname!
Changed in charms: | |
assignee: | nobody → Clint Byrum (clint-fewbar) |
tags: | removed: new-charm |
To post a comment you must log in.
David, this is *awesome*. Just *awesome*.
I do not have an account with any of the supported providers, so I was not able to fully test, but nothing "breaks" and it does try to register the hostname when I relate it.
This is one of the cooler things I've seen done w/ subordinates. Its almost ready for promulgation.
I just want to make sure the config options are set properly so we don't have to go back and change them, as that is hard on users.
The 'daemon' config option is very confusing. It doesn't actually describe what the option does, which is set the delay. How about 'refresh-interval' ? Also make it type: int, and default: 300, as it can't really be a string.
Please fix that, and I will promulgate it right away.
== Other feedback ==
* Consider running the juju-info- relation- joined hook again from config-changed. You can do this with the 'relation-ids' command, but its non-trivial. Basically you would do this:
for JUJU_RELATION_ID in `relation-ids juju-info` ; do juju-info- relation- joined
export JUJU_RELATION_ID
for JUJU_REMOTE_UNIT in `relation-list -r $rel` ; do
export JUJU_REMOTE_UNIT
hooks/
done
done
This will allow you to change the config parameters after the relationships have been established.