cookbook 'spython', '= 0.1.0'
spython (5) Versions 0.1.0 Follow1
Spython cookbook - Sliim's python cookbook.
cookbook 'spython', '= 0.1.0', :supermarket
knife supermarket install spython
knife supermarket download spython
Spython cookbook - Sliim's python cookbook
Simple cookbook to manage python installations.
Requirements
Platforms
The following platforms and versions are tested and supported using Opscode's test-kitchen.
- Debian 9
- Debian 10
- Debian bullseye
- Ubuntu 18.04
Attributes
spython::2
Key | Type | Description |
---|---|---|
[spython][2][packages] |
Array | System packages to install python 2 (default: platform specific) |
[spython][2][pip_packages] |
Hash | Pip packages to install (default: {} ) |
[spython][2][pip_bin] |
String | Path to pip executable (default: pip2 ) |
[spython][2][pip_upgrade] |
Bool | Upgrade pip after python install (default: false ) |
[spython][2][setuptools_upgrade] |
Bool | Upgrade setuptools after python install (default: false
|
spython::3
Key | Type | Description |
---|---|---|
[spython][3][packages] |
Array | System packages to install python 3 (default: platform specific) |
[spython][3][pip_packages] |
Hash | Pip packages to install (default: {} ) |
[spython][3][pip_bin] |
String | Path to pip executable (default: pip3 ) |
[spython][3][pip_upgrade] |
Bool | Upgrade pip after python install (default: false ) |
[spython][3][setuptools_upgrade] |
Bool | Upgrade setuptools after python install (default: false
|
Usage
spython::2
Just include spython::2
in your node's run_list
to install Python2:
{ "name":"my_node", "run_list": [ "recipe[spython::2]" ] }
spython::3
Just include spython::3
in your node's run_list
to install Python3:
{ "name":"my_node", "run_list": [ "recipe[spython::3]" ] }
LWRP
spython_runtime
Install python runtime
spython_runtime '3'
spython_package
Install python pip package
spython_package 'PyYaml' do
runtime '3'
version '3.13'
end
See resources files for more infos.
Testing
See [TESTING.md](TESTING.md)
Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md)
License and Authors
Authors: Sliim sliim@mailoo.org
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
This cookbook has no specified dependencies.
Contingent cookbooks
spython CHANGELOG
This file is used to list changes made in each version of the spython cookbook.
0.1.0
- Initial release of spython cookbook
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 passed this metric
Foodcritic Metric
0.1.0 passed this metric
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 passed this metric
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 passed this metric
Foodcritic Metric
0.1.0 passed this metric
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 passed this metric
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 passed this metric
Testing File Metric
0.1.0 passed this metric
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 include a tag that matches this cookbook version number