Commit Graph

61748 Commits

Author SHA1 Message Date
Erik Johnson
500d3ebbaa Add link to provider override docs to all group providers 2016-04-08 23:36:02 -05:00
Erik Johnson
83ca01f620 dd link to provider override docs to all shadow providers 2016-04-08 23:34:31 -05:00
Erik Johnson
c5fe38789d Add link to provider override docs to all user providers 2016-04-08 23:32:41 -05:00
Erik Johnson
5c1c1dda59 Add link to provider override docs to all service providers 2016-04-08 23:04:14 -05:00
Erik Johnson
736f2befc9 Add link to provider override docs to all package providers 2016-04-08 22:58:08 -05:00
Erik Johnson
f9306347cc Clarify the scope of the provider param in states. 2016-04-08 22:05:36 -05:00
Erik Johnson
af24c82ab0 Add documentation on virtual module provider overrides to the module docs 2016-04-08 22:01:14 -05:00
Erik Johnson
0bc6c97a63 Improve docstrings 2016-04-08 22:00:56 -05:00
Erik Johnson
1948920674 Add external ref to windows package manager docs 2016-04-08 22:00:06 -05:00
Erik Johnson
e7fa21438c Add new doc pages to toctree 2016-04-08 21:59:21 -05:00
Erik Johnson
f0de1236ec Move the tables of virtual modules to individual documentation pages 2016-04-08 21:58:11 -05:00
Nicole Thomas
7bf44aea72 Merge pull request #32450 from cachedout/issue_31738
Pass parser options into batch mode
2016-04-08 17:03:49 -06:00
Nicole Thomas
b29983529f Issue #28706: Fix state user.present behavior. (#32448)
- As mentionned in issue #28706, state user.present no longer remove
      user from groups if the keyword 'groups' with empty value '[]' is not
      explicitly set, salt will assume current groups are still wanted.
