Commit Graph

58296 Commits

Author SHA1 Message Date
C. R. Oldham
b5a19a9740 Enable syncing proxymodules from the master. Proxymodules can go in /srv/salt/_proxy. 2015-10-12 08:40:02 -06:00
C. R. Oldham
f878011543 Lint, and some parameter fixes to add proxy= to some overridden load_modules fns. 2015-10-12 08:40:02 -06:00
C. R. Oldham
22f035d8eb Remove debug statement 2015-10-12 08:39:19 -06:00
C. R. Oldham
4432499b45 More progress toward __proxy__ 2015-10-12 08:38:42 -06:00
C. R. Oldham
1a229c17b2 Further work on __proxy__ 2015-10-12 08:37:49 -06:00
C. R. Oldham
85fd6a41c7 One more check for presence of __proxy__ 2015-10-12 08:34:36 -06:00
C. R. Oldham
15e1d3e3df Forgot absolute_import. 2015-10-12 08:34:36 -06:00
C. R. Oldham
c5d9d54f19 Fix py3 lint 2015-10-12 08:34:36 -06:00
C. R. Oldham
dd50c33543 This module was accidentally overwriting core grains during tests. 2015-10-12 08:34:36 -06:00
C. R. Oldham
525256fa68 Some calls to highstate won't have __proxy__ in scope 2015-10-12 08:34:36 -06:00
C. R. Oldham
a615e5a876 what was I thinking? 2015-10-12 08:34:36 -06:00
C. R. Oldham
fae3f3ca83 Lint 2015-10-12 08:34:36 -06:00
C. R. Oldham
b049377cbe Remove rest_sample_test, it wasn't testing anything 2015-10-12 08:34:36 -06:00
C. R. Oldham
42188480d4 Fix comment 2015-10-12 08:34:36 -06:00
C. R. Oldham
4112c583e4 Oops, forgot temp var. 2015-10-12 08:34:36 -06:00
C. R. Oldham
e9b281041c More cleanup, found another spot where proxy needed to be passed to a load_modules. 2015-10-12 08:34:36 -06:00
C. R. Oldham
64f967d731 __proxy__ is getting nuked somewhere 2015-10-12 08:34:36 -06:00
C. R. Oldham
bdffb9f57b Add config option so old-style proxymodules will keep loading 2015-10-12 08:34:36 -06:00
C. R. Oldham
b79b6a39dd Remove debug statement. 2015-10-12 08:34:36 -06:00
C. R. Oldham
02fc2d9323 Enable syncing proxymodules from the master. Proxymodules can go in /srv/salt/_proxy. 2015-10-12 08:34:36 -06:00
C. R. Oldham
72032650b8 Add __proxy__ to the list of builtins. 2015-10-12 08:34:36 -06:00
C. R. Oldham
db4c034596 Lint, and some parameter fixes to add proxy= to some overridden load_modules fns. 2015-10-12 08:34:36 -06:00
C. R. Oldham
1032ad28fc Remove debug statement 2015-10-12 08:34:36 -06:00
C. R. Oldham
c41e49d8e5 Make sure that the __proxy__ gets passed all the way into the state system. 2015-10-12 08:34:36 -06:00
C. R. Oldham
4a20d48b35 More progress toward __proxy__ 2015-10-12 08:34:36 -06:00
C. R. Oldham
d337f4329e Further work on __proxy__ 2015-10-12 08:34:36 -06:00
Flavio Castelli
fc8d296d72 Fix OS related grains on openSUSE and SUSE Linux Enterprise
Starting from openSUSE 13 and SUSE Linux Enterprise 12 the file
`/etc/os-release` is part of these distributions. Future releases are
also going to drop `/etc/SuSE-release`.

The presence of `/etc/os-release` prevents the execution of the code
parsing `/etc/SuSE-release`, leading to missing/wrong grains.

Without this code on a SLE12 SP1 machine salt would produce these
grains:
  * osrelease: 12
  * oselease_info: [12]
  * oscodename: x86_64

