cookbook 'ldap2zone', '~> 0.1.3'
ldap2zone (1) Versions 0.1.3 Follow1
Installs/Configures ldap2zone
cookbook 'ldap2zone', '~> 0.1.3', :supermarket
knife supermarket install ldap2zone
knife supermarket download ldap2zone
ldap2zone Cookbook
Description
This cookbook installs and configures Ldap2zone to be used with Bind.
Requirements
Chef
Tested on 11.12.8 but newer and older version should work just fine.
Platform
The following platforms have been tested with this cookbook, meaning that the recipes run on these platforms without error:
- Ubuntu
- Debian
Cookbooks
-
bind
- This cookbook is used to install bind.
Capabilities
Attributes
ldap2zone::default
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['ldap2zone']['params']['ldap']['uri']</tt></td>
<td>String</td>
<td>URI of the LDAP server</td>
<td><tt>ldap://localhost</tt></td>
</tr>
<tr>
<td><tt>['ldap2zone']['params']['ttl']</tt></td>
<td>Numeric</td>
<td>Time to live value for a and ptr records</td>
<td><tt>500</tt></td>
</tr>
<tr>
<td><tt>['ldap2zone']['params']['prefix']</tt></td>
<td>String</td>
<td>Prefix for zone definition files</td>
<td><tt>db.</tt></td>
</tr>
<tr>
<td><tt>['ldap2zone']['params']['allow']['update']</tt></td>
<td>Array</td>
<td>Allow Updates from these networks</td>
<td><tt>[]</tt></td>
</tr>
<tr>
<td><tt>['ldap2zone']['params']['allow']['transfer']</tt></td>
<td>Array</td>
<td>Allow Transfer to zones</td>
<td><tt>[]</tt></td>
</tr>
<tr>
<td><tt>['ldap2zone']['params']['allow']['notify']</tt></td>
<td>Boolean</td>
<td>Allow notify to slaves</td>
<td><tt>false</tt></td>
</tr>
<tr>
<td><tt>['ldap2zone']['cron']['enabled']</tt></td>
<td>Boolean</td>
<td>If it is true, it will add a cron entry in order to run Ldap2bind</td>
<td><tt>true</tt></td>
</tr>
<tr>
<td><tt>['ldap2zone']['cron']['minute']</tt></td>
<td>String</td>
<td>Cron minute entry</td>
<td><tt>/5</tt></td>
</tr>
<tr>
<td><tt>['ldap2zone']['cron']['hour']</tt></td>
<td>String</td>
<td>Cron hour entry</td>
<td><tt></tt></td>
</tr>
<tr>
<td><tt>['ldap2zone']['cron']['day']</tt></td>
<td>String</td>
<td>Cron day entry</td>
<td><tt></tt></td>
</tr>
<tr>
<td><tt>['ldap2zone']['cron']['month']</tt></td>
<td>String</td>
<td>Cron month entry</td>
<td><tt></tt></td>
</tr>
<tr>
<td><tt>['ldap2zone']['cron']['weekday']</tt></td>
<td>String</td>
<td>Cron weekday entry</td>
<td><tt>*</tt></td>
</tr>
</table>
For more details, see the attributes/default.rb
file.
Recipes
ldap2zone::default
This recipe installs and configures Ldap2zone in the node.
Resources and Providers
There is none defined.
Libraries
There is none defined.
Usage
Just include ldap2zone
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[ldap2zone]" ] }
Development
- Source hosted at GitHub
- Report issues/Questions/Feature requests on GitHub Issues
Contributing
- Fork the repository on Github
- Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Author:: Claudio Cesar Sanchez Tejeda demonccc@gmail.com
Copyright:: 2015, Claudio Cesar Sanchez Tejeda
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Dependent cookbooks
bind >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
ldap2zone CHANGELOG
This file is used to list changes made in each version of the ldap2zone cookbook.
0.1.3
- Claudio Cesar Sanchez Tejeda - Some minimal fixes
0.1.0
- Claudio Cesar Sanchez Tejeda - Initial release of ldap2zone
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Collaborator Number Metric
0.1.3 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.3 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
0.1.3 failed this metric
FC064: Ensure issues_url is set in metadata: ldap2zone/metadata.rb:1
FC065: Ensure source_url is set in metadata: ldap2zone/metadata.rb:1
FC066: Ensure chef_version is set in metadata: ldap2zone/metadata.rb:1
FC069: Ensure standardized license defined in metadata: ldap2zone/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.3 passed this metric
Testing File Metric
0.1.3 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
0.1.3 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
0.1.3 failed this metric
0.1.3 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
0.1.3 failed this metric
FC064: Ensure issues_url is set in metadata: ldap2zone/metadata.rb:1
FC065: Ensure source_url is set in metadata: ldap2zone/metadata.rb:1
FC066: Ensure chef_version is set in metadata: ldap2zone/metadata.rb:1
FC069: Ensure standardized license defined in metadata: ldap2zone/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.3 passed this metric
Testing File Metric
0.1.3 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
0.1.3 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
0.1.3 failed this metric
FC065: Ensure source_url is set in metadata: ldap2zone/metadata.rb:1
FC066: Ensure chef_version is set in metadata: ldap2zone/metadata.rb:1
FC069: Ensure standardized license defined in metadata: ldap2zone/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.3 passed this metric
Testing File Metric
0.1.3 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
0.1.3 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
0.1.3 failed this metric
0.1.3 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