cookbook 'linux-basic', '~> 2.3.1', :supermarket
linux-basic (16) Versions 2.3.1 Follow1
Basic DevOps for single machine
cookbook 'linux-basic', '~> 2.3.1'
knife supermarket install linux-basic
knife supermarket download linux-basic
linux-basic Cookbook
Basic common configuration for linux machines
Requirements
Platform
- Debian/Ubuntu
- RHEL/CentOS/Scientific
- Fedora
- ArchLinux
- FreeBSD
Recipes
default Linux basic configure: install packages, improve security level, add OS users, enable coredump, change repo, etc.
security Apply system patch; Switch whether sshd allow password authentication; on-demand configure for iptables; etc
Usage
Use the cookbook by recipe[linux-basic]
.
Attributes List
-
node['basic']['readonly_user]
- If given, create an OS normal user accordingly. Otherwise skip -
node['basic'][admin_user]
- If given, create an OS admin user accordingly. Otherwise skip -
node['basic'][security]
- enforcing means apply security change, otherwise disable security setting
License & Authors
- Author:: DennyZhang001 denny.zhang001@gmail.com
- Copyright:: 2015, http://DennyZhang.com
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
yum-epel >= 0.0.0 |
apt >= 0.0.0 |
systempatch >= 1.1.2 |
selinux >= 0.0.0 |
openssh >= 0.0.0 |
timezone-ii >= 0.0.0 |
ntp >= 0.0.0 |
Contingent cookbooks
Collaborator Number Metric
2.3.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
2.3.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.3.1 failed this metric
FC009: Resource attribute not recognised: linux-basic/recipes/users.rb:16
FC064: Ensure issues_url is set in metadata: linux-basic/metadata.rb:1
FC065: Ensure source_url is set in metadata: linux-basic/metadata.rb:1
FC066: Ensure chef_version is set in metadata: linux-basic/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
2.3.1 passed this metric
Publish Metric
2.3.1 passed this metric
Supported Platforms Metric
2.3.1 passed this metric
Testing File Metric
2.3.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.3.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 include a tag that matches this cookbook version number
2.3.1 failed this metric
2.3.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.3.1 failed this metric
FC009: Resource attribute not recognised: linux-basic/recipes/users.rb:16
FC064: Ensure issues_url is set in metadata: linux-basic/metadata.rb:1
FC065: Ensure source_url is set in metadata: linux-basic/metadata.rb:1
FC066: Ensure chef_version is set in metadata: linux-basic/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
2.3.1 passed this metric
Publish Metric
2.3.1 passed this metric
Supported Platforms Metric
2.3.1 passed this metric
Testing File Metric
2.3.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.3.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 include a tag that matches this cookbook version number
2.3.1 failed this metric
FC064: Ensure issues_url is set in metadata: linux-basic/metadata.rb:1
FC065: Ensure source_url is set in metadata: linux-basic/metadata.rb:1
FC066: Ensure chef_version is set in metadata: linux-basic/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
2.3.1 passed this metric
Publish Metric
2.3.1 passed this metric
Supported Platforms Metric
2.3.1 passed this metric
Testing File Metric
2.3.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.3.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 include a tag that matches this cookbook version number
2.3.1 passed this metric
2.3.1 passed this metric
Testing File Metric
2.3.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.3.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 include a tag that matches this cookbook version number
2.3.1 failed this metric
2.3.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 include a tag that matches this cookbook version number