cookbook 'linux-basic', '= 1.1.0'
linux-basic (16) Versions 1.1.0 Follow1
Basic DevOps for single machine
cookbook 'linux-basic', '= 1.1.0', :supermarket
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, add OS users, enable coredump, change repo, etc.
Usage
Use the cookbook by recipe[linux-basic]
.
Attributes List
-
node['basic']['readonly_user]
- If given, create an OS user accordingly. Otherwise skip -
node['basic'][admin_user]
- If given, create an OS user accordingly. Otherwise skip
License & Authors
- Author:: DennyZhang001 denny.zhang001@gmail.com
Copyright:: 2015, 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.
Foodcritic Metric
1.1.0 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/packages.rb:31
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/repo.rb:95
FC002: Avoid string interpolation where not required: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/files.rb:12
FC002: Avoid string interpolation where not required: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/files.rb:20
FC002: Avoid string interpolation where not required: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/packages.rb:11
FC002: Avoid string interpolation where not required: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/packages.rb:20
FC002: Avoid string interpolation where not required: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/packages.rb:26
FC002: Avoid string interpolation where not required: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/packages.rb:35
FC002: Avoid string interpolation where not required: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/repo.rb:70
FC002: Avoid string interpolation where not required: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/repo.rb:78
FC005: Avoid repetition of resource declarations: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/files.rb:12
FC019: Access node attributes in a consistent manner: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/packages.rb:31
FC019: Access node attributes in a consistent manner: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/repo.rb:95
FC041: Execute resource used to run curl or wget commands: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/repo.rb:45
1.1.0 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/repo.rb:95
FC002: Avoid string interpolation where not required: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/files.rb:12
FC002: Avoid string interpolation where not required: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/files.rb:20
FC002: Avoid string interpolation where not required: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/packages.rb:11
FC002: Avoid string interpolation where not required: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/packages.rb:20
FC002: Avoid string interpolation where not required: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/packages.rb:26
FC002: Avoid string interpolation where not required: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/packages.rb:35
FC002: Avoid string interpolation where not required: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/repo.rb:70
FC002: Avoid string interpolation where not required: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/repo.rb:78
FC005: Avoid repetition of resource declarations: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/files.rb:12
FC019: Access node attributes in a consistent manner: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/packages.rb:31
FC019: Access node attributes in a consistent manner: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/repo.rb:95
FC041: Execute resource used to run curl or wget commands: /tmp/cook/f686fcb8a68c312afcc5c858/linux-basic/recipes/repo.rb:45