/no-ip

Primary LanguageRubyGNU General Public License v3.0GPL-3.0

Build Status Chef cookbook Code Climate Test Coverage

No-IP Cookbook

This cookbook installs the No-IP agent on a node, allowing you to access the node using a dynamic DNS name.

Supported Platforms

  • CentOS 7.2
  • Ubuntu 14.04

Attributes

  • interval - Integer - Number of seconds between updates
  • username - String - The username at noip.com

Encrypted data bags

  • [:credentials]['noip']['password'] - String - The password at noip.com

Usage

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.