This cookbook installs the No-IP agent on a node, allowing you to access the node using a dynamic DNS name.
- CentOS 7.2
- Ubuntu 14.04
interval
- Integer - Number of seconds between updatesusername
- String - The username at noip.com
[:credentials]['noip']['password']
- String - The password at noip.com
Include no-ip::default
in your run list. You need to specify the username and password
for the noip.com account you want to use.
Create the password using Chef Vault:
$ knife vault create credentials noip \
'{"password":"my-secret-password"}' \
-A "admin1,admin2" \
-S "name:my-node-name"
This would set the password to my-secret-password
, allowing admin1 and admin2 to see the password and make it available to the node with the name my-node-name. Adjust these values to your liking.