This wrapper cookbook installs packages required on Linux servers.
Supported platforms: Ubuntu 16.04/18.04 LTS, RedHat Enterprise Linux 7, Chef 13/14/15
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.
Attribute | Default Value | Description |
---|---|---|
node['tgw-server-base']['python2']['install'] | true | Installs Python 2.x interpreter. |
node['tgw-server-base']['python3']['install'] | true | Installs Python 3.x interpreter. |
node['tgw-server-base']['install_dnsmasq'] | false | Installs DNS service if true. |
node['tgw-server-base']['install_chef_client'] | false | Installs and configures chef-client as a service if true. |
node['tgw-server-base']['php']['install'] | false | Install PHP interpreter if true. |
node['tgw-server-base']['ruby']['install'] | true | Install Ruby interpreter if true. |
node['tgw-server-base']['ruby']['version'] | 2.6.6 | Version of Ruby interpreter to install. |
node['tgw-server-base']['new_relic']['install'] | false | Install New Relic infrastructure agent. |
node['tgw-server-base']['new_relic']['key'] | replace me | Override with your private New Relic key. |
Include tgw-server-base
in your node's run_list
:
{
"run_list": [
"recipe[tgw-server-base::default]"
]
}
- 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
- Author:: Sean M. Sullivan (sean@tgwconsulting.co)
Copyright:: 2014-2017 Pulselocker, Inc.
Copyright:: 2018-2020 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.