Commit Graph

58276 Commits

Author SHA1 Message Date
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
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
Bo Maryniuk
f9bef516de Bugfix: broken "upgrade_available" and should always return dict. 2015-10-08 14:14:35 +02:00
Andreas Lutro
2597d13fc8 update code that changes log level of salt-ssh shim command
str.`decode("base64")` has been changed to `base64.b64decode`, but the code
that checks for `decode("base64")` has not been changed
2015-10-08 14:02:25 +02:00
Erik Johnson
2ae7ada3c9 Merge pull request #27741 from ticosax/docker.containers-filters
[dockerng] pass filters argument to dockerng.ps
2015-10-07 22:40:14 -05:00
Colton Myers
82a51cebde Merge pull request #27760 from basepi/merge-forward-2015.8
[2015.8] Merge forward from 2015.5 to 2015.8
2015-10-07 13:11:17 -06:00
Erik Johnson
d149095bb0 Merge git pillar data instead of using dict.update()
Resolves #27714.
2015-10-07 13:21:59 -05:00
Colton Myers
35425b14ad Merge remote-tracking branch 'upstream/2015.5' into merge-forward-2015.8
Conflicts:
    doc/man/salt-api.1
    doc/man/salt-call.1
    doc/man/salt-cloud.1
    doc/man/salt-cp.1
    doc/man/salt-key.1
    doc/man/salt-master.1
    doc/man/salt-minion.1
    doc/man/salt-run.1
    doc/man/salt-ssh.1
    doc/man/salt-syndic.1
    doc/man/salt-unity.1
    doc/man/salt.1
    doc/man/salt.7
    salt/modules/pip.py
    salt/states/user.py
2015-10-07 12:06:12 -06:00
Colton Myers
b2937b6a16 Merge pull request #27759 from basepi/merge-forward-2015.5
[2015.5] Merge forward from 2014.7 to 2015.5
2015-10-07 12:01:54 -06:00