cookbook 'hosts_allow', '= 1.0.0'
hosts_allow (2) Versions 1.0.0 Follow0
Configures host.allow
cookbook 'hosts_allow', '= 1.0.0', :supermarket
knife supermarket install hosts_allow
knife supermarket download hosts_allow
hosts.allow Cookbook
Cookbook which configures the host.allow file.
Platforms
The following platforms are tested using Test Kitchen:
- Ubuntu 12.04/14.04/16.04
- CentOS (RHEL) 5/6/7
Basic Usage
The [default recipe](recipes/default.rb) gives you the ability to pass attributes to tune your hosts.allow settings.
There are currently no defaults in this cookbook so your regular distrobution provided hosts.allow file will remain intact.
You can tweak the settings in the Policefile.rb or directly using attributes.
Recipe
node.default['host_allow']['hosts] = { 'ssh' => 'ALL', 'ntpd' => 'ALL'}
Policyfile
name 'host_allow' default_source :community cookbook 'host_allow', git: 'https://github.com/acaiafa/host-allow-cookbook' run_list 'host_allow::default' override['host_allow']['hosts] = { 'ssh' => 'ALL', 'ntpd' => 'ALL'}
Dependent cookbooks
poise >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Change Log
All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
Unreleased
1.0.0
Bug Fixes
- Fixes integration test harness using Test Kitchen.
- Squashes several issues while testing locally and on machines.