Commit Graph

62304 Commits

Author SHA1 Message Date
rallytime
35696ad637 Pylint fix 2016-07-27 15:12:41 -06:00
Mike Place
f9fd6ddd8a Fixup #33875 2016-07-27 13:25:59 -06:00
Eu
56b1f6c651 Fix naive fileserver map diff algorithm
Naively comparing sorted dict keys does not guarantee that maps are equal. We
must compare mtimes for filenames in case keys are the same to make sure there
isnt a modified file.
2016-07-27 13:24:19 -06:00
Nicole Thomas
837bc6ba7d Merge pull request #34994 from rallytime/bp-34835
Back-port #34835 to 2015.8
2016-07-27 12:21:10 -06:00
Thomas S Hatch
9268a793de same thing for the mine in salt-ssh 2016-07-27 11:27:51 -06:00
Thomas S Hatch
3e11e19714 Fix the mine in salt ssh 2016-07-27 11:27:51 -06:00
Mike Place
b58c663d8d Merge pull request #34991 from cachedout/ssh_timeout
SSH timeout
2016-07-27 11:24:37 -06:00
Mike Place
5f8370ae8d Refine errors in client (#34976)
* Refine errors in client

Check for the existence of cache data

* Adjust tests for new return string
2016-07-27 11:05:31 -06:00
Mike Place
39cd8da399 Lint diff against salt-testing 2016-07-27 10:42:44 -06:00
Mike Place
443e5cdde2 Add timeout to ssh tests 2016-07-27 10:40:02 -06:00
Mike Place
a83cdf9339 Merge pull request #34831 from thatch45/recoverssh
If the thin does not match, then redeploy, don't error
2016-07-26 16:27:01 -06:00
Mike Place
ec8fc058d4 Master performance improvement (#34916)
Reduce unneeded call to ckminions from master pub. This should be a 2x improvement or so in pub times.
2016-07-25 09:52:46 -06:00
Mike Place
34dc2fd792 Merge pull request #34911 from cachedout/backport_34906
Backport #34906
2016-07-22 17:23:24 -06:00
Mike Place
8becec2f4f Backport #34906 2016-07-22 17:22:50 -06:00
Mike Place
6ccc27f697 Merge pull request #34898 from hrumph/list_upgrades_refresh
Stop multiple refreshes during call to pkg.list_upgrades
2016-07-22 16:28:42 -06:00
Michael Walton
acd4b1a23b Fixes #33620 2016-07-22 15:46:29 -04:00
Thomas S Hatch
5c13ee0e72 Merge pull request #34606 from isbm/isbm-config-reading-exit-2015.8
Bugfix: Exit on configuration read (backport)
2016-07-22 11:35:18 -06:00
Thomas S Hatch
fb223e1bd4 Invalidate the target cache very quickly (#34862) 2016-07-22 09:34:08 -06:00
Erik Johnson
1ca1367289 Fail git.latest states with uncommitted changes when force_reset=False (#34869)
* Add git.diff function

* Fail git.latest states with uncommitted changes when force_reset=False

Also, discard these changes when running the state if force_reset=True.

* Add integration test for case where there are uncommitted changes
2016-07-22 09:04:05 -06:00
Mike Place
4f4381e5b9 Merge pull request #34859 from cachedout/fix_wheel_test
Fix wheel test
2016-07-21 13:55:25 -06:00
Mike Place
b4be66dedf Fix wheel test
Fix random ordering bug
2016-07-21 13:54:32 -06:00
Mike Place
acc9e31c02 Merge pull request #34822 from thatch45/ssh_fixes
Fix salt-ssh state.high and state.low
2016-07-21 13:16:19 -06:00
Thomas S Hatch
5d91139bc9 Merge pull request #34847 from cachedout/pwall
Add an option to skip the verification of client_acl users
2016-07-21 11:55:55 -06:00
Mike Place
2c8298dc6e Profile logging 2016-07-21 09:54:52 -06:00
Mike Place
3affafa2e9 Add an option to skip the verification of client_acl users 2016-07-21 09:51:45 -06:00
Mike Place
07d1d36653 Merge pull request #34827 from thatch45/34691
fix beacon list to include all beacons being processed
2016-07-21 08:49:56 -06:00
Mike Place
b375720251 Merge pull request #34833 from rallytime/bp-28521
Back-port #28521 to 2015.8
2016-07-21 08:37:24 -06:00
Gleb Goncharov
e50a6783ce SPM: packaging doesn't work in Python 2.6. Fixed. 2016-07-20 15:02:08 -06:00
Nicole Thomas
042646582f Merge pull request #34823 from rallytime/bp-25276
Back-port #25276 to 2015.8
2016-07-20 14:56:04 -06:00
Thomas S Hatch
fa73041a49 If the thin does not match, then redeploy, don't error 2016-07-20 14:54:57 -06:00
Thomas S Hatch
6c35d88268 Fix #34648 (#34828) 2016-07-20 14:49:52 -06:00
Thomas S Hatch
1ccf35eca4 fix beacon list to include all beacons being processed 2016-07-20 12:57:33 -06:00
Jacob Hammons
a028796eff copy spm.1 man page during setup
Refs #25213
2016-07-20 12:21:08 -06:00
Thomas S Hatch
b5de492143 fix #34798 2016-07-20 12:13:24 -06:00
Thomas S Hatch
5ad6bd7307 fix #34796 2016-07-20 12:05:12 -06:00
Mike Place
98fa4a404e Merge pull request #34818 from jtand/mysql_state_integration_test_cleanup
Skip mysql state test if mysqladmin is not available
2016-07-20 10:10:35 -06:00
Justin Anderson
9abb6f91bb Skip mysql state test if mysqladmin is not available 2016-07-20 09:24:24 -06:00
Bo Maryniuk
5f5b802c0c Add option to master config reader on ignoring system exit for wrong configuration 2016-07-20 16:32:01 +02:00
Bo Maryniuk
6fc677f177 Ignore minion config errors everywhere but the minion itself 2016-07-20 16:32:01 +02:00
Bo Maryniuk
8699194647 Remove deprecation: BaseException.message deprecated as of 2.6 2016-07-20 16:32:01 +02:00
Bo Maryniuk
0e65cfec91 Fix lint: E8302 2016-07-20 16:32:01 +02:00
Bo Maryniuk
67faa56bf1 Use Salt default exit codes instead of hard-coded values 2016-07-20 16:32:01 +02:00
Bo Maryniuk
a84556e596 Exit immediately on configuration error 2016-07-20 16:32:01 +02:00
Bo Maryniuk
43d965907c Raise an exception on any found wrong configuration file 2016-07-20 16:32:01 +02:00
Bo Maryniuk
30ed728d05 Cover exception handling in the utils.parsers 2016-07-20 16:32:01 +02:00
Bo Maryniuk
5e8c0c6bdb Introduce configuration error exception 2016-07-20 16:32:01 +02:00
Mike Place
6636f2b449 Merge pull request #34803 from junovitch/issue_24744
salt/state.py: set `chunk['order'] = 0' with `order: first'; fixes #24744
2016-07-20 07:56:20 -06:00
Jason Unovitch
64c850410f salt/state.py: set chunk['order'] = 0' with order: first'; fixes #24744
Currently the `order: first' keyword executes later states without order
options. Consider a test case such as:

```SaltStack
sleep 1:
  cmd.run:
    - order: first
sleep 2:
  cmd.run
sleep 3:
  cmd.run
sleep 4:
  cmd.run:
    - order: last
```

The contents of each chunk dictionary at runtime show that the 'first' state
is not evaluated to 'first'.

{'name': 'sleep 4', 'state': 'cmd', '__id__': 'sleep 4', 'fun': 'run', '__env__': 'base', '__sls__': u'test', 'order': 1010100}
{'name': 'sleep 2', 'state': 'cmd', '__id__': 'sleep 2', 'fun': 'run', '__env__': 'base', '__sls__': u'test', 'order': 10000}
{'name': 'sleep 3', 'state': 'cmd', '__id__': 'sleep 3', 'fun': 'run', '__env__': 'base', '__sls__': u'test', 'order': 10001}
{'name': 'sleep 1', 'state': 'cmd', '__id__': 'sleep 1', 'fun': 'run', '__env__': 'base', '__sls__': u'test', 'order': 10100}
2016-07-19 21:17:40 -04:00
Mike Place
58021035a9 Merge pull request #34773 from randomed/mysql-returner-startup/2015.8
Bugfix: Startup states on minions are not being written to mysql returner
2016-07-19 06:39:53 -06:00
Dave Ye
0cd55eb7d7 Add jid=req handling for mysql returner. It should also store the return jid into the jid list table. 2016-07-19 15:41:23 +10:00