Commit Graph

63865 Commits

Author SHA1 Message Date
Jorge Schrauwen
1add204ead small tweaks to zfs.mount, implement zfs.unmount 2015-12-23 15:34:09 +00:00
Jorge Schrauwen
11b986e715 unit test for zfs.list 2015-12-23 15:20:51 +00:00
Jorge Schrauwen
3cbc6befbe update unit tests for zfs.mount 2015-12-23 15:14:45 +00:00
Jorge Schrauwen
8eb6e91149 implemented zfs.mount 2015-12-23 15:10:28 +00:00
Mike Place
a3410fdf41 Merge pull request #29966 from multani/fix/docs
Fix bigip state/module documentation + serializers documentation
2015-12-23 08:06:46 -07:00
Mike Place
c5bf333fe3 Merge pull request #29967 from mabsou/chocolatey-version-error
Solve Unable to determine Chocolatey Version error while executing ch…
2015-12-23 08:05:51 -07:00
Mike Place
c6b7e5a62a Merge pull request #29974 from abednarik/virtual_ret_esxi_module
modules.esxi: __virtual__ return err msg.
2015-12-23 08:02:59 -07:00
Mike Place
25fdc0471c Merge pull request #29975 from abednarik/virtual_ret_etcd_mod_module
modules.etcd_mod: __virtual__ return err msg.
2015-12-23 08:02:49 -07:00
abednarik
f09561b7df modules.etcd_mod: __virtual__ return err msg.
Updated message when return False if python etcd libraries are not available.
2015-12-23 10:58:14 -03:00
abednarik
b1a66ad6c4 modules.esxi: __virtual__ return err msg.
Updated message when return False if is not running in a proxy minion.
2015-12-23 10:53:59 -03:00
Mabsou
827a83411b Correcting lint error -> Trailing whitespaces 2015-12-23 14:42:14 +01:00
Mabsou
a4d52baa63 Merge branch 'develop' of https://github.com/saltstack/salt into chocolatey-version-error 2015-12-23 14:41:04 +01:00
Jorge Schrauwen
9fab0d0562 cleanup docs some more 2015-12-23 12:52:56 +00:00
Jorge Schrauwen
388f928851 unit test for zfs module should accept new output 2015-12-23 12:47:41 +00:00
Jorge Schrauwen
27ec5d7215 parse output for zfs.list, improve zfs.list to closer match the zfs list command 2015-12-23 12:30:56 +00:00
Jorge Schrauwen
0a461e03d2 imrpove zfs.create, zfs.destroy and zfs.rename 2015-12-23 11:42:05 +00:00
Mabsou
3e50fbbf67 Correcting lint error too many blank lines 2015-12-23 11:57:51 +01:00
Mabsou
ed425f9d48 Solve Unable to determine Chocolatey Version error while executing chocolatey.chocolatey_version 2015-12-23 11:23:49 +01:00
Jonathan Ballet
e6e36372a4 doc: fix documentation link for salt.serializers 2015-12-23 10:13:16 +01:00
Jonathan Ballet
23ef472a07 bigip: fix documentation formatting, remove warnings during doc building 2015-12-23 10:13:16 +01:00
mephi42
50f11c86a3 Tolerate unimplemented service.enabled in salt/states/service.py
This change makes service state work on unrecognized distros.
2015-12-23 08:02:44 +03:00
Seth House
75a95f5154 Add to Reactor docs to illustrate the end-goal and use with Orchestrate 2015-12-22 15:17:44 -07:00
Mike Place
8f8c8cedd0 Merge pull request #29904 from twangboy/osx_build
Improvements to osx packaging scripts
2015-12-22 14:40:23 -07:00
Mike Place
2826403a9e Merge pull request #29958 from abednarik/virtual_ret_softwareupdate_module
modules.softwareupdate: __virtual__ return err msg.
2015-12-22 14:39:57 -07:00
Jorge Schrauwen
95a1668bc1 fix type in test data 2015-12-22 21:21:07 +00:00
Seth House
028f000743 Update opening Reactor paragraph for conciseness
We're far removed from 0.11 now so the extra exposition is just noise.
2015-12-22 13:38:33 -07:00
Mike Place
ce60b91318 Merge pull request #29952 from herlo/develop
fixup mount.fstab to accommodate entries with the same name
2015-12-22 13:28:54 -07:00
Mike Place
e5c8028f8d Merge pull request #29953 from sjorge/doc-fixes
small doc fixes for salt.module.zpool, try to get docs for salt.module.fmadm and salt.states.zpool, and salt.states.smartos
2015-12-22 13:28:31 -07:00
Mike Place
5fcb63c417 Merge pull request #29955 from abednarik/virtual_ret_dockercompose_module
modules.dockercompose: __virtual__ return err msg.
2015-12-22 13:27:17 -07:00
Mike Place
64baee17bf Merge pull request #29956 from abednarik/virtual_ret_dsc_module
modules.dsc: __virtual__ return err msg.
2015-12-22 13:27:06 -07:00
abednarik
b9b799ec1d modules.softwareupdate: __virtual__ return err msg.
Updated message when return False if is not MacOS system.
2015-12-22 17:21:49 -03:00
twangboy
0be53953af Added function to download and check hashes, added hash files 2015-12-22 13:08:23 -07:00
Sergey Kizunov
94bb66f2f7 Fix more logger related memory leaks on Windows
Some observations have been made on Windows:
- Any process (besides the main process) that does not call
`salt.log.setup.setup_multiprocessing_logging()` will leak. The reason is
that because Windows doesn't copy process state when spawning processes,
each new process will have the temp null and temp queue log handlers
installed (the default state in `salt/log/setup.py` when initializing).
Those handlers just store stuff and hence will use much memory.
- It was obversed that for some of the classes, `register_after_fork()`
wouldn't work and so `salt.log.setup.setup_multiprocessing_logging()`
wouldn't be invoked causing leaks. However, for some of the classes,
`register_after_fork()` would work. After investigation, it was determined
that `register_after_fork()` worked only on processes that used
`__setstate__` / `__getstate__` and hence would invoke `__init__()` inside
the child process. Thus, `register_after_fork()` only seems to work on
Windows when invoked from within the child process, but not the parent
process, making it not very useful (since if we are in the child process,
we can invoke `salt.log.setup.setup_multiprocessing_logging()` directly).

