cookbook 'autofs', '= 2.1.1'
autofs
(25) Versions
2.1.1
-
Follow4
Installs/Configures autofs Server
cookbook 'autofs', '= 2.1.1', :supermarket
knife supermarket install autofs
knife supermarket download autofs
AutoFS Cookbook
The AutoFS cookbook is a library cookbook that provides resource primitives for
use in recipes.
Scope
This cookbook configures clients that use autofs
See: http://linux.die.net/man/8/automount
This cookbook does not concern itself with managing an NFS server.
Requirements
- Chef 12.0.3 or higher
- Ruby 1.9 or higher (preferably from the Chef full-stack installer)
- Network accessible package repositories
Platform
- Debian, Ubuntu
- CentOS, Red Hat
Usage
Resources
Add entries directly to auto.master
automaster_entry '/smb' do
map '/etc/auto.smb'
options '--timeout 600'
end
Add entries to custom autofs map file
map_entry 'homes' do
location '://smb-server:directory'
fstype 'smb'
options 'rw'
map '/etc/auto.smb'
end
Nfs resource with default entries for map & auto.master
nfs '/mnt/nfs' do
server 'nfsserver'
export '/example/remote_path/'
options 'sync'
end
License and Author
- Author: Dan Webb (dan.webb@damacus.io)
- Author: Luke Bradbury (luke@nqyr.io)
- Author: Richard Lock (r.j.lock@derby.ac.uk)
- Author: James E. Flemer (james.flemer@ndpgroup.com)
Copyright: 2016, University of Derby
Copyright: 2018, NDP, LLC
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.
AutoFS Cookbook CHANGELOG
v2.1.0 (2018-02-08)
Support wildcard maps and improve robustness (regex matching)
v2.0.2 (2017-12-13)
Updated cookbook versions in metadata and fixed rubocop warnings.
v2.0.1 (2017-05-24)
Updated nfs resource to use fstype property.
v2.0.0 (2016-09-05)
Refactored to use new resource model with compat_resource (#18).
v1.0.3 (2015-05-11)
Bug: #9 duplicate entries for the same mountpoint.
v1.0.2 (2015-04-24)
Bug: line matching does not work.
v1.0.1 (2015-04-20)
Refactored NFS block to change order at which packages are installed.
v0.2.2 (2015-03-12)
Bugs #4 & #5 fixed and small amount of rubocop.
v0.2.0 (2015-02-27)
Refactored entire cookbook to a resource model (https://github.com/chef-cookbooks/resource).
Cookbook now supports less platforms as there are currently no tests for SmartOS and Solaris2. If you would like support for these platform, please submit a PR respective tests.
Collaborator Number Metric
2.1.1 passed this metric
Contributing File Metric
2.1.1 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
2.1.1 passed this metric
No Binaries Metric
2.1.1 passed this metric
Testing File Metric
2.1.1 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
2.1.1 passed this metric
2.1.1 passed this metric
2.1.1 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
2.1.1 passed this metric
No Binaries Metric
2.1.1 passed this metric
Testing File Metric
2.1.1 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
2.1.1 passed this metric
2.1.1 passed this metric
2.1.1 passed this metric
Testing File Metric
2.1.1 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
2.1.1 passed this metric
2.1.1 failed this metric
2.1.1 passed this metric