With this commit the following new grains are set:
  * lsb_distrib_codename: SUSE Linux Enterprise Server 12 SP1
  * lsb_distrib_release: 12.1

Moreover the following grains are properly set:
  * osrelease: 12.1
  * oselease_info: [12, 1]
  * os_codename: SUSE Linux Enterprise Server 12 SP1

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2015-10-12 11:15:06 +02:00
Nicolas Delaby
75f7a3ec55 Must be a string 2015-10-12 11:10:37 +02:00
Joseph Hall
286b08a0f5 Merge pull request #27849 from rallytime/fix-27821
Don't require a size parameter for proxmox profiles
2015-10-10 19:33:28 -06:00
Sven R. Kunze
144a743503 added docs strings to explain parameters 2015-10-10 16:55:18 -06:00
Aoreias
33936605a0 Sorted compare for alarm actions
Fix for boto_cloudwatch sometimes incorrectly returning a state change when a state is set with multiple alarm actions.
2015-10-10 16:52:57 -06:00
rallytime
1bf17c7d48 Don't require a size parameter for proxmox profiles
Fixes #27821
2015-10-10 16:45:51 -06:00
Justin Findlay
1c9708a457 reverse truth in python_shell documentation
Fixes #27804.
2015-10-09 14:48:50 -06:00
Justin Findlay
66c74e591e decode path before string ops in fileclient
Fixes #27789.
2015-10-09 13:04:02 -06:00
Colton Myers
4a69db27cd Merge pull request #27827 from techhat/spmfixes
Add additional error checking to SPM
2015-10-09 12:23:09 -06:00
Joseph Hall
ffc8df223b Add additional error checking to SPM 2015-10-09 10:28:08 -06:00
Seth House
9bc19ba7d2 Merge pull request #27826 from martinhoefling/fix-27825
Fixes #27825
2015-10-09 10:08:05 -06:00
Pedro Algarvio
1e2dede122 Merge pull request #27824 from techhat/azureerrors
Update Azure errors
2015-10-09 16:25:14 +01:00
Martin Hoefling
401e7de33d Fixes #27825 2015-10-09 17:24:49 +02:00
Joseph Hall
5b23ac7099 Update Azure errors 2015-10-09 08:44:10 -06:00
Nicole Thomas
ec35666ff2 Merge pull request #27795 from eguven/2015.8-postgres_user-group-change
better change reporting for postgres_user groups
2015-10-08 17:56:53 -06:00
Nicole Thomas
5420006209 Merge pull request #27799 from terminalmage/issue27703
Fix usage of identity file in git.latest
2015-10-08 17:36:19 -06:00
C. R. Oldham
0533a2b1dd Merge pull request #27717 from pass-by-value/proxy_beacon_example
Proxy beacon example
2015-10-08 16:58:49 -06:00
Erik Johnson
7f4366d42e Add CLI example
Also added a note clarifying that this function is not related to the
pillar/grains/mine cache clearing functions.
2015-10-08 17:31:45 -05:00
Erik Johnson
3952c66888 Change log message to reflect new runner function 2015-10-08 17:23:42 -05:00
Erik Johnson
c00ef718bf Add cache.clear_git_lock runner function 2015-10-08 17:22:25 -05:00
Erik Johnson
d7ca297f7b Add salt.fileserver.clear_lock()
This exposes the lock clearing logic used in salt.fileserver.Fileserver
so that it can be used in the cache runner.
2015-10-08 17:22:25 -05:00
Erik Johnson
947ed5f739 Clarify docstring 2015-10-08 17:22:25 -05:00
Nicolas Delaby
0eb1145856 Remove caching to prevent returning stale data from dockerng.ps
The list of containers might change any time, we should be able to
obtain the most recent informations.
2015-10-08 22:42:32 +02:00
Colton Myers
dd9dba8f59 Merge pull request #27793 from alprs/fix-salt_ssh_b64_log
update code that changes log level of salt-ssh shim command
2015-10-08 13:20:12 -06:00