Commit Graph

69614 Commits

Author SHA1 Message Date
Thomas S Hatch
f5ebcba21c restore whitespace 2016-05-19 17:01:19 -06:00
Thomas S Hatch
1d8b289db1 blast, put the try/except int he right place 2016-05-19 17:00:16 -06:00
Thomas S Hatch
081e6c5b83 maintain the fallabck because I am totally sick of this crap 2016-05-19 16:33:15 -06:00
Mike Place
755acfb97e Improve doc clarity for disable_modules documentation (#33379)
* Improve doc clarity for disable_modules documentation

* Additional clarification on blacklisted name
2016-05-19 16:31:41 -06:00
rallytime
35ad788470 Merge branch '2015.8' into '2016.3'
Conflicts:
  - conf/minion
  - doc/ref/configuration/minion.rst
  - salt/modules/boto_elb.py
  - salt/modules/sudo.py
  - salt/states/boto_elb.py
  - salt/transport/zeromq.py
2016-05-19 16:22:36 -06:00
rallytime
8ef7697806 Merge branch '2015.5' into '2015.8'
No conflicts.
2016-05-19 16:00:35 -06:00
Mike Place
2b5ad128bf Better YAML syntax error handling (#33375)
Closes #26574
2016-05-19 15:56:45 -06:00
Nicole Thomas
38fbcf865f Add note about name parameter in git_pillar docs (#33369)
Fixes #27737
2016-05-19 13:14:14 -07:00
Nicole Thomas
49251993ff Add win_pkg to list of modules that support "version" in pkg.installed (#33362)
Fixes #32913
2016-05-19 13:13:57 -07:00
Nicole Thomas
7a400a9499 Add note to docs about api settings for Hipchat API v2 (#33365)
Fixes #27779
2016-05-19 13:13:10 -07:00
jacobhammons
9f42882ed7 Merge pull request #33373 from jacobhammons/release-update-dev
revved latest to 2015.8.9
2016-05-19 14:11:28 -06:00
Jacob Hammons
c56d25cf02 revved latest to 2015.8.9, added note regarding Mint Linux to 2015.8.9 release notes 2016-05-19 14:10:27 -06:00
Denys Havrysh
37e1930b6e Add initscripts, SystemD service units and environment files for Debian (#32857) 2016-05-19 13:10:02 -07:00
jacobhammons
bb3e98cad2 Merge pull request #33372 from jacobhammons/release-update
revved 2015.8 branch to .9 in version selector
2016-05-19 14:05:35 -06:00
Jacob Hammons
5ce502160b revved 2015.8 branch to .9 in version selector 2016-05-19 14:04:26 -06:00
jacobhammons
80f52a658e Merge pull request #33370 from jacobhammons/2015.8.9
Update docs version to 2015.8.9
2016-05-19 13:59:15 -06:00
Nicole Thomas
3e5689abbf Merge pull request #33366 from rallytime/merge-2015.8
[2015.8] Merge forward from 2015.5 to 2015.8
2016-05-19 13:41:40 -06:00
Jacob Hammons
146b4df6be Updates docs version to 2015.8.9
Adds note regarding the os grain on Mint Linux
Adds an FAQ regarding grains that change due to upstream changes
2016-05-19 13:41:35 -06:00
Mike Place
d5a3e309bf Event assert (#33262)
* Initial POC

* Allow the queue to fill by waiting for the lag in IPC

* Add docs

* Add run_tests

* Add reactor to tests
2016-05-19 13:41:23 -06:00
rallytime
52b3128678 Merge branch '2015.5' into '2015.8'
Conflicts:
  - salt/states/boto_elb.py
2016-05-19 12:32:14 -06:00
Erik Johnson
8b3497b129 Catch exception raised from invalid verify_options (#33317)
* Catch exception raised from invalid verify_options

This fails the state gracefully in these cases.

Refs: 6b97161293 (r63577507)

* Raise an exception when package verification fails

* Catch failed package verification commands

Also, since pkg.verify is run separately on each targeted package, don't
add errors for each failure, just add one error to what we report.

* Update rpm test_verify test to reflect change from cmd.run to cmd.run_all
2016-05-19 12:13:30 -06:00
Martin Paulus
b8aa008da1 states/file.prepend: fixes #32915 define file header verbatim, in inp… (#33270)
* states/file.prepend: fixes #32915 define file header verbatim, in input order

* states/file.prepend: add header kwarg documentation to docstring
2016-05-19 11:09:50 -07:00
Andreas Lutro
8abf303183 Add support for kapacitor 0.13 (#33352)
* add support for kapacitor 0.13

* update kapacitor tests
2016-05-19 11:03:03 -07:00
Nicole Thomas
f248003ac2 Remove mentions of windows not supporting pkgs param (#33361)
Fixes #33313
2016-05-19 11:02:47 -07:00
Nicole Thomas
4fdb097c01 Update job_cache and keep_jobs docs to be more specific to their behavior (#33328)
* Update job_cache and keep_jobs docs to be more specific to their behavior

Also fixed a bug discovered when investigating job_cache/keep_jobs functionality
where the jid directory and files were removed by the cache cleaner, but not the
original jid clash detection directory created in /var/cache/salt/master/jobs/.

Fixes #29286

* Add testcase for the changes in the local_cache.clean_old_jobs func

* Mark tests as destructive

* Put destructive test decorator in correct location
2016-05-19 09:32:32 -07:00
Rob Nagler
0a35106df9 verify_socket: show what interface:port is in error; DRY refactoring (#33320)
* verify_socket: show what interface:port is in error; DRY refactoring

* indexes format strings
2016-05-19 09:23:58 -07:00
Eric Radman
9cd9cf65ea Eliminate dry-run false positives for files in /tmp (#33344)
cron.file() writes the crontab out to a temporary file before comparing
with the source. Asserting file ownership and permissions in this
context creates sometimes false positives.

This change does not affect highstate without test=True
2016-05-19 09:21:59 -07:00
Erik Johnson
2f06918dad Properly detect newer Linux Mint distros (#33359)
* Properly detect newer Linux Mint distros

LMDE 2 and Linux Mint 17.3 changed the DISTRIB_ID in /etc/lsb-release to
``LinuxMint``, breaking OS detection for these distros.

This commit fixes that by adding an entry to the OS_NAME_MAP in the core
grains.

* Remove LinuxMint os_family from aptpkg.py

It is no longer necessary as the distro is now detected properly, which
will lead to an os_family of Debian.
2016-05-19 09:04:04 -07:00
Alexey Dubkov
e30ad3b6bd refs#33348: fix ret status code for state.sls_id (#33349) 2016-05-19 09:00:36 -07:00
Mike Zupan
1c35e3e578 adding the () to make changes work (#33337)
without this change it won't ever show any changes
2016-05-19 08:52:09 -07:00
phistrom
55be0abf4d Expanded documentation for boto_elb state and module (#33341)
* Describes what happens when the CNAME parameter is given.

* Describes what the recognized attributes are for for ELBs.
2016-05-18 19:02:20 -06:00
Erik Johnson
d85096ce63 Fix UnboundLocalError in git.latest (#33340)
Resolves #32260.
2016-05-18 19:01:22 -06:00
phistrom
e602446d54 Describes parameters in register_instances function (#33339) 2016-05-18 19:00:56 -06:00
Nicole Thomas
5c29c65ff4 Fix some link errors in the test writing tutorial (#33347) 2016-05-18 18:57:50 -06:00
Mike Place
5528ccc552 Ponies! (#33346)
* Ponies!

* Docs

* Docs

* Highstate support

* Ponys are very linty
2016-05-18 18:57:13 -06:00
Joao Mesquita
31955cfc9b Add files map to fileserver cache event 2016-05-18 18:02:11 -03:00
Nicole Thomas
ea5ddaee6e Merge pull request #33336 from rallytime/merge-develop
[develop] Merge forward from 2016.3 to develop
2016-05-18 10:42:05 -06:00
Shane Lee
e532e5883c Fix network.managed for windows (#33312) 2016-05-18 09:40:06 -07:00
C. R. Oldham
11a25255ec Bp 28467 calm mine (#33327)
* make minion mine update behavior more configurable

* Add docs for mine_functions config var

* Remove config dup from mine config options

Refs #28467

* 2015.8 does not have _DFLT_MULTIPROCESSING_MODE

* This won't be in until 2015.8.10.
2016-05-18 09:37:41 -07:00
C. R. Oldham
d375c1fe37 Add docs for mine_functions config var (#33326)
* Add docs for mine_functions config var

* Note that mine_enabled essentially just doesn't add the mine
update function to the scheduler.
2016-05-18 09:32:06 -07:00
Justin Findlay
b897f2cba8 import ps from psutil_compat in beacons (#33334)
* beacons.network_info: import gate psutil

* beacons.ps: import gate psutil
2016-05-18 09:31:38 -07:00
Justin Findlay
089c1a2513 remove redundant, incorrect sudo_runas config documentation (#33318)
* remove sudo_runas documentation

`sudo_runas` was renamed to `sudo_user` and the documentation was not
updated accordingly.

* conf/minion: update sudo_user description

The description from sudo_runas was better.
2016-05-18 09:15:42 -07:00
Erik Johnson
1f7fda212b Disambiguate non-exact matches when checking if sysv service is enabled (#33324)
Fixes #33323
2016-05-18 09:10:02 -07:00
Mike Place
8c1f19a7e6 Allow concurrency mode in state runs if using sudo (#33325)
Closes #30130
2016-05-18 09:04:45 -07:00
Dmitry Kuzmenko
ed14ef22b2 Fix master hanging after a request from minion with removed key. (#33333)
* ZMQ monitor for MWorker connections.

* Reauth minion if the key was removed on the master side.
2016-05-18 09:02:49 -07:00
rallytime
7bf9f5d0f5 Merge branch '2016.3' into 'develop'
Conflicts:
  - doc/man/salt.7
  - doc/ref/executors/all/salt.executors.direct_call.rst
  - doc/ref/executors/all/salt.executors.splay.rst
  - doc/ref/executors/all/salt.executors.sudo.rst
  - salt/cloud/clouds/vultrpy.py
2016-05-18 09:40:48 -06:00
Nicole Thomas
98383de11c Merge pull request #33322 from rallytime/merge-2016.3
[2016.3] Merge forward from 2015.8 to 2016.3
2016-05-17 17:01:07 -06:00
rallytime
d66c992918 Don't merge-forward the change to salt/scripts.py 2016-05-17 14:11:34 -06:00
rallytime
779f31cc20 Merge branch '2015.8' into '2016.3'
Conflicts:
  - doc/ref/configuration/minion.rst
2016-05-17 13:41:19 -06:00
Nicole Thomas
daafa27b60 Cleanup comments in smbios.get output (fixes #33266) (#33306)
As also noted in https://github.com/saltstack/salt/issues/33266, sometimes `dmidecode` will output additional commentary text in strings:

```
root@n01:~# dmidecode -s system-manufacturer                                                                                                                                                                                        
# SMBIOS implementations newer than version 2.8 are not
# fully supported by this version of dmidecode.
Supermicro
```

This PR filters those out.
2016-05-17 13:31:41 -06:00