Commit Graph

96530 Commits

Author SHA1 Message Date
rallytime
3f1c6a59a5
Remove support for virtual packages in the pkg state
Refs #47375 and #47396
2018-08-01 12:32:21 -04:00
Nicole Thomas
ea34688560
Merge pull request #48827 from rallytime/fluorine-deprecations-win_powercfg
Remove deprecation warning in win_powercfg module
2018-08-01 12:24:29 -04:00
Nicole Thomas
4b533d341e
Merge pull request #48823 from rallytime/fluorine-deprecations-nochown
Remove deprecation warnings for "no_chown" option
2018-08-01 12:23:56 -04:00
Nicole Thomas
87b72e0e45
Merge pull request #48837 from teselkin/check-file-recv-max-size-early
Check file_recv_max_size early
2018-08-01 10:22:29 -04:00
Nicole Thomas
48bcef9b58
Merge pull request #48688 from mirceaulinic/peeringdb-mod
A new execution module: PeeringDB
2018-08-01 10:10:48 -04:00
Nicole Thomas
fe22b3cd36
Merge pull request #48849 from mirceaulinic/napalm-wildcard
Add __virtual_aliases__ to some NAPALM modules, and allow wider availability
2018-08-01 10:06:34 -04:00
Dmitry Teselkin
f7e05b9ede
Merge branch 'develop' into check-file-recv-max-size-early 2018-08-01 08:33:25 +03:00
Nicole Thomas
12081f2ef3
Merge pull request #48815 from pengyao/salt_utils_http_parse_cookie_header
Fix parse_cookie_header function cookie name always None
2018-07-31 16:48:02 -04:00
Nicole Thomas
370f74070d
Merge pull request #48462 from babs/fix-issue-48461-state-git-identity
Fix git state identity lacking of user expansion #48461
2018-07-31 16:29:26 -04:00
Nicole Thomas
c4a3510517
Merge pull request #48615 from wagdav/dev-watchdog
Implement a cross platform file monitoring beacon
2018-07-31 16:28:23 -04:00
Nicole Thomas
7fddbeaa13
Merge pull request #48842 from alexvasiu/dev/avasiu/fix_adapter_mode
modules/nilrt_ip.py: Fix _get_adapter_mode
2018-07-31 15:16:40 -04:00
Nicole Thomas
232db0a967
Merge pull request #48733 from mirceaulinic/ciscoconfparse-mod
Add ciscoconfparse execution module for various text config mainipulations
2018-07-31 15:13:28 -04:00
Nicole Thomas
b3267b3366
Merge pull request #48821 from rallytime/fluorine-deprecations-cloud
[develop] Fluorine deprecations in cloud util (and related functions)
2018-07-31 15:04:00 -04:00
Mike Place
4b3b7db32d
Merge pull request #48850 from rallytime/kill-master-test
Skip tests in integration.shell.test_master
2018-07-31 12:44:23 -06:00
rallytime
65123e92d0
Skip tests in integration.shell.test_master
Related to https://github.com/saltstack/salt-jenkins/issues/378

This is likely causing all of the flakiness we're seeing on test runs
when the master stops responding.

These tests should be in their own, isolated run, rather than with
the rest of the test suite.
2018-07-31 14:39:48 -04:00
Dmitry Teselkin
984b993a6d
Merge branch 'develop' into check-file-recv-max-size-early 2018-07-31 21:30:12 +03:00
Dmitry Teselkin
b148f7c3ad Fix unittests #2 2018-07-31 21:28:07 +03:00
Mircea Ulinic
0a258f753f Add __virtual_aliases__ to some NAPALM modules, and allow wider availability 2018-07-31 17:55:25 +00:00
Mircea Ulinic
fc000b8577 Allow peeringdb.clean_kwargs to fail doc tests 2018-07-31 16:52:40 +00:00
Nicole Thomas
0eb622fc72
Merge branch 'develop' into salt_utils_http_parse_cookie_header 2018-07-31 12:26:02 -04:00
Nicole Thomas
f54a33c94d
Merge pull request #48833 from dmurphy18/solaris_df
Changed Solaris default for disk.usage to 1 K blocks
2018-07-31 12:02:08 -04:00
Nicole Thomas
1488a89983
Merge branch 'develop' into ciscoconfparse-mod 2018-07-31 11:40:00 -04:00
Nicole Thomas
9eb9e1af4a
Merge pull request #48841 from gtmanfred/lint
fix pylint for config module
2018-07-31 11:25:46 -04:00
Nicole Thomas
531955b279
Merge branch 'develop' into fluorine-deprecations-cloud 2018-07-31 11:07:01 -04:00
Alexandru Vasiu
3dd207ceb6 modules/nilrt_ip.py: Fix _get_adaptor_mode
The value returned by _load_config may have upper letters.

Signed-off-by: Alexandru Vasiu <alexandru.vasiu@ni.com>
2018-07-31 17:31:16 +03:00
Daniel Wallace
907c34d6eb
fix pylint for config module 2018-07-31 09:21:08 -05:00
Dmitry Teselkin
7795dd437f Fix unittests 2018-07-31 16:55:58 +03:00
Dmitry Teselkin
60b29d5e4d Fix style 2018-07-31 10:43:39 +03:00
Dmitry Teselkin
e7959fc6b9 Check file_recv_max_size early
Current behaviour of cp.push is that salt master checks file_recv_max_size
during file transfer process. Given that by default this limit is
about 100MB if we try to send 101MB then 100MB would be sent anyway,
and only after that master interrupts the transfer. Such useless
transfers should be avoided.

