Commit Graph

88117 Commits

Author SHA1 Message Date
Roald Nefs
ac1a4d0817
Updated Telegram returner test
- Removed trailing newlines
2017-11-20 10:41:08 +01:00
Roald Nefs
47147e2769
Added new Telegram module
Added a new Telegram module, which allows to send a message via Telegram
using the Telegram Bot API. The commit also includes:
- Update for the Telegram returner (merged in #44148); the Telegram
returner now fully utilizes the Telegram module.
- Update to the documentation in order to add the Telegram module to the
list list of all modules.
- Updated Telegram returner test.
- New Telegram module test.
2017-11-20 08:47:57 +01:00
Mike Place
717dd8e549
Merge pull request #44591 from anitakrueger/add-feature-nexus
Adding nexus state and module including unit tests
2017-11-19 23:44:09 +00:00
Mike Place
f55b9daa63
Merge pull request #44596 from roaldnefs/fix-mattermost-doc
Fixed Mattermost module documentation
2017-11-19 23:30:52 +00:00
Roald Nefs
549f4806ce
Fixed documentation in Mattermost module
- Updated the code examples.
- Added extra whitspace where needed.
2017-11-19 19:45:21 +01:00
Jorge Schrauwen
409acc1b1b Also add tests for zpool.scrub 2017-11-19 12:16:29 +01:00
Jorge Schrauwen
64e0b45e51 Add tests for zpool.labelclear and zpool.split 2017-11-19 12:09:36 +01:00
Jorge Schrauwen
4829157d3d Switch from exists() to __salt__['zpool.exists']
To make writing testing easier, make internal calls to exists() use
the salt calling interface.
2017-11-19 12:03:31 +01:00
Jorge Schrauwen
97ac9d0793 The hint to use force is not stdout but also stderr, filter that out for labelclear 2017-11-19 11:03:04 +01:00
Jorge Schrauwen
217a268bdd Merge branch 'develop' into zpoolupdate 2017-11-19 10:15:12 +01:00
skjaro
766a1425fd
Merge branch 'develop' into ipset-add-new-options 2017-11-19 10:12:34 +01:00
Mike Place
601b94644c
Merge pull request #44585 from rallytime/followup-44416
Update new boto_kinesis.list_streams function
2017-11-18 18:42:36 +01:00
Mike Place
621283c9cf
Merge pull request #44587 from rallytime/stale-config-update
Reduce the number of days an issue is stale by 15
2017-11-18 18:40:34 +01:00
skjaro
f5dbab21ca Fix multiple spaces on entry options start 2017-11-18 18:36:46 +01:00
Anita Krueger
d3c4f6026b
Adding nexus state and module including unit tests 2017-11-18 15:31:37 +00:00
skjaro
361205d6c5 add new set types hash:mac and hash:ip,mark and create option skbinfo
Fixes state discarding options with entries
2017-11-17 22:43:07 +01:00
rallytime
cc99cb61b9
Reduce the number of days an issue is stale by 15 2017-11-17 15:31:48 -05:00
rallytime
0a38d4336e
Update new boto_kinesis.list_streams function
This is a follow up to PR #44416

This change just makes the new list_streams function comply with
Salt standards a little more nicely:

- variables should be at least 3 letters long
- don't use camelcase for variable names
- use code-block formatting for docs
2017-11-17 13:20:33 -05:00
Nicole Thomas
cada9cbf85
Merge pull request #44416 from bodhi-space/infra5854
INFRA-5854 - add list_streams to boto_kinesis exec module
2017-11-17 13:16:15 -05:00
Nicole Thomas
f84a2b5ab1
Merge pull request #44528 from bodhi-space/infra5978
INFRA-5978 - fix for https://github.com/saltstack/salt/issues/44290
2017-11-17 12:35:44 -05:00
Nicole Thomas
7f2dd0382c
Merge pull request #44537 from Ch3LL/ssh_highlow
Add multiple salt-ssh state integration tests
2017-11-17 12:17:47 -05:00
Nicole Thomas
c032439a0e
Merge pull request #44542 from lozzd/patch-1
Clarify error for compound command arguments
2017-11-17 12:13:16 -05:00
rallytime
d50b7e0062
Handle deprecation path for pki_dir in verify_env util
In PR #43474, a new option was added named "sensitive_dirs". This
option was intended to replace "pki_dir". However, we don't want to
drop support for pki_dir out from under people so we need to put
pki_dir on a deprecation path.

I have also moved the new sensitive_dirs option to the _end_ of the
list of kwargs. That way, if other users are using positional kwargs,
we won't break those references either. People will have time to adjust
their calls to verify_env when they see the warning.
2017-11-17 10:34:30 -05:00
Nicole Thomas
1975fb41bc
Merge pull request #44576 from rallytime/remove-napalm-logging
Remove logging from top of napalm util file
2017-11-17 09:55:12 -05:00
Gareth J. Greenaway
3d2f305053
Fixing expected test results. 2017-11-16 16:02:56 -08:00
Nicole Thomas
c2c3048f46
Merge pull request #44575 from Ch3LL/ser_run_test
Add service.running integration state test
2017-11-16 17:27:56 -05:00
Gareth J. Greenaway
2c937dc14e
Moving an if statement outside the for loop over the list of chunks. 2017-11-16 14:05:23 -08:00
Gareth J. Greenaway
0a70c673ac
Swapping out the code in call_listen to look in chunks to gather requisites instead of high, which is not always available when call_listen is called. 2017-11-16 13:26:53 -08:00
Gareth J. Greenaway
dea335e3d0
Adding state files used by new integration tests. 2017-11-16 13:26:53 -08:00
Gareth J. Greenaway
dceac5d430
Merge remote-tracking branch 'upstream/develop' into develop 2017-11-16 13:26:29 -08:00
Nicole Thomas
24b1d7af31
Merge pull request #44518 from twangboy/win_fix_verify_env
Pass root_dir to the win_verify_env function
2017-11-16 15:57:48 -05:00
Nicole Thomas
7c0398a8bd
Merge pull request #44500 from abhipallav/add-chocolatey-timeout
Add support for Chocolatey execution timeout
2017-11-16 15:54:24 -05:00
Nicole Thomas
0300c6be09
Merge pull request #44506 from gugu/develop
[kubernetes] Support for Bearer authentication
2017-11-16 15:53:29 -05:00
rallytime
eb91af999e
Remove logging from top of napalm util file
Logging should not be done anywhere in a file before a module is
loaded. This includes the `__virtual__()` function as well. This
is because these messages will be logged on every call to the loader,
which muddies the logs when the function(s) being called do not
need to use that particular module.
2017-11-16 15:36:53 -05:00
Ch3LL
7536150567
Add service.running integration state test 2017-11-16 14:12:59 -05:00
Gareth J. Greenaway
784cc7a85a
Merge remote-tracking branch 'upstream/develop' into develop 2017-11-16 09:53:04 -08:00
Ajit Abhipallav
c0eb189050
Add Chocolatey execution timeout support 2017-11-16 23:11:29 +05:30
comsul
f81bb61f2d
check_result: Correctly check the __extend__ state.
https://github.com/saltstack/salt/issues/42512

check_state_result() is expecting each highstate item to be a dict, but
states using extend are lists.

Conflicts:
  - salt/utils/state.py
2017-11-16 11:51:45 -05:00
Gareth J. Greenaway
d341e12d04
Adding a bit of code to allow using requisites without a module name. Account for using the name without the state module in the requisite. Adding the ability to specify options to the listen state parameter without specifying the state mdoule. Adding state files used by new integration tests. 2017-11-16 08:44:31 -08:00
Ch3LL
b98df6de24
Add known_hosts_file to salt-ssh opts_pkg in wfuncs 2017-11-16 11:10:21 -05:00
Nicole Thomas
1643bb7fd4
Merge pull request #44551 from cloudflare/annoying-tmpnam
Removes proxy minions false alarms and security risks
2017-11-16 10:09:13 -05:00
Nicole Thomas
2d0e3a77cc
Merge branch 'develop' into develop 2017-11-16 09:55:05 -05:00
Erik Johnson
0e87a90f8d
Merge pull request #44543 from rallytime/fix-groupadd-tests
Groupadd test gid_min/gid_max values should be ints
2017-11-16 06:36:22 -08:00
Andrii Kostenko
4eb3f65776
Support for Bearer authentication 2017-11-16 10:28:31 +02:00
Laurie Denness
f2b2c96e17
Merge branch 'develop' into patch-1 2017-11-15 13:59:26 -05:00
Ch3LL
913eedc699
Add multiple salt-ssh state integration tests 2017-11-15 11:41:28 -05:00
Daniel Wallace
5a8ba39dd7
Merge pull request #44052 from tylerjones4508/docker_util
Docker util
2017-11-15 08:51:11 -07:00
Mircea Ulinic
ce1882943d
Use salt.utils.files.mkstemp() instead 2017-11-15 15:14:58 +00:00
Mircea Ulinic
6689bd3b2d
Dont use dangerous os.tmpnam 2017-11-15 13:37:14 +00:00
Mircea Ulinic
2d6176b0bc
Fx2 proxy minion: clean return, like all the other modules 2017-11-15 13:37:08 +00:00