cookbook 'common_linux', '= 0.2.2'
common_linux (7) Versions 0.2.2 Follow2
Installs/Configures chef_common_linux
cookbook 'common_linux', '= 0.2.2', :supermarket
knife supermarket install common_linux
knife supermarket download common_linux
common_linux cookbook
A cookbook whicb provides basic low level configuration for Linux systems, for instance configuring hostnames, ntp, syslog and chef-client. For those most part, functionality will be added here by including third party cookbooks.
Requirements
This cookbook requires Chef 12.7.0 or later.
Platform
Ubuntu
Included cookbooks
- chef-client
- apt
- ubuntu
- build-essentials
- ntp
- ulimit
- sysctl
- rsyslog_ng
Attributes
common.repositories
Hash of repositories used to create apt_repository
resources. This could always be extended to support yum_repository
resources at a alter time as well.
common.packages | common.gems | common.chef_gems
Hashes enabling you to define package
, gem
and chef_gem
packages that should be installed during the chef run.
common.iptables
Hashes enabling you to define iptables
lwrp definitions.
LWRP
hostname
Simple resource designed to set the hostname on Ubuntu machines.
timezone
Simple resource designed to set the timezone on Ubuntu machines.
Dependent cookbooks
Contingent cookbooks
Foodcritic Metric
0.2.2 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/apt.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/build_essential.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/chef_client-ohai.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/chef_client.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/common_linux-iptables.rb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/common_linux.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/logrotate.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/ntp.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/ubuntu.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/ubuntu.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/ubuntu.rb:6
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/recipes/default.rb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/recipes/default.rb:8
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/recipes/iptables.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/recipes/packages.rb:8
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/recipes/packages.rb:28
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/recipes/packages.rb:48
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/recipes/ubuntu.rb:9
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/resources/hostname.rb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/resources/hostname.rb:12
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/resources/hostname.rb:25
FC009: Resource attribute not recognised: /tmp/cook/cef500b960557240c01218ca/common_linux/recipes/packages.rb:55
FC016: LWRP does not declare a default action: /tmp/cook/cef500b960557240c01218ca/common_linux/resources/hostname.rb:1
FC016: LWRP does not declare a default action: /tmp/cook/cef500b960557240c01218ca/common_linux/resources/timezone.rb:1
FC019: Access node attributes in a consistent manner: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/build_essential.rb:2
0.2.2 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/build_essential.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/chef_client-ohai.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/chef_client.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/common_linux-iptables.rb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/common_linux.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/logrotate.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/ntp.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/ubuntu.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/ubuntu.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/ubuntu.rb:6
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/recipes/default.rb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/recipes/default.rb:8
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/recipes/iptables.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/recipes/packages.rb:8
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/recipes/packages.rb:28
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/recipes/packages.rb:48
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/recipes/ubuntu.rb:9
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/resources/hostname.rb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/resources/hostname.rb:12
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cef500b960557240c01218ca/common_linux/resources/hostname.rb:25
FC009: Resource attribute not recognised: /tmp/cook/cef500b960557240c01218ca/common_linux/recipes/packages.rb:55
FC016: LWRP does not declare a default action: /tmp/cook/cef500b960557240c01218ca/common_linux/resources/hostname.rb:1
FC016: LWRP does not declare a default action: /tmp/cook/cef500b960557240c01218ca/common_linux/resources/timezone.rb:1
FC019: Access node attributes in a consistent manner: /tmp/cook/cef500b960557240c01218ca/common_linux/attributes/build_essential.rb:2