cookbook 'r1337-linux-base', '= 0.1.0'
r1337-linux-base (8) Versions 0.1.0 Follow0
Confgure basic settings, packages and services on Linux servers
cookbook 'r1337-linux-base', '= 0.1.0', :supermarket
knife supermarket install r1337-linux-base
knife supermarket download r1337-linux-base
Chef Cookbook - Linux Base
This Chef cookbook will configure some basic system settings, add/remove some common packages, and deploy standard configurations for some common services
Changes Performed
- Make sure CentOS has EPEL
- Remove the following packags from Ubuntu-based systems
- landscape-client-ui
- landscape-client-ui-install
- landscape-client
- landscape-common
- update-motd
- Install the following packages on Ubuntu-based systems
- bmon
- htop
- vim
- curl
- gnupg2
- atop
- git
- molly-guard
- python-pip
- python-dev
- python3-pip
- unzip
- Install the following packages on CentOS-based systems
- vim-enhanced
- curl
- htop
- gnupg2
- git
- lsof
- telnet
- net-tools
- bmon
- atop
- wget
- python2-pip
- python34-pip
- python34-devel
- unzip
- gcc
- Make sure the
/tools
directory exists and is accessible only to root - install the following python2.7 packages
- urllib3
- pyasn1
- Remove root's .bashrc on Ubuntu-based systems
- Deploy a custom system-wide bashrc and a supporting git.bash file for working in git repos
- Install thefuck in python3 and configure it with Matthew Ahrenstein's custom rules
- Install and configure ntp to run off the NTP pool using the America/New_York timezone
Requirements
- Chef (Tested on Chef 13)
- Linux chef-clients (Tested on Ubuntu 14.04, Ubuntu 16.04 and CentOS 7.2 but kitchen will let you test anything you want)
- The apt cookbook from Chef Supermarket
- The yum-epel cookbook from Chef Supermarket
Installation Tips
- I personally use Berks to install this into my Chef server, because it's easier.
Limitations
- None so far :)
Known Issues
- None so far :)
Bug Fixes & Changes
- v0.1.0
- Initial release
Use Cases
Getting a minimum base configuration going on new Linux servers
Based On
This cookbook is based on an older cookbook by Matthew Ahrenstein called linux-tweak
Dependent cookbooks
apt >= 0.0.0 |
yum-epel >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.0 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
0.1.0 failed this metric
FC069: Ensure standardized license defined in metadata: r1337-linux-base/metadata.rb:1
Run with Foodcritic Version 12.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.1.0 failed this metric
r1337-linux-base does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 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
0.1.0 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
0.1.0 failed this metric
0.1.0 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
0.1.0 failed this metric
FC069: Ensure standardized license defined in metadata: r1337-linux-base/metadata.rb:1
Run with Foodcritic Version 12.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.1.0 failed this metric
r1337-linux-base does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 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
0.1.0 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
0.1.0 failed this metric
Run with Foodcritic Version 12.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.0 failed this metric
r1337-linux-base does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 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
0.1.0 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
0.1.0 passed this metric
0.1.0 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
0.1.0 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
0.1.0 failed this metric