This commit adds additional field 'size' to 'load' structure that
minion sends to master, transfrerring file size in every message,
so that master can check the size recieving just the first chunk
of data, saving the queue bandwith.
2018-07-31 09:32:32 +03:00
David Murphy
2f3de8fa0a Changed Solaris default for disk.usage to 1 K blocks 2018-07-30 18:13:28 -06:00
Nicole Thomas
6500770fa9
Merge branch 'develop' into fluorine-deprecations-win_powercfg 2018-07-30 16:38:21 -04:00
David Wagner
182736372e Add tests for watchdog beacon. 2018-07-30 21:36:15 +02:00
David Wagner
5f3e3f4766 Add watchdog beacon for cross platform file monitoring.
Resolves #28135
2018-07-30 21:36:15 +02:00
rallytime
a89ecb00f6
Remove deprecation warning in win_powercfg module 2018-07-30 14:24:28 -04:00
rallytime
4a51ed6ccf
Remove deprecation warnings for "no_chown" option
The `no_chown` option in various functions was marked for removal in
Fluorine. This PR removes those warnings and updates the releaes notes
accordingly.

This PR also updates some of the Fluorine references in the zfs module
as the documentation can be more specific.
2018-07-30 13:24:38 -04:00
Nicole Thomas
05f5aab2d7
Merge pull request #48631 from gtmanfred/rfc
[RFC] add rfc for loader changes in Fluorine
2018-07-30 12:17:00 -04:00
rallytime
f46d4e0a26
[develop] Fluorine deprecations in cloud util (and related functions)
Since `Fluorine` was misspelled in a couple of places and subsequently fixed,
the removal of the `cache_nodes_ip` function was missed.

This PR removes the deprecated `cache_nodes_ip` function from salt.utils.cloud.

This PR also updates some of the warn_util versions to match the removal/support
warning message. The `warn_util` version was set to `Fluorine`, but the "will be
removed in version" message stated Sodium. Sodium is the correct version, so the
docs and warn_util versions have been corrected.
2018-07-30 11:46:13 -04:00
pengyao
8029ad45f0 Fix parse_cookie_header function cookie name always None
parse_cookie_header function is used when backend is tornado. But cookie
name is always None, because programe not set name correct value
2018-07-30 11:34:46 +08:00
Nicole Thomas
8c206a505d
Merge pull request #48800 from rallytime/merge-develop
[develop] Merge forward from 2018.3 to develop
2018-07-27 17:29:48 -04:00
Nicole Thomas
6fcc57c971
Merge pull request #48797 from rallytime/stale-config-update
Reduce the number of days an issue is stale by 10
2018-07-27 14:05:03 -04:00
Nicole Thomas
73ec7fbb24
Merge pull request #48617 from alexvasiu/dev/avasiu/add_ethercat_support
modules/nilrt_ip.py: Add EtherCAT Support
2018-07-27 14:01:43 -04:00
Nicole Thomas
ac5f5d4436
Merge pull request #48794 from rares-pop/dev/iepopr/fix-salt.utils.process-catch-keyerror
Fix salt.utils.process.py set_pidfile regression
2018-07-27 13:20:40 -04:00
Nicole Thomas
d6f59aab70
Merge pull request #48494 from rallytime/fix-40532
Deprecate 'master_shuffle' in favor of 'random_master'
2018-07-27 13:19:35 -04:00
rallytime
5a22d28c83
Merge branch '2018.3' into 'develop'
Conflicts:
  - salt/modules/state.py
  - salt/utils/http.py
  - tests/integration/modules/test_state.py
2018-07-27 11:53:34 -04:00
Alexandru Vasiu
354e664746 modules/nilrt_ip.py: Fix argument for function _load_config
Signed-off-by: Alexandru Vasiu <alexandru.vasiu@ni.com>
2018-07-27 17:07:56 +03:00
rallytime
13d0a7cea8
Reduce the number of days an issue is stale by 10 2018-07-27 09:43:20 -04:00
Nicole Thomas
5afd64ee85
Merge pull request #48736 from cbosdo/virt-running
Update existing VMs in virt.running
2018-07-27 09:33:58 -04:00
Nicole Thomas
fe66023cc2
Merge pull request #48681 from Arabus/add-config-items-function
Add query current minion config with config.items
2018-07-27 09:28:58 -04:00
Rares POP
1008d2717a
Fix salt.utils.process.py regression
Doing a pwd.getpwnam() will raise a KeyError
exception that is not catched anymore, after
a change that happened in 2012. Do catch that.

Signed-off-by: Rares POP <rares.pop@ni.com>
2018-07-27 16:03:02 +03:00
Cédric Bosdonnat
8f3f593dc1
Rename states/test_libvirt.py into states/test_virt.py
Modules test files are named after the module itself, the state virt
module needs to comply with that rule too.
2018-07-27 09:27:45 +02:00