Poise-Build-Essential Cookbook
A Chef cookbook to install a C compiler and build tools.
Quick Start
To install a C compiler:
include_recipe 'poise-build-essential'
Or to install using a resource and at compile time:
poise_build_essential 'build_essential' do
action :nothing
end.run_action(:install)
Recipes
-
poise-build-essential::default
– Install a C compiler and build tools.
Attributes
-
node['poise-build-essential']['action']
– Action to use. One of install, upgrade, or remove. (default: install) -
node['poise-build-essential']['allow_unsupported_platform']
– Whether or not to raise an error on unsupported platforms. (default: false)
Resources
poise_build_essential
The poise_build_essential
resource installs a C compiler and build tools.
poise_build_essential 'build_essential' do
allow_unsupported_platform true
end
Actions
-
:install
– Install a C compiler. (default) -
:upgrade
– Install a C compiler usingpackage action :ugprade
rules. -
:remove
– Remove a C compiler.
Properties
-
allow_unsupported_platform
– Whether or not to raise an error on unsupported platforms. (default: false)
Sponsors
Development sponsored by SAP.
The Poise test server infrastructure is sponsored by Rackspace.
License
Some code copyright 2008-2017, Chef Software, Inc. Used under the terms of the Apache License, Version 2.0.
Copyright 2017, Noah Kantrowitz
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.