Commit Graph

58540 Commits

Author SHA1 Message Date
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
Devon Stewart
a84bf18bc4 Empty string is falsy 2015-10-10 17:13:50 -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
Mike Place
7508a1c474 Merge pull request #27838 from basepi/fix.runner.highstate.outputter.27831
[2015.5] Fix highstate outputter for jobs.lookup_jid
2015-10-09 16:26:28 -06:00
Erik Johnson
8e09fbd6a3 Detect Manjaro Linux as Arch derivative
Fixes #27832.
2015-10-09 16:53:38 -05:00
Justin Findlay
1c9708a457 reverse truth in python_shell documentation
Fixes #27804.
2015-10-09 14:48:50 -06:00
Colton Myers
8ae9b66fd9 Don't pop 'outputter', we expect it further down
Also correctly wrap the output of orchestrate with 'data' key

This was put in as a fix for the orchestrate runner in #25521. However,
we just needed to wrap the return in 'data' to get it to be stripped
automatically. The lack of 'outputter' was causing us to not properly
strip the 'data' further down, and the highstate outputter would
subsequently barf.
2015-10-09 14:42:40 -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
d178315f93 Merge pull request #27791 from eguven/2015.5-postgres-user-groups-backport
2015.5 postgres_user groups backport
2015-10-08 17:59:08 -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
Erik Johnson
75d2b07b0c Pass user in calls to git.rev_parse 2015-10-08 10:44:45 -05:00
Erik Johnson
786786a245 Fix wrong argument name for _git_run() 2015-10-08 10:44:13 -05:00
Colton Myers
bccb74ffc5 Merge pull request #27761 from terminalmage/issue27714
Merge git pillar data instead of using dict.update()
2015-10-08 09:00:18 -06:00
Bo Maryniuk
36281f6b06 Bugfix: crash if no package specified on adding a lock 2015-10-08 16:07:05 +02:00
Bo Maryniuk
29806a1af9 Bugfix: crash if no package specified on removing lock 2015-10-08 16:06:50 +02:00
Bo Maryniuk
453a18ea15 Return an actual amount of removed locks. 2015-10-08 16:06:06 +02:00
Bo Maryniuk
eaa6af9898 Bugfix: sometimes error goes to the STDOUT instead of STDERR in the RPM 2015-10-08 15:13:29 +02:00
Eren Güven
ffffede412 better change reporting for postgres_user groups 2015-10-08 15:12:45 +02:00
Bo Maryniuk
350340dafa Bugfix: use boolean type instead of string "Yes" or "No" (NOTE: this was forgotten) 2015-10-08 15:08:32 +02:00
Bo Maryniuk
decb989eb4 Bugfix and refactor due to the crash on unknown package and incorrect return value 2015-10-08 15:02:22 +02:00
Bo Maryniuk
a6c285bd12 Initialization fix 2015-10-08 15:01:20 +02:00
Bo Maryniuk
510dedd29f Bugfix: newer Zypper includes also a version of installed package 2015-10-08 15:00:56 +02:00
Eren Güven
2caf1d21d6 fix test 2015-10-08 14:57:33 +02:00
Bo Maryniuk
f9bef516de Bugfix: broken "upgrade_available" and should always return dict. 2015-10-08 14:14:35 +02:00