Commit graph

12273 commits

Author SHA1 Message Date
Marc Abramowitz
7cc5ecae52 nova.ini: Distinguish between required and optional settings
Put them in separate sections of config to make it more clear what is
essential and what is not. Also comment out the optional settings.
And remove duplicate mention of `service_type`.
2014-10-01 15:19:05 -04:00
Marc Abramowitz
1560b963aa nova.py: Support OS_AUTH_SYSTEM and OS_REGION_NAME 2014-10-01 15:19:05 -04:00
Marc Abramowitz
cd5edc416c nova.py: Set defaults for OpenStack settings
- auth_system
- region_name
- service_type

These are config settings that could be left out in many scenarios, but
the current code is requiring them. In particular, "service_type" is a
new one in PR #7444 so if we add that and don't set a default, then
existing .ini files won't work:

```
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py",
line 618, in get
    raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'service_type' in section:
'openstack'
```
2014-10-01 15:19:04 -04:00
Carson Gee
eccb48c8da Improvements to OpenStack inventory script 2014-10-01 15:19:04 -04:00
Toshio Kuratomi
e6fcd90342 Merge pull request #9224 from drawks/iss9223
Resolve #9223 Fix test for python 2.6
2014-10-01 11:54:44 -04:00
Toshio Kuratomi
e00d657362 Make unittest compatible with python <= 2.6 2014-10-01 11:50:45 -04:00
James Cammarata
313f26f866 Fix issue with vars precedence from roles
Fixes #9219
2014-09-30 15:50:46 -05:00
Dave Rawks
5f54b57b6d Corrected indentation 2014-09-30 13:37:47 -07:00
Michael DeHaan
c6bfd05c81 Document pattern ranges on the patterns page. 2014-09-30 15:17:28 -04:00
Toshio Kuratomi
664fa1e942 Changelog entry for #9182 specifying the sudo command. 2014-09-30 15:06:17 -04:00
Toshio Kuratomi
0af750e3e5 Merge pull request #9182 from bbasleeper/feature_sudo_exe_from_inventory
Add a new inventory parameter (ansible_sudo_exe) to specify sudo command...
2014-09-30 14:55:46 -04:00
Dave Rawks
c070ab69f7 Resolve #9223 Fix test for python 2.6
* trivial test refactor to allow for python 2.6 compat
2014-09-30 11:24:47 -07:00
James Cammarata
05994cd900 Don't clear paths when adding a new directory path in PluginLoader 2014-09-30 09:43:40 -05:00
Toshio Kuratomi
cf548baeab Fix missing strip() in a1809a371a 2014-09-29 18:07:55 -04:00
Michael DeHaan
2211ae113c Update rst.j2
typo fix
2014-09-29 18:01:16 -04:00
Toshio Kuratomi
a1809a371a Target unnecessary templating warning at lines consisting of a single variable
Fixes #6407
2014-09-29 17:56:44 -04:00
Michael DeHaan
5e0121e11b Update _module_pr_move.md 2014-09-29 16:14:41 -04:00
Michael DeHaan
92dd3cb840 Update _module_issue_move.md 2014-09-29 16:14:31 -04:00
Toshio Kuratomi
9bc114e948 Minor grammar fixes 2014-09-29 15:36:48 -04:00
Toshio Kuratomi
92f4b09a9b Spelling in ticket stubs 2014-09-29 15:30:09 -04:00
Michael DeHaan
8cadfc2743 Add ticket stubs to be used in the great ticket move. 2014-09-29 15:13:24 -04:00
Bruno BAILLUET
4e5dc754fa Added a comment to mention that ansible_sudo_exe is available from version 1.8 and beyond 2014-09-29 19:46:41 +02:00
Michael DeHaan
6a5a81a311 Merge pull request #9200 from jlaska/devel
Remove references to old module dir from .spec
2014-09-29 10:24:03 -04:00
James Laska
a0fecd6101 Fix packaging to work with new module location
Changes include:
 * Remove references to old module dir from .spec
 * Use setuptools find_packages find all ansible packages
