Skip to content
This repository has been archived by the owner on Jun 18, 2019. It is now read-only.

python_runtime resource option setting doc is unclear to me #2

Open
jblaine opened this issue Aug 26, 2015 · 1 comment
Open

python_runtime resource option setting doc is unclear to me #2

jblaine opened this issue Aug 26, 2015 · 1 comment

Comments

@jblaine
Copy link
Contributor

jblaine commented Aug 26, 2015

This is not clear to me. I don't see what's different about the 2 examples really:

When setting options in the resource you can either set them for all providers:

python_runtime 'myapp' do
  version '2.7'
  options pip_version: false
end

or for a single provider:

python_runtime 'myapp' do
  version '2.7'
  options :system, dev_package: false
end
@coderanger
Copy link
Member

The first sets an option flag for all providers, though arguably this is a silly way to do it since you could just use the pip_version property itself. The second sets an option flag only for the system provider.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants