Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

variomedia-dns-updater (1) Versions 1.0.0

Installs/Configures variomedia-dns-updater

Policyfile
Berkshelf
Knife
cookbook 'variomedia-dns-updater', '~> 1.0.0', :supermarket
cookbook 'variomedia-dns-updater', '~> 1.0.0'
knife supermarket install variomedia-dns-updater
knife supermarket download variomedia-dns-updater
README
Dependencies
Quality 17%

variomedia-dns-updater Cookbook

This installs
the Variomedia DNS Updater.

Requirements

  • bash
  • curl
  • dig

At the moment, this is only tested on Ubuntu and installs Ubuntu specific
packages for its requirements.

Attributes

variomedia-dns-updater::default

<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['variomedia-dns-updater']['dir']</tt></td>
<td>String</td>
<td>installation base directory</td>
<td><tt>/srv/variomedia-dns-updater</tt></td>
</tr>
<tr>
<td><tt>['variomedia-dns-updater']['repository']</tt></td>
<td>String</td>
<td>repository to clone from</td>
<td><tt>git://github.com/kaimi/variomedia-dns-updater</tt></td>
</tr>
<tr>
<td><tt>['variomedia-dns-updater']['version']</tt></td>
<td>String</td>
<td>git revision to check out; can be any valid revision identifier</td>
<td><tt>master</tt></td>
</tr>
<tr>
<td><tt>['variomedia-dns-updater']['user']</tt></td>
<td>String</td>
<td>user to run the updater as</td>
<td><tt>daemon</tt></td>
</tr>
<tr>
<td><tt>['variomedia-dns-updater']['email']</tt></td>
<td>String</td>
<td>email address to send cron job error emails to</td>
<td><tt>mail@domain.tld</tt></td>
</tr>
<tr>
<td><tt>['variomedia-dns-updater']['frequency']</tt></td>
<td>int</td>
<td>frequency to run the updater on; measured in minutes, should be 1–60</td>
<td><tt>5</tt></td>
</tr>
<tr>
<td><tt>['variomedia-dns-updater']['logfile']</tt></td>
<td>String</td>
<td>log file to redirect the updater’s output to</td>
<td><tt>/var/log/variomedia-dns-updater.log</tt></td>
</tr>
<tr>
<td><tt>['variomedia-dns-updater']['hostname']</tt></td>
<td>String</td>
<td>host name to check your public IP against</td>
<td><tt>sub.domain.tld</tt></td>
</tr>
<tr>
<td><tt>['variomedia-dns-updater']['domains']</tt></td>
<td>String[]</td>
<td>domains to modify</td>
<td><tt>sub1.domain.tld, sub2.domain.tld, domain.tld</tt></td>
</tr>
<tr>
<td><tt>['variomedia-dns-updater']['username']</tt></td>
<td>String</td>
<td>your variomedia dynamic DNS user name (= account email address)</td>
<td><tt>some@email.address</tt></td>
</tr>
<tr>
<td><tt>['variomedia-dns-updater']['password']</tt></td>
<td>String</td>
<td>your variomedia dynamic DNS password</td>
<td><tt>anditspassword</tt></td>
</tr>
<tr>
<td><tt>['variomedia-dns-updater']['site']</tt></td>
<td>String</td>
<td>override public IP address check web site</td>
<td><tt>nil</tt></td>
</tr>
</table>

Usage

variomedia-updater::default

You will have to at least set the email, hostname, domains, username
and password attributes before running the recipe.

node.set['variomedia-dns-updater']['email'] = "admin@exapmle.com"
node.set['variomedia-dns-updater']['hostname'] = "your.domain.tld"
node.set['variomedia-dns-updater']['domains'] = ["your.domain.tld, host.domain.tld"]
node.set['variomedia-dns-updater']['username'] = "your@account.address"
node.set['variomedia-dns-updater']['password'] = "barbaz"

include_recipe "variomedia-dns-updater::default"

The site attribute is entirely optional and probably not a good thing to use.

Contributing

I am using nvie’s
git branching model. To contribute you should follow
these steps:

  1. Check if your proposed change is already implemented in the develop branch
  2. Fork the repository on Github
  3. Create a named feature branch (like feature-x)
  4. Write your change
  5. Submit a Pull Request against the develop branch using Github

License and Authors

Authors: ka’imi kaimi@kaimi.cc

Dependent cookbooks

application >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

1.0.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

1.0.0 failed this metric

FC064: Ensure issues_url is set in metadata: variomedia-dns-updater/metadata.rb:1
FC065: Ensure source_url is set in metadata: variomedia-dns-updater/metadata.rb:1
FC066: Ensure chef_version is set in metadata: variomedia-dns-updater/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: variomedia-dns-updater/metadata.rb:1
FC069: Ensure standardized license defined in metadata: variomedia-dns-updater/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

1.0.0 passed this metric

Testing File Metric
            

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number