2014-09-29 10:22:15 -04:00
Michael DeHaan
459722899d Update core link 2014-09-29 09:12:50 -04:00
Michael DeHaan
ae2d198342 Remove install references to library/ 2014-09-29 08:46:35 -04:00
Michael DeHaan
0354d19f73 Update README.md 2014-09-28 15:24:44 -04:00
Michael DeHaan
56b90390f4 Update README.md 2014-09-28 15:22:33 -04:00
Michael DeHaan
bd4011fa5a Merge pull request #9190 from martin-ueding/fix-link-in-rst-template
Fix link in reST template
2014-09-28 13:48:41 -04:00
Michael DeHaan
4eb26c724b Merge pull request #9189 from nmadhok/patch-3
Update intro_configuration.rst
2014-09-28 13:47:11 -04:00
Michael DeHaan
f47c2768fe Merge pull request #9187 from nmadhok/patch-1
Update README.md
2014-09-28 13:45:54 -04:00
Michael DeHaan
0e552dbe32 Merge pull request #9188 from nmadhok/patch-2
Doc fix in intro_installation.rst
2014-09-28 13:44:58 -04:00
Michael DeHaan
c02e8d8c80 Don't search powershell modules unless using the winrm connection. 2014-09-28 12:17:03 -04:00
Michael DeHaan
3908d50b03 Tolerate no module search path. 2014-09-28 12:10:36 -04:00
Michael DeHaan
1b7f7aa597 Adding a stub for responding to new tickets that should be filed in the module repos. 2014-09-28 12:10:36 -04:00
Michael DeHaan
1d17881960 Add module search path to --version output. 2014-09-28 11:39:04 -04:00
Michael DeHaan
91c5890247 Add some helpful detection if core modules are not found for those running on the development branch. 2014-09-28 11:31:51 -04:00
Michael DeHaan
21c3784a43 If submodules are not found, don't error out. 2014-09-28 11:25:04 -04:00
Will Thames
952a36920c Cater for uninitialized submodules
Output a useful message if `git submodule update --init --recursive` not
yet performed

```
$ ansible --version
ansible 1.8 (submodule_ansible_version 59ae596484) last updated 2014/09/28 13:20:51 (GMT +1000)
  lib/ansible/modules/core: (detached HEAD 617a52b20d) last updated 2014/09/28 13:15:25 (GMT +1000)
  lib/ansible/modules/extras:  not found - use git submodule update --init lib/ansible/modules/extras
```
2014-09-28 11:25:04 -04:00
Will Thames
d1476aeb01 Updated version info to include submodule information
`ansible --version` etc. now include information about submodules

```
ansible 1.8 (submodule_ansible_version ffee9a8fe0) last updated 2014/09/28 11:03:14 (GMT +1000)
  lib/ansible/modules/core: (ec2_snapshot_remove 3a77c31ecb) last updated 2014/09/27 18:23:31 (GMT +1000)
  lib/ansible/modules/extras: (detached HEAD 110250d344) last updated 2014/09/27 14:33:42 (GMT +1000)
```

Also improved handling of detached HEAD when printing out version
information.
2014-09-28 11:25:04 -04:00
Michael DeHaan
4f44a8ab75 Merge pull request #9185 from willthames/submodule_install_docs
Updated installation instructions for submodules
2014-09-28 11:18:49 -04:00
Martin Ueding
dc750e6526 Fix link in reST template
There was a missing trailing underscore (`_`) that would have marked the
content in the backticks as a link. This adds it and fixes the link on
every core module page.
2014-09-28 15:27:08 +02:00
Nitin Madhok
f811a0f89a Update intro_configuration.rst 2014-09-28 08:30:35 -04:00
Nitin Madhok
88e08cb54d Doc fix in intro_installation.rst
Missing code block
2014-09-28 08:25:08 -04:00
Nitin Madhok
07287a2eaa Update README.md 2014-09-28 08:21:04 -04:00
Will Thames
3513c9adc1 Updated installation instructions for submodules
Added `--init --recursive` to installation instructions
as per @bcoca's suggestion on ansible-project mailing list
2014-09-28 10:15:05 +10:00
Bruno BAILLUET
a25da4af05 Add a new inventory parameter (ansible_sudo_exe) to specify sudo command path. 2014-09-27 17:39:49 +02:00
Michael DeHaan
ffee9a8fe0 Docsite formatting 2014-09-26 18:23:57 -04:00
Michael DeHaan
7e520c4574 Removing legacy test dir 2014-09-26 18:16:32 -04:00
Michael DeHaan
7f6ab89b5b hacking/env-setup no longer needs to set library since modules appear as git submodules. 2014-09-26 17:59:46 -04:00