Commit Graph

55807 Commits

Author SHA1 Message Date
Colton Myers
12b8fd05d0 Merge pull request #25588 from basepi/salt.ssh.retcode.25401
Fix some of the retcode work from #23105
2015-07-21 13:22:33 -06:00
Colton Myers
adbdfa9821 Don't use the opts_pkg retcode for all wfuncs
Basically, we were taking the retcode from opts_pkg calls and then
returning it as the retcode for the wfunc call. This is misleading as
opts_pkg is usually successful. I also think it was the only piece of
code utilizing the line I removed in 439a2799ce
2015-07-21 11:42:57 -06:00
Thomas S Hatch
bb6974a9aa Merge pull request #25583 from jtand/softlayer_lint
Fixed lint error where pprint wasn't imported.
2015-07-21 11:36:36 -06:00
Colton Myers
439a2799ce Remove retcode from code where it (probably) doesn't matter
The FunctionWrapper class is primarily used for cross-calling modules
from wfuncs and templating. Inserting the retcode there is probably not
helpful (it likely won't bubble through, because most calling contexts
won't look for it), and plus, we're assuming the return type is a dict
here, which is often not the case. I think this line was added
erroneously.

@ngrennan-inflection Could you look at this please? Curious about your
thoughts, and whether you tested that this specific line was actually
helping your new retcode-handling code.
2015-07-21 11:27:04 -06:00
Colton Myers
ef936c7520 Handle hosts which don't return a dict
The `ret` datastructure sometimes looked like this:

{'basepi02': "Target 'basepi02' did not return any data, probably due to an error."}

Return information is not a dict, handle that case, assume it's an error
2015-07-21 11:17:53 -06:00
Thomas S Hatch
ff2a817c9c Merge pull request #25572 from rallytime/bp-25570
Back-port #25570 to 2015.8
2015-07-21 11:06:40 -06:00
Thomas S Hatch
760955c93d Merge pull request #25575 from rallytime/scaleway_fix
Make Sure Scaleway driver works with deprecation paths
2015-07-21 11:06:19 -06:00
justinta89
fb27f5dd86 Removed pprint all together 2015-07-21 10:29:32 -06:00
Colton Myers
cf317b461e Merge pull request #25564 from basepi/merge-forward-2015.8
[2015.8] Merge forward from 2015.5 to 2015.8
2015-07-21 09:43:54 -06:00
Colton Myers
0592c4aa0c Remove _prepare assignments 2015-07-21 09:43:16 -06:00
justinta89
82549271e6 Fixed lint error where pprint wasn't imported. 2015-07-21 09:42:56 -06:00
Nicole Thomas
469662650c Merge pull request #25566 from techhat/issue25475
Fix download process for SPM repo updates
2015-07-20 20:44:55 -06:00
Nicole Thomas
a8367967cc Merge pull request #25553 from techhat/softlayerbootstrap
Switch SoftLayer to salt.utils.cloud.bootstrap()
2015-07-20 16:45:10 -06:00
Nicole Thomas
439334233a Merge pull request #25552 from techhat/softlayerprices
Update pricing for SoftlayerHW
2015-07-20 16:44:11 -06:00
Nicole Thomas
0b29481a6a Merge pull request #25547 from techhat/parallelsbootstrap
Switch Parallels to salt.utils.cloud.bootstrap()
2015-07-20 16:43:47 -06:00
rallytime
b213049ee8 Pylint 2015-07-20 16:41:44 -06:00
rallytime
f9e5317284 Don't require a profile size for scaleway driver 2015-07-20 16:18:49 -06:00
rallytime
faabb30bb0 Don't stacktrace when provisioning instances with scaleway 2015-07-20 16:15:28 -06:00
rallytime
8ed562f4c9 Fix create function in OpenNebula driver 2015-07-20 16:09:42 -06:00
Joseph Hall
c19fdf1ad0 Fix download process for SPM repo updates 2015-07-20 14:08:11 -06:00
Colton Myers
76e468bc20 Merge remote-tracking branch 'upstream/2015.5' into merge-forward-2015.8
Conflicts:
    doc/topics/cloud/vmware.rst
    salt/cloud/clouds/digital_ocean_v2.py
    salt/cloud/clouds/vmware.py
    salt/daemons/flo/core.py
    salt/modules/hipchat.py
    salt/modules/lxc.py
    salt/modules/rabbitmq.py
    salt/pillar/s3.py
    salt/states/dockerio.py
    salt/states/file.py
    salt/utils/process.py
    salt/utils/s3.py
2015-07-20 13:55:14 -06:00
Mike Place
c6f241d908 Merge pull request #25548 from techhat/proxmoxbootstrap
Switch Proxmox to salt.utils.cloud.bootstrap()
2015-07-20 13:29:24 -06:00
Colton Myers
2117ac8022 Merge pull request #25563 from basepi/merge-forward-2015.5
[2015.5] Merge forward from 2014.7 to 2015.5
2015-07-20 13:27:36 -06:00
Mike Place
2dc601c7fa Merge pull request #25543 from techhat/gcebootstrap
Switch GCE to salt.utils.cloud.bootstrap()
2015-07-20 13:27:29 -06:00
Colton Myers
3bf2f1a722 Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.5
Conflicts:
    salt/minion.py
2015-07-20 13:26:44 -06:00
Joseph Hall
b23cfaa11b Set default to 1800 as per @underscorephil 2015-07-20 13:08:15 -06:00
Nicole Thomas
2240d84a0b Merge pull request #25546 from techhat/cloudstackbootstrap
Switch CloudStack to salt.utils.cloud.bootstrap()
2015-07-20 11:51:35 -06:00
Mike Place
50c257b1d5 Merge pull request #25559 from cachedout/lint_win_pkg
Lint win_pkg
2015-07-20 11:46:29 -06:00
Mike Place
53a00add99 Lint win_pkg 2015-07-20 11:45:57 -06:00
Mike Place
7c7015ccda Merge pull request #25556 from attiasr/patch-1
fix for #25532
2015-07-20 11:45:11 -06:00
Mike Place
3c73dab2ce Merge pull request #25554 from jfindlay/verify_ssl
verify_ssl=True for s3 ext pillar
2015-07-20 11:43:38 -06:00
Mike Place
e3e2e6718e Merge pull request #25551 from rallytime/bp-25530
Backport #25530 to 2015.5
2015-07-20 11:43:00 -06:00
Mike Place
9a046e9e0e Merge pull request #25558 from cachedout/lint_config_test
Lint config_test
2015-07-20 11:19:05 -06:00
Mike Place
89d595f002 Lint config_test 2015-07-20 11:18:31 -06:00
Mike Place
25f910e472 Merge pull request #25515 from s0undt3ch/2015.8
salt.utils.schema fixes
2015-07-20 11:17:35 -06:00
Joseph Hall
dcdc4ef99d Linting 2015-07-20 10:55:03 -06:00
Rudy Attias
9b224e8d4e fix for #25532
fix for #25532, convert name_map keys to unicode to be able to compare it with the keys from _get_reg_software()
2015-07-20 19:14:24 +03:00
Justin Findlay
ca3ab4e737 verify_ssl=True for s3 ext pillar
Fixes #25538.
2015-07-20 09:43:59 -06:00
Joseph Hall
b799a80480 Linting 2015-07-20 09:42:55 -06:00
Joseph Hall
ae1cf65a99 Linting 2015-07-20 09:42:03 -06:00
Joseph Hall
d9863bad5d Switch SoftLayer to salt.utils.cloud.bootstrap() 2015-07-20 09:29:49 -06:00
Joseph Hall
d8cdf2ca30 Linting 2015-07-20 09:26:22 -06:00
Joseph Hall
cd7eb97877 Update pricing for SoftlayerHW 2015-07-20 09:24:05 -06:00
André Luiz dos Santos
df5003d7f9 The variable name must be last
From the manual page on FreeBSD 10.1:
sysrc [-cdDeFhinNqvx] [-f file] [-j jail | -R dir] name[=value] ...
sysrc [-cdDeFhinNqvx] [-f file] [-j jail | -R dir] -a | -A
2015-07-20 09:18:25 -06:00
Nicole Thomas
3e3441937f Merge pull request #25533 from attiasr/patch-2
port 445 for windows bootstraping
2015-07-20 09:13:06 -06:00
Mike Place
7fc051f56d Merge pull request #25525 from gtmanfred/2015.5
add make _prepare an alias for postinitio
2015-07-20 09:12:38 -06:00
Joseph Hall
725d1a40d0 Merge pull request #25519 from rallytime/backport_vmware
Backport vmware driver to 2015.5 branch
2015-07-20 09:11:26 -06:00
Nicole Thomas
2f0d695bc0 Merge pull request #25542 from Oro/fix-hipchat-v2-sendmessage
Fix hipchat.send_message when using API v2
2015-07-20 09:09:13 -06:00
Joseph Hall
1b325cfcae Linting 2015-07-20 08:49:24 -06:00
Joseph Hall
9f819f478f Switch Proxmox to salt.utils.cloud.bootstrap() 2015-07-20 08:47:54 -06:00