2016-04-08 16:32:26 -06:00
Nicole Thomas
cef33d5fad Argument name in docs should match actual arg name (#32445)
Fixes #31851
2016-04-08 16:00:27 -06:00
Mike Place
74d0fa06b4 Pass parser options into batch mode
Resolves #31738
2016-04-08 15:56:03 -06:00
Nicole Thomas
a36f9499fc Merge pull request #32432 from ticosax/fix-domainname-introspection
[dockerng] Fix Domainname introspection
2016-04-08 10:12:19 -06:00
Nicole Thomas
def911974c Merge pull request #32427 from rallytime/merge-2015.8
[2015.8] Merge forward from 2015.5 to 2015.8
2016-04-08 09:39:13 -06:00
Nicolas Delaby
505b5b0168 Fix Domainname introspection
Default value needs to be extracted from the container itself,
because dockerd set Domainname value when network_mode=host.
2016-04-08 11:02:05 +02:00
rallytime
9531ea6ef5 Merge branch '2015.5' into '2015.8'
Conflicts:
  - doc/topics/highavailability/index.rst
  - salt/loader.py
  - salt/modules/service.py
  - salt/states/cmd.py
  - tests/unit/states/cmd_test.py
2016-04-07 16:10:32 -06:00
Nicole Thomas
5bc8c326ce Merge pull request #32423 from jtand/glusterfs_test_fix
Update glusterfs_test to be inline with #32312
2016-04-07 15:53:03 -06:00
Nicole Thomas
c07e02bacb Merge pull request #32425 from cachedout/issue_31632
Fix salt-cloud paralell provisioning
2016-04-07 15:52:06 -06:00
Nicole Thomas
0809126d8e Merge #32293 with test fixes (#32418)
* Fix issue #11497

* Remove check for working directory presence in tests
2016-04-07 14:55:25 -06:00
Erik Johnson
bbd8260a42 Ignore Raspbian in service.py __virtual__ (#32421)
* Ignore Raspbian in service.py __virtual__

This prevents more than one execution module from trying to load as the
service virtual module.

Refs: #32413

* pack __salt__ before loading provider overrides

We can (and should) pack here since we're just packing a reference to the
object. __salt__ needs to be available when we're loading our provider
overrides

* Fix broken __salt__ dict in provider override

Using ret.items() here sets ``__salt__`` to its items (tuple containing
function name and reference), breaking usage of ``__salt__`` inside
overridden functions.
2016-04-07 14:54:38 -06:00
Mike Place
127c0829ee Fix salt-cloud paralell provisioning
Closes #31632
2016-04-07 14:50:35 -06:00
Justin Anderson
6f98bd50eb Update glusterfs_test to be inline with #32312 2016-04-07 14:38:21 -06:00
Andres Montalban
690addf0b4 FreeBSD supports packages in format java/openjdk7 so the prior commit broke that functionality. Check freebsd/pkg#1409 for more info. 2016-04-07 09:11:54 -06:00
Andres Montalban
51fb2ac4c7 FreeBSD supports packages in format java/openjdk7 so the prior commit broke that functionality. Check freebsd/pkg#1409 for more info. 2016-04-07 09:11:42 -06:00
Erik Johnson
709410ada3 Improve git_pillar documentation/logging
* Add note about different behavior of top file in git_pillar

* Make log entry for a missing pillar SLS file more accurate for git_pillar
2016-04-07 09:10:53 -06:00
Nicole Thomas
c53efc3349 Update master config docs 2016-04-07 09:10:19 -06:00
Erik Johnson
2cc054bbc0 Merge pull request #32323 from mcalmer/fix-ensure-installed-latest-with-attributes
fix sorting by latest version when called with an attribute
2016-04-07 01:24:35 -05:00
Nicole Thomas
a36866d7db Merge pull request #32399 from amontalban/2015.5
Backport to fix #28262 for 2015.5 as requested in PR #32376
2016-04-06 16:48:23 -06:00
Andres Montalban
e1ffbd615a Fixes saltstack/salt#28262 for 2015.5 branch 2016-04-06 19:03:28 -03:00
Erik Johnson
802580ee1a Merge pull request #32376 from amontalban/2015.8
Fixes saltstack/salt#28262
2016-04-06 15:30:10 -05:00
Bo Maryniuk
0d9a06b8c6 Cleaner deprecation process with decorators
* Add deprecation decorator scaffold

* Capture type error and unhandled exceptions while function calls

* Aware of the current and future version of deprecation

* Implement initially is_deprecated decorator

* Add an alias for the capitalization

* Fix capitalization easier way

* Remove an extra line

* Add successor name to the deprecation decorator.

* Granulate logging and error messages.

* Implement function swapper

* Raise later the caught exception

* Clarify exception message

* Save function original name

* Remove an extra line

* Hide an alternative hidden function name in the error message, preserving the error itself

* Rename variable as private

* Add a method to detect if a function is using its previous version

* Message to the log and/or raise an exception accordingly to the status of used function

* Log an error along with the exception

* Add internal method documentation

* Add documentation and usage process for decorator "is_deprecated"

* Add documentation and process usage for the decorator "with_deprecated"

* Hide private method name

* Fix PEP8, re-word the error message

* Deprecate basic uptime function

* Add initial decorator unit test

* Rename old/new functions, mock versions

* Move frequent data to the test setup

* Add logging on EOL exception

* Rename and document high to low version test on is_deprecated

* Implement a test on low to high version of is_deprecated decorator

* Add a correction to the test description

* Remove a dead code

* Implement a test for high to low version on is_deprecated, using with_successor param

* Correct typso adn mistaeks

* Implement high to low version with successor param on is_deprecated

* Setup a virtual name for the module

* Implement test for with_deprecated should raise an exception if same deprecated function not found

* Implement test for with_deprecated an old function is picked up if configured

* Correct test description purpose

* Implement test with_deprecated when no deprecation is requested

* Add logging test to the configured deprecation request

* Add logging testing when deprecated version wasn't requested

* Implement test EOL for with_deprecated decorator

* Correct test explanation

* Rename the test

* Implement with_deprecated no EOL, deprecated other function name

* Implement with_deprecated, deprecated other function name, EOL reached

* Add test description for the with_deprecated + with_name + EOL

* Fix confusing test names

* Add logging test to the is_deprecated decorator when function as not found.

* Add more test point to each test, remove empty lines

* Bugfix: at certain conditions a wrong alias name is reported to the log

* Fix a typo in a comment

* Add test for the logging

* Disable a pylint: None will _never_ be raised

* Fix test for the deprecated "status.uptime" version

* Bugfix: Do not yank raised exceptions

* Remove unnecessary decorator

* Add test for the new uptime

* Add test for the new uptime fails when /proc/uptime does not exists

* Rename old test case

* Skip test for the UTC time, unless freeze time is used.

* Fix pylint

* Fix documentation

* Bugfix: proxy-pass the docstring of the decorated function

* Lint fix
2016-04-06 12:55:45 -06:00
rkgrunt
6979fdaa5f Correcty index glusterfs bricks
Fixes issue #32311
2016-04-06 12:48:20 -06:00
Mike Place
ad77d76cad Merge pull request #32393 from jfindlay/win_zone
modules.win_timezone: don't list all zones in debug log
2016-04-06 12:10:43 -06:00
Justin Findlay
c01c1b9da2 modules.win_timezone: don't list all zones in debug log 2016-04-06 10:46:52 -06:00
Nicole Thomas
76ae95863d Merge pull request #32372 from rallytime/bp-32358
Back-port #32358 to 2015.8
2016-04-06 10:35:05 -06:00
Nicole Thomas
c612baa119 Merge pull request #32392 from multani/2015.8
Fix documentation on boto_asg and boto_elb modules and states
2016-04-06 10:34:35 -06:00
Jonathan Ballet
77c4772752 Fix documentation on boto_asg and boto_elb modules and states 2016-04-06 18:16:13 +02:00
Nicole Thomas
b706d3aa4d Merge pull request #32373 from cachedout/issue_32201
Resolve memory leak in authentication
2016-04-06 09:19:55 -06:00
Mike Place
3f03c5fcf9 Merge pull request #32374 from cachedout/issue_32066
Update proxmox documentation
2016-04-05 16:25:16 -06:00
Mike Place
62389d1d1a Update proxmox documentation 2016-04-05 16:24:26 -06:00
Arthur Lutz
95e0fe7744 outputter virt_list does not exist anymore 2016-04-05 16:03:56 -06:00
Mike Place
d9e4a0f372 Resolve memory leak in authentication 2016-04-05 15:55:55 -06:00
Andres Montalban
823d0c362b Fixes saltstack/salt#28262 2016-04-05 18:31:58 -03:00
Nicole Thomas
097aa7ccfc Merge pull request #32126 from cro/outputter_terse_docs
Add a couple CLI examples for the highstate outputter.
2016-04-05 11:23:29 -06:00
Mike Place
eab3b99be2 Merge pull request #32353 from mcalmer/prevent-refresh-on-list-installed-products
Prevent metadata download when listing installed products
2016-04-05 11:02:15 -06:00
Mike Place
64abec94e7 Merge pull request #32321 from abednarik/minion_start_fail_log
Better message when minion fail to start
2016-04-05 10:28:06 -06:00
Nicole Thomas
59aca733ea Merge pull request #32345 from nmadhok/patch-4
[2015.8] Check if profile key exists in vm_ dict
2016-04-05 10:16:35 -06:00