Forge Home

duckdns

client for DuckDNS (https://duckdns.org/)

9,293 downloads

9,293 latest version

3.2 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.5.0 (latest)
released Oct 24th 2014

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'mbobakov-duckdns', '0.5.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add mbobakov-duckdns
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install mbobakov-duckdns --version 0.5.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

mbobakov/duckdns — version 0.5.0 Oct 24th 2014

Build Status ##Module Description Client for DuckDNS dynamic dns service (https://duckdns.org/). Create cron job for update ip's and put logs about update process into systemjournal. Now only UNIX-like OS is supported. Pull-requests are welcome. ;)

##Setup puppet module install revglor-duckdns

##Params ####ensure Ensure for this client. Mandatory. String. Default: present ####token Usertoken for DuckDNS account. Mandatory. String. Default: empty ####ip Static ip for each domain in domains-array. If empty, use current public ip. Optional. String. Default: empty ####update_minutes How often update ip in minutes. Uses for create cron job. Mandatory. Int. Default: 5 ####updater Location of the updater-script. Default: /opt/duckdns.sh ####domains Domains for update. Mandatory. Array. Default: empty

##Sample Usage ###Puppet class

 class { 'duckdns':
   ensure         => 'present',
   token          => 'token_fer43sdgf245tswdfg34sdfgsdf',
   ip             => '8.8.8.8',
   update_minutes => 15,
   updater        => '/opt/duckdns.sh',
   domains        => ['test', 'tst.example'],
 } 

####With Hiera

include duckdns in manifest and add Hiera params:

duckdns::ensure: 'present'
duckdns::token: 'token_fer43sdgf245tswdfg34sdfgsdf'
duckdns::ip: '8.8.8.8' 
duckdns::update_minutes: 15
duckdns::updater: '/opt/duckdns.sh'
duckdns::domains: ['test', 'tst.example']``

About params see [Params](# Params)

##Development

Patches are welcome. realy