Commit Graph

77965 Commits

Author SHA1 Message Date
Erik Johnson
d76f0380d0 add debug logging for batch vars 2017-02-01 00:05:21 -06:00
Erik Johnson
b4afea2a25 Don't fail test if data is empty
This keeps trimmed output from failing the test. We are still testing
with a specific module lower down in the test, so this doesn't reduce
our test coverage.
2017-02-01 00:05:21 -06:00
Erik Johnson
b3a5d549c1 Account for trimmed value in 'salt -d' output 2017-02-01 00:05:21 -06:00
Erik Johnson
909916c78e Run test_valid_docs in batches
This test fails often due to being trimmed, thanks to
salt.utils.dicttrim trimming values > max_event_size.

This commit changes this test so that it runs sys.doc twice, ensuring
that the return from sys.doc (for now) is not trimmed.
2017-02-01 00:05:05 -06:00
Brian Glogower
43a56d5d83 dockerng support for --device
https://github.com/saltstack/salt/issues/33971
2017-01-31 15:44:19 -08:00
Haris Okanovic
c5f832b9e3 system: Update hardware clock on date/time change
Update hardware clock so that date/time changes persist
through reboot.

Add hwclock check to system integration test. Bump tolerance
of _same_times() helper to account for longer run-time of set
operations. Updating hardware rtc's can take more than 2 seconds.

Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Reviewed-by: Sergey Kizunov <sergey.kizunov@ni.com>
Reviewed-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Reviewed-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
2017-01-31 17:40:40 -06:00
jak3kaj
cac0bec3f6 Update primary bonding option in rh_ip.py (#39069)
* Update rh_ip.py

Add support for the "primary" bonding option in active-backup, balancd-tlb and balance-alb type bonds for RH.  This is used to specify a preferred slave for the link.

Remove support for the balance-xor bond type, since it is not supported by the kernel.

Reference: https://www.kernel.org/doc/Documentation/networking/bonding.txt

"The primary option is only valid for active-backup(1), balance-tlb (5) and balance-alb (6) mode."

* Update rh_ip.py
2017-01-31 16:12:20 -07:00
jak3kaj
a0861f0701 Update primary bonding option in debian_ip.py (#39068)
* Update debian_ip.py

Add support for the "primary" bonding option in active-backup, balancd-tlb and balance-alb type bonds for Debian.  This is used to specify a preferred slave for the link.

Remove support for the balance-xor bond type, since it is not supported by the kernel.

Reference: https://www.kernel.org/doc/Documentation/networking/bonding.txt
	
"The primary option is only valid for active-backup(1), balance-tlb (5) and balance-alb (6) mode."

* Update debian_ip.py
2017-01-31 16:10:57 -07:00
Mike Place
f97397e1a9
Doc example 2017-01-31 15:36:58 -07:00
Mike Place
b92148c610
Add a function to list extmods 2017-01-31 15:35:04 -07:00
rallytime
b866427f59 Add a bunch of missing doc module references
Also added an index.rst file for executors, renamed the
azurearm.rst file (Was misspelled with "azureare"), and
removed the xbps-pkg.rst file since that is an invalid
reference.
2017-01-31 15:12:34 -07:00
Ronald van Zantvoort
3873c6be61 Remove commented-out debug lines 2017-01-31 22:09:07 +01:00
Bernhard M. Wiedemann
c2cef98747 Add salt-minion.sleep
for use with systemd to be installed in
/usr/lib/systemd/system-sleep/salt-minion.sleep

To avoid stale minion-master connections as described in
https://bugzilla.opensuse.org/show_bug.cgi?id=1018791
2017-01-31 22:04:04 +01:00
Mike Place
b01d99eaa8 Merge pull request #39007 from cloudflare/SALT-EXEC
New runner function: salt.execute
2017-01-31 14:02:57 -07:00
Mike Place
1ccb365945 Merge pull request #39002 from rallytime/fix-38111
Pass win_* options as kwargs when calling file.manage_file
2017-01-31 13:51:39 -07:00
Erik Johnson
bcee3d1ef6 Move fileclient tests to tests/integration/fileserver/fileclient_test.py (#39081)
Being in the root of tests/integration/, these were not being run in
jenkins and would only run if executed manually using the -n flag in
runtests.py.
2017-01-31 13:44:50 -07:00
Ethan Moore
c3aaa536f3 _in_range_inclusive class method incorrectly called isinstance 2017-01-31 20:40:41 +00:00
Ethan Moore
ce263f9372 set_computer_policy and set_user_policy call "set" by the original function name (set) instead of the aliased function name set_ 2017-01-31 20:39:56 +00:00
Ethan Moore
ff7d74bfb0 correct tool extension guid for user registry policies 2017-01-31 20:39:55 +00:00
Ethan Moore
08f0078ef3 spelling correction 2017-01-31 20:39:54 +00:00
Ethan Moore
5fc40485f7 add updating gpt.ini file when ADM template policies are modified (gpt.ini file must exist with proper data for ADM policies to apply) 2017-01-31 20:39:53 +00:00
Mike Place
a249a3490a Merge pull request #39031 from cloudflare/GRAINS-RUNNER
mine.update runner
2017-01-31 13:39:11 -07:00
Mike Place
882c5cc889 Merge pull request #39072 from Inveracity/patch-3
bugfix adding subnetwork option to gce
2017-01-31 13:38:11 -07:00
Mike Place
2f532ff9f8 Merge pull request #39080 from kraney/boto_lambda_envvar
Added Lambda environment variables support to boto_lambda modules/states
2017-01-31 13:20:40 -07:00
Mike Place
8a4d210959 Merge pull request #39079 from gtmanfred/2016.3
use_keystoneauth should default to False if not specified
2017-01-31 13:12:46 -07:00
Mike Place
9836d7dd29 Merge pull request #39076 from terminalmage/pr-38705
Re-submit PR #38705 against 2016.11 branch
2017-01-31 13:11:55 -07:00
Mike Place
9bdf2c1f08 Fix trailing whitespace 2017-01-31 12:39:35 -07:00
Mike Place
bdaa52ac4e Merge pull request #39043 from twangboy/develop
SaltTesting fixes for Windows
2017-01-31 12:27:39 -07:00
Mike Place
86b4b77bfe Merge pull request #39058 from sergeizv/fix-lvm-fullversion
Fix salt.modules.linux_lvm.fullversion
2017-01-31 12:01:12 -07:00
Winston Liu
c2d35d181f update botocore dependencies, skip if not met. 2017-01-31 10:49:34 -08:00
Winston Liu
01718e5802 function_present for boto_lambda state module now accepts Lambda Environment Variables. 2017-01-31 10:49:03 -08:00
Mike Place
721b245f90 Merge pull request #39066 from techhat/issue39051
127.0.0.0/8 is all loopback
2017-01-31 11:43:21 -07:00
Mike Place
c54d9f4e2a Merge pull request #39071 from sergeizv/fix-lvm-pvcreate
Fix modules.linux_lvm.pvcreate on existing LVM PVs
2017-01-31 11:36:53 -07:00
Mike Place
445a4d025b Additional newline to separate funcs
Needed for pylint
2017-01-31 11:30:38 -07:00
Mike Place
fd7911f65b Merge pull request #39073 from sergeizv/grammar-fixes-in-docstrings
Grammar fixes in docstrings
2017-01-31 11:25:26 -07:00
Mike Place
fa8053045b Merge pull request #39074 from sergeizv/remove-bad-comment
Remove bad comment
2017-01-31 11:23:15 -07:00
Daniel Wallace
bdd142b4eb use_keystoneauth should default to False if not specified 2017-01-31 12:14:40 -06:00
Nasenbaer
15db8d47ed Fix for #38704 archive extracted and dockerio states
Do not run file managed as state.single as this conflicts (and fails)
when additional state runs are already scheduled.
2017-01-31 11:51:04 -06:00
Erik Johnson
aa6bd51b6b Add Pillar Decryption info to Nitrogen release notes 2017-01-31 11:25:58 -06:00
Erik Johnson
18a58b2b63 Document pillar decryption feature in pillar docs 2017-01-31 11:25:58 -06:00
Erik Johnson
dec7cbf9c5 Add documentation on pillar decryption config items 2017-01-31 11:25:56 -06:00
Erik Johnson
894f365090 Update master config template with pillar decryption args 2017-01-31 11:24:09 -06:00
Erik Johnson
55f7dafad8 Decrypt pillar data at end of pillar compilation 2017-01-31 11:24:09 -06:00
Erik Johnson
d1fbdd7940 Add pillar_enc support to CLI pillar in pillar.items 2017-01-31 11:24:09 -06:00
Erik Johnson
8b979ab674 Rework minion-side pillar decryption for state subsystem 2017-01-31 11:24:09 -06:00
Erik Johnson
8c936666bf Add salt.utils.crypt 2017-01-31 11:24:09 -06:00
Erik Johnson
a34be54fc2 Add a new config option for list of available pillar decryption renderers
Also rename the option which specifies the default, to reduce confusion.
2017-01-31 11:24:09 -06:00
Erik Johnson
558c72f64a salt.utils: add default value for "default" in traversal funcs 2017-01-31 11:24:09 -06:00
Erik Johnson
322a9d84c2 Add new config params for pillar decryption 2017-01-31 11:24:04 -06:00
C. R. Oldham
fb9d884152 Add CLI Examples so tests will pass 2017-01-31 10:23:06 -07:00