The following changes have been made based on these observations:
- Try to make almost every process use or inherit from
`MultiprocessingProcess` so as to call
`salt.log.setup.setup_multiprocessing_logging()`.
- Processes that don't use or inherit from `MultiprocessingProcess` invoke
`salt.log.setup.setup_multiprocessing_logging()` themselves.
- Try to make every process that uses or inherits from
`MultiprocessingProcess` invoke `__init__` from the child process.
In order to accomplish this, all such processes use `__setstate__` and
`__getstate__`.
- When `multiprocessing.Process` is constructed via `__init__` in the child
process, certain features such as `is_alive()` and `ident()` don't work.
Thus we set `self._is_child = True` in each `__setstate__` to be able to
distinguish whether the `__init__` invocation is from the parent or child
process.

Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
2015-12-22 13:41:56 -06:00
abednarik
85757759ee modules.dsc: __virtual__ return err msg.
Updated message when return False if is not Windows or PowerShell version 3 or later
is not installed.
2015-12-22 16:37:44 -03:00
abednarik
3db17df42f modules.dockercompose: __virtual__ return err msg.
Updated message when return False if compose library is not installed.
2015-12-22 16:20:40 -03:00
Jorge Schrauwen
1294a1fa5c probably a good idea to actually add salt.states.zpool 2015-12-22 19:16:18 +00:00
Jorge Schrauwen
da80dea902 try to get state.states.smartos docs go be generated 2015-12-22 19:11:46 +00:00
Jorge Schrauwen
f5333ee2f8 salt.modules.fmadm still does not have docs generated, trying again 2015-12-22 19:08:22 +00:00
Jorge Schrauwen
7e1bd0e4c8 small doc improvement for salt.modules.zpool 2015-12-22 19:05:24 +00:00
Mike Place
9522bdf4a5 Merge pull request #29950 from multani/fix/states.boto_iam-delete-user
boto_iam: fix deletion of IAM users when using delete_keys=true
2015-12-22 11:43:07 -07:00
Clint Savage
4737ddbe13 fixup the mount.fstab to accommodate entries with the same name 2015-12-22 11:21:13 -07:00
Jonathan Ballet
516c8661f4 boto_iam: fix deletion of IAM users when using delete_keys=true 2015-12-22 18:54:04 +01:00
Mike Place
c851a2f08c Merge pull request #29939 from oldmantaiter/wildcard-eauth-matching
Add wildcard back into the eauth matching
2015-12-22 10:34:41 -07:00
Mike Place
be95d4d79a Merge pull request #29937 from multani/fix/states.boto_iam-group-users
Fix states.boto_iam group users
2015-12-22 10:33:02 -07:00
Mike Place
9f1ff0b2c9 Merge pull request #29944 from akissa/fix-mako-mixing-state-and-pillar-data
fix mako renderer mixing up state and pillar data
2015-12-22 10:32:12 -07:00
Mike Place
e0e91f42da Merge pull request #29945 from akissa/refactor-sqlcipher-config
refactor sqlcipher config as keys under pillar
2015-12-22 10:29:44 -07:00
Mike Place
4f2cc5eba7 Merge pull request #29934 from multani/fix/boto_iam
Fix state.boto_iam virtual name
2015-12-22 10:16:24 -07:00
Mike Place
7335fc3949 Merge pull request #29846 from thatch45/pillar_cross
Pillar cross call and exclude
2015-12-22 10:16:00 -07:00
Mike Place
b36302291d Merge pull request #29943 from cachedout/issue_29933
Check args correctly in boto_rds
2015-12-22 10:15:48 -07:00
Mike Place
400831c2b3 Merge pull request #29940 from dr4Ke/fix_file_line_diff
file.line: better diff
2015-12-22 10:14:40 -07:00