Justin Findlay
cbb28492a3
modules.mac_power: add unit tests
2016-03-01 12:19:04 -07:00
Denys Havrysh
e7a8dbf498
Remove trailing white spaces in tests files
2016-03-01 17:40:02 +02:00
Denys Havrysh
776b2ea9a6
Remove trailing white spaces in files under salt/
dir
2016-03-01 17:38:39 +02:00
Denys Havrysh
fbfc3abccf
Remove trailing white spaces in files under pkg/
dir
2016-03-01 17:37:18 +02:00
Denys Havrysh
aebc48163d
Remove trailing white spaces in documentation files
2016-03-01 17:36:23 +02:00
Denys Havrysh
7eaf778695
Remove trailing white spaces in conf dir file
2016-03-01 17:35:34 +02:00
Mike Place
77d9aae8bb
Merge pull request #31568 from twangboy/fix_perms
...
Grant permissions using SID instead of name
2016-02-29 21:22:53 -07:00
Mike Place
7006a1eecf
Fix failed unit test
2016-02-29 21:15:43 -07:00
Mike Place
10cd328dda
Lint
2016-02-29 21:15:43 -07:00
Mike Place
174337d020
Restore FIPS compliance when using master_finger
...
Resolves #28585
2016-02-29 21:15:43 -07:00
Mike Place
ada5ab344d
Merge pull request #31561 from jtand/beacons_test_fix
...
Skipped test
2016-02-29 21:11:22 -07:00
twangboy
1f6a95694d
Grant permissions using SID instead of name
2016-02-29 18:09:31 -07:00
Mike Place
dbf6e0786c
Merge pull request #31558 from cachedout/ensure_ssh_installed
...
Don't stacktrace if ssh binary is not installed with salt-ssh
2016-02-29 15:15:44 -07:00
justinta89
196dd4db99
Skipped test
2016-02-29 14:21:19 -07:00
Nicole Thomas
658c1865ab
Merge pull request #31550 from rallytime/win_service-docs
...
Correct versionadded tag for win_service.config
2016-02-29 14:11:24 -07:00
Nicole Thomas
9bb9a54f8d
Merge pull request #31549 from rallytime/merge-2015.8
...
[2015.8] Merge forward from 2015.5 to 2015.8
2016-02-29 11:46:34 -07:00
Mike Place
cecc6e0a5f
Don't stacktrace if ssh binary is not installed with salt-ssh
2016-02-29 11:26:35 -07:00
rallytime
b683df9b82
Pylint fix
2016-02-29 11:12:55 -07:00
rallytime
51aa26334c
Correct versionadded tag for win_service.config
2016-02-29 10:53:10 -07:00
Mike Place
5a6aff1791
Merge pull request #31544 from DSRCompany/issues/29701_getattr_recursion_protection
...
Protect getattr from recursion
2016-02-29 10:48:15 -07:00
rallytime
24505d2dcf
Merge branch '2015.5' into '2015.8'
...
Conflicts:
- salt/client/ssh/state.py
- salt/fileclient.py
- salt/minion.py
2016-02-29 10:47:40 -07:00
Dmitry Kuzmenko
b7a45b8fae
Protect getattr from recursion
2016-02-29 19:59:28 +03:00
Mike Place
d5a4daa17b
Merge pull request #31525 from DSRCompany/issues/30643_merge_forward_fixes
...
Issues/30643 merge forward fixes
2016-02-29 09:08:46 -07:00
Mike Place
95af21325f
Merge pull request #31536 from virtrnd/remove-jessie-backports-from-raspbian-install
...
Remove debian repo from raspbian installation
2016-02-29 08:32:52 -07:00
Mike Place
060a60fd90
Merge pull request #31521 from terminalmage/issue24753
...
salt-ssh: Fix race condition when caching files to build the thin tarball
2016-02-29 08:32:22 -07:00
Mike Place
5965319600
Merge pull request #31528 from vutny/cloud-bootstrap-doc
...
Correct Salt Cloud documentation about updating Salt Bootstrap script
2016-02-29 08:30:59 -07:00
Mike Place
96c0926298
Merge pull request #31539 from DSRCompany/issues/31365_centos7_osrelease_fix
...
Added temporary workaround for CentOS 7 os-release id bug.
2016-02-29 08:30:34 -07:00
Mike Place
a0d8a226f1
Merge pull request #31523 from skizunov/develop2
...
Fix 'failover' mode when using salt-call
2016-02-29 08:02:50 -07:00
Dmitry Kuzmenko
a3b806d126
Added temporary workaround for CentOS 7 os-release id bug.
2016-02-29 17:16:23 +03:00
virtualguy
e48900ac55
Use python-tornado from jessie-backports for pure debian
2016-02-29 22:42:15 +13:00
Erik Johnson
0d352bbc16
Add fileclient tests
2016-02-29 01:05:33 -06:00
virtualguy
6e338e2601
Remove debian repo from raspbian installation
...
Binary packages from stock debain repo (http://httpredir.debian.org/debian ) are not armv6 compatible so should not be installed on raspberry pi version 1. Rasbian doesn't have jessie-backports so safer just to install python-tornado from stretch.
2016-02-29 19:20:51 +13:00
Denys Havrysh
f7beeb69f2
Correct Salt Cloud documentation about updating Salt Bootstrap script
2016-02-27 22:43:07 +02:00
Dmitry Kuzmenko
a50b33d96a
Don't fork in try with critical finally logic.
...
Fork executes finally section triple times.
2016-02-27 11:21:11 +03:00
Sergey Kizunov
877bc25381
Fix minion failover after disconnect
...
salt/minion.py:
- In the `__master_disconnected` case, it originally set
`self.opts['master']` to the result of `self.eval_master`. This
makes no sense since `self.eval_master` returns a future. Now we
yield on `self.eval_master` and store both return values.
- Just like in `Minion.destroy`, we clear `self.pub_channel.on_recv`.
Also, if `self.pub_channel` has a `close`, it is invoked. This
resolves a circular reference issue with the TCP transport. The
`SaltMessageClient` contains function references to the
`connect_callback` and `disconnect_callback` functions in
`AsyncTCPPubChannel`. This circular reference prevents the `del` from
deallocating the `AsyncTCPPubChannel` object.
salt/transport/tcp.py:
- In `SaltMessageClient.close`, reset the function references
`self.connect_callback` and `self.disconnect_callback`. This allows a
subsequent `del` on `AsyncTCPPubChannel` to actually deallocate the
object.
Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
2016-02-27 11:08:34 +03:00
Nicole Thomas
9edd79d811
Merge pull request #31519 from jfindlay/launch_virtual
...
launchctl, mac_assistive __virtual__: more LooseVersion, use osrelease
2016-02-26 16:40:59 -07:00
Sergey Kizunov
2cc0231584
Fix 'failover' mode when using salt-call
...
'failover' mode, among other things, was intended to be handled in
`SMinion.__init__`. Unfortunately, the original code simply had:
`self.eval_master(self.opts, failed=True)`
This will do nothing, since `self.eval_master` will return a future
and nothing actually runs that future (it isn't added to any IO loop,
just discarded). Now we synchronously invoke that future to make sure
that this logic is executed before code flow continues.
Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
2016-02-26 16:43:21 -06:00
Erik Johnson
d9370a8041
Update cp module salt-ssh wrapper to use new cachedir param
2016-02-26 16:07:47 -06:00
Erik Johnson
0320494b1d
Update the SSH state module wrappers to pass an alternate cachedir
2016-02-26 16:07:47 -06:00
Erik Johnson
65bdcb3afa
Accept and pass through the alternate cachedir when prepping the thin tar
2016-02-26 16:07:47 -06:00
Erik Johnson
c3f7a2f2e5
Add ability to specify an alternate base dir for file caching
...
This commit extends the fileclient such that it is possible to override
the base directory for file caching. The new "cachedir" param can be
either a relative path or an absolute path. If it is relative, the path
will be appended to __opts__['cachedir'], and if it is absolute then it
will take the place of __opts__['cachedir'].
2016-02-26 16:07:47 -06:00
Justin Findlay
afb96e9dcb
states.mac_assistive.__virtual__: use osrelease
2016-02-26 13:51:36 -07:00
Justin Findlay
22f6e5daab
modules.mac_assistive.__virtual__: use osrelease
2016-02-26 13:50:50 -07:00
Justin Findlay
e5e4995644
modules.launchctl.__virtual__: more LooseVersion
2016-02-26 13:47:35 -07:00
Mike Place
45d840845d
Merge pull request #31514 from rallytime/bp-31279
...
Back-port #31279 to 2016.3
2016-02-26 10:24:22 -07:00
Daniel Wallace
f2040f88ef
add pillars to extmods sync_all commands
...
So that we can use _pillar from the fileserver
2016-02-26 09:35:53 -07:00
Mike Place
95db870325
Merge pull request #31508 from mcalmer/zypper-correct-exit-code-checking
...
Zypper correct exit code checking
2016-02-26 08:21:23 -07:00
Mike Place
e51126179c
Merge pull request #31510 from vutny/debian-raspbian-install-guide
...
Add installation guide for Raspbian (Debian on Raspberry Pi)
2016-02-26 08:06:57 -07:00
Mike Place
92f8f89218
Merge pull request #31497 from rallytime/remove-timeout-dup
...
Remove duplicate "timeout" definition in Roster docs
2016-02-26 08:01:30 -07:00
Michael Calmer
66e8f6aa37
restructure the code a bit
2016-02-26 14:29:18 +01:00