cookbook 'server-base', '= 2.3.1'
server-base (7) Versions 2.3.1 Follow2
Installs/Configures base server environment
cookbook 'server-base', '= 2.3.1', :supermarket
knife supermarket install server-base
knife supermarket download server-base
SERVER-BASE COOKBOOK
This wrapper cookbook installs packages required on Linux servers.
Supported Platforms
Supported platforms: Ubuntu 14.04/16.04 LTS, Chef 12/13
Attributes
The behavior of the upstream cookbooks is controlled by attributes. You may see what the default values are by
studying the files in the attributes directory.
-
node['server-base']['python2']['install']
- Install Python 2 runtime. -
node['server-base']['python3']['install']
- Install Python 3 runtime. -
node[ntp']['servers']
- An array of NTP server pool names.
Usage
server-base::default
Include server-base
in your node's run_list
:
{ "run_list": [ "recipe[server-base::default]" ] }
Contributing
- Fork the repository on Github
- Create a named feature branch (i.e.
add-new-recipe
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request
License & Authors
- Author:: Sean M. Sullivan (sean@tgwconsulting.co)
Copyright:: 2014-2017 Pulselocker, Inc. Copyright:: 2018 TGW Consulting, LLC. 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
apt ~> 7.0.0 |
openssh ~> 2.6.3 |
ntp ~> 3.5.6 |
rsyslog ~> 6.0.4 |
build-essential ~> 8.1.1 |
ruby_build ~> 1.1.0 |
rake ~> 0.1.1 |
zip ~> 1.1.0 |
poise-python ~> 1.7.0 |
yum ~> 5.1.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
SERVER-BASE CHANGELOG
2.3.1 (24-May-2018)
- Updated metadata.rb with supported OSes.
- Changed provisioner attributes in .kitchen.yml file.
- Added
stove
gem simplifying cookbook publishing to Chef Supermarket.
2.3.0 (23-May-2018)
- Added support for Redhat Enterprise Linux 7, CentOS 7, Scientific Linux 7
- Dropped Ubuntu 14.04 from test suites
- Added CentOS 7 to test suites
2.2.1 (14-Mar-2018)
- Updated gem package versions in Gemfile
- [CVE-2017-9050] Addressed Nokogiri vulnerability
- Code cleanup per Rubocop recommendations
- Replaced Travis Test Kitchen with Dokken.
2.2.0 (08-Feb-2018)
- Changed maintainer information.
- Removed Chef 12 requirement
- Updated dependent package versions.
2.1.3 (16-Oct-2017)
- [APPA-522] Fixed issue with dpkg overwriting configuration file.
- Added
$ rake linter
task for linter testing only.
2.1.2 (16-Aug-2017)
- Deprecated
networking-basic
cookbook. - Bumped version of
build-essential
cookbook.
2.1.1 (15-Aug-2017)
- Removed old
.travis.yml
file no longer used. - Restructured cookbook directory to get it working with Berkshelf.
2.1.0 (11-Aug-2017)
- Restructured cookbook to support Travis/Docker integration tests.
- Added Travis/Docker integration testing.
- Pinned cookbook versions for:
openssh
,rsyslog
,ntp
, andapt
.
2.0.0 (24-Jul-2017)
- Deprecated
python
cookbook in favor ofpoise-python
. - Added support for installing Python 3 installations.
- Added
openssh
cookbook dependency.
1.2.2 (16-May-2017)
- Enable APT update during compile time of cookbook.
- Rolled back Python to use
python
cookbook instead ofpoise-python
.
1.2.1 (11-May-2017)
- Require Chef Omnibus 12.x package for backwards compatibility in Kitchen Test.
1.2.0 (09-Feb-2017)
- Added support for Ubuntu 16.04 OS.
- Deprecated support of Ubuntu 12.04.
- Bumped
build-essential
cookbook version. - Bumped
ruby_build
cookbook version. - Deprecated
python
cookbook in favor ofpoise-python
.
1.1.1 (17-Jun-2016)
- Do not install DNS cache by default.
1.1.0 (03-Jun-2016)
- Add local DNS cache.
1.0.3 (15-Mar-2016)
- Updated travis.yml to include Ruby 2.2.1 to support latest version of
foodcritic
gem. - Made changes to support
foodcritic
6.x.
1.0.2
- Bug fixes.
- Changed networking_basic cookbook to networking-basic cookbook, maintained by Pulselocker.
1.0.1
- Moved dependency version control to Berksfile.
1.0.0
- Addition of the system-common recipe, which installs apt, ntp, openssh, ntp, rsyslog, build-essential, and zip.
- Addition of the python-support recipe, which installs python and pip.
- Addition of the ruby-support recipe, which installs Ruby and Rake.
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
FC122: Use the build_essential resource instead of the recipe: server-base/recipes/system-common.rb:42
Run with Foodcritic Version 13.1.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries 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 passed this metric
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
FC122: Use the build_essential resource instead of the recipe: server-base/recipes/system-common.rb:42
Run with Foodcritic Version 13.1.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries 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 passed this metric
2.3.1 failed this metric
Run with Foodcritic Version 13.1.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
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 passed this metric
2.3.1 failed this metric
2.3.1 passed this metric