Skip to content

Commit

Permalink
Add documentation about install and global options.
Browse files Browse the repository at this point in the history
  • Loading branch information
s0undt3ch committed Apr 12, 2014
1 parent e1cbf06 commit 70987d8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions salt/states/pip_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,30 @@ def installed(name,
.. versionchanged:: 0.17.0
``use_wheel`` option added.
install_options
Extra arguments to be supplied to the setup.py install command.
If you are using an option with a directory path, be sure to use
absolute path.
Example:
.. code-block:: yaml
django:
pip.installed:
- name: django
- install_options:
- --prefix=/blah
- require:
- pkg: python-pip
global_options
Extra global options to be supplied to the setup.py call before the
install command.
.. versionadded:: 2014.1.2
.. admonition:: Attention
As of Salt 0.17.0 the pip state **needs** an importable pip module.
Expand Down

0 comments on commit 70987d8

Please sign in to comment.