cookbook 'common_linux', '= 0.3.0'
common_linux (7) Versions 0.3.0 Follow2
Installs/Configures chef_common_linux
cookbook 'common_linux', '= 0.3.0', :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
common_linux
v0.3.0
- Update hostname,timezone resources to execute at compile time
v0.2.3
- Remove AWS ubuntu apt repository url
v0.2.0
- Initial
Collaborator Number Metric
0.3.0 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Foodcritic Metric
0.3.0 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/attributes/apt.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/attributes/build_essential.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/attributes/chef_client-ohai.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/attributes/chef_client.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/attributes/common_linux-iptables.rb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/attributes/common_linux.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/attributes/logrotate.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/attributes/ntp.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/attributes/ubuntu.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/attributes/ubuntu.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/recipes/default.rb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/recipes/default.rb:8
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/recipes/iptables.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/recipes/packages.rb:8
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/recipes/packages.rb:28
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/recipes/packages.rb:48
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/recipes/ubuntu.rb:9
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/resources/hostname.rb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/resources/hostname.rb:12
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/resources/hostname.rb:33
FC009: Resource attribute not recognised: /tmp/e2429e9668df173f96598018/common_linux/recipes/packages.rb:55
FC009: Resource attribute not recognised: /tmp/e2429e9668df173f96598018/common_linux/recipes/ubuntu.rb:10
FC016: LWRP does not declare a default action: /tmp/e2429e9668df173f96598018/common_linux/resources/hostname.rb:1
FC016: LWRP does not declare a default action: /tmp/e2429e9668df173f96598018/common_linux/resources/timezone.rb:1
FC019: Access node attributes in a consistent manner: /tmp/e2429e9668df173f96598018/common_linux/attributes/build_essential.rb:2
0.3.0 failed this metric
0.3.0 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/attributes/apt.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/attributes/build_essential.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/attributes/chef_client-ohai.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/attributes/chef_client.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/attributes/common_linux-iptables.rb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/attributes/common_linux.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/attributes/logrotate.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/attributes/ntp.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/attributes/ubuntu.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/attributes/ubuntu.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/recipes/default.rb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/recipes/default.rb:8
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/recipes/iptables.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/recipes/packages.rb:8
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/recipes/packages.rb:28
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/recipes/packages.rb:48
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/recipes/ubuntu.rb:9
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/resources/hostname.rb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/resources/hostname.rb:12
FC001: Use strings in preference to symbols to access node attributes: /tmp/e2429e9668df173f96598018/common_linux/resources/hostname.rb:33
FC009: Resource attribute not recognised: /tmp/e2429e9668df173f96598018/common_linux/recipes/packages.rb:55
FC009: Resource attribute not recognised: /tmp/e2429e9668df173f96598018/common_linux/recipes/ubuntu.rb:10
FC016: LWRP does not declare a default action: /tmp/e2429e9668df173f96598018/common_linux/resources/hostname.rb:1
FC016: LWRP does not declare a default action: /tmp/e2429e9668df173f96598018/common_linux/resources/timezone.rb:1
FC019: Access node attributes in a consistent manner: /tmp/e2429e9668df173f96598018/common_linux/attributes/build_essential.rb:2