Commit Graph

58540 Commits

Author SHA1 Message Date
Daniel Hahler
58af4d68f0 gitfs: remove unused variable "bad_per_remote_conf"
According to `git log` it was never used.
2015-10-01 13:10:09 +02:00
Daniel Hahler
e70cbda490 gitfs: fix UnboundLocalError for 'msg'
When using an invalid gitfs configuration parameter, the following error
happened:

    [CRITICAL] Invalid gitfs configuration parameter 'foo' in remote https://example.com/. Valid parameters are: base, mountpoint, root, ssl_verify, name.
    [ERROR   ] An un-handled exception was caught by salt's global exception handler:
    UnboundLocalError: local variable 'msg' referenced before assignment
    Traceback (most recent call last):
      File "/usr/bin/salt-call", line 11, in <module>
        salt_call()
      …
      File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 202, in __init__
        msg += (
    UnboundLocalError: local variable 'msg' referenced before assignment
2015-10-01 13:03:22 +02:00
Colton Myers
9805bdeddf Merge pull request #27585 from lyft/cron-fix
Fix undefined variable in cron state module
2015-09-30 23:05:57 -06:00
Justin Findlay
87d86e4b3e Merge pull request #27588 from jfindlay/2015.8
add autogenerated 2015.8.1 release notes
2015-09-30 22:52:31 -06:00
Justin Findlay
f2eb20f26b add autogenerated 2015.8.1 release notes 2015-09-30 22:51:36 -06:00
Justin Findlay
f7510baf33 Merge pull request #27584 from jacobhammons/release-notes
added changes list to 2015.8.1 release notes
2015-09-30 22:32:47 -06:00
Tom Williams
35b66e28a3 Merge remote-tracking branch 'upstream/2015.8' into boto_secgroup_add_vpc_name 2015-09-30 21:06:37 -04:00
Ryan Lane
5474666b61 Fix undefined variable in cron state module 2015-09-30 17:25:06 -07:00
Jacob Hammons
ee4a3b3549 added changes list for 2015.8.1 2015-09-30 16:58:53 -06:00
Justin Findlay
304dc68f7f Merge pull request #27582 from jfindlay/2015.5
add 2015.5.6 release notes
2015-09-30 16:33:48 -06:00
Tom Williams
cdd44e4128 Fixup zypper module
- expected return type of pkg.latest was changed without updating zypper module
- unchecked list deref fixed
- "zypper info -t" out-of-date status field format has changed
2015-09-30 18:33:10 -04:00
Justin Findlay
4f0d55cda6 add 2015.5.6 release notes 2015-09-30 16:29:57 -06:00
Joseph Hall
1a31b19f15 Merge pull request #27575 from rallytime/fix-27532
Don't report existing instances as running only if they're actually terminated in EC2
2015-09-30 16:17:24 -06:00
Tom Williams
6770f721f8 Add support for 'vpc_name' tag in boto_secgroup module and state 2015-09-30 18:13:32 -04:00
Colton Myers
bee78a4e5c Merge pull request #27573 from basepi/salt-ssh.grains.minion_opts.27290
[2015.8] Use the custom yaml serializer for minion_opts for salt-ssh
2015-09-30 15:16:22 -06:00
rallytime
d5956132ef Change boto_route53 region default to 'universal' to avoid problems with boto library
Fixes #27463
2015-09-30 15:12:57 -06:00
rallytime
57c6535fc2 Make sure message is the most accurate. Instance may be stopped or shutting down. 2015-09-30 14:27:07 -06:00
rallytime
da6b4b3604 Don't report existing instances as running only if they're actually terminated
Fixes #27532
2015-09-30 14:19:33 -06:00
Colton Myers
0785438b3f Use the custom yaml serializer for minion_opts for salt-ssh
Without this change, any OrderedDict instances in our minion_opts (in
this case from grains) would be serialized to a format that
yaml.safe_load couldn't load. Configuration parsing would error out.
2015-09-30 13:58:54 -06:00
Ethan Moore
ae09a0fb61 boto_vpc.get_subnet_association now returns a dict w/key of vpc_id, adding code to handle the dict now
fixes #27543
2015-09-30 19:45:31 +00:00
Colton Myers
a4a53ecff5 Merge pull request #27514 from clinta/2015.8-27326
Recent Versions of OpenSSL don't allow importing incomplete PEMs
2015-09-30 13:33:12 -06:00
Jacob Hammons
b59c03d20d regenerated man pages 2015-09-30 13:32:58 -06:00
jacobhammons
6cf0228adc Merge pull request #27564 from jacobhammons/man-pages
Man pages
2015-09-30 13:29:37 -06:00
Seth House
7ebe9acc44 Use getattr to fetch psutil.version_info
This was preventing the docs for this module from getting built. I'm not
sure how or if that can be mocked using our normal docs Mock() system.

It may be better to use Salt's loader to build the docs rather than
mocking imports. Needs experimentation...
2015-09-30 13:15:24 -06:00
Jacob Hammons
cc37dc1087 updated version in salt.7 2015-09-30 13:01:11 -06:00
Jacob Hammons
a9dcb23a13 regenerated man pages for 2015.8.1 2015-09-30 12:58:34 -06:00
Clint Armstrong
515e62bfa7 change "None" to empty string 2015-09-30 14:41:55 -04:00
Colton Myers
7201ce71e4 Merge pull request #27557 from jfindlay/mine_doc
add doc motivating mine vs grains
2015-09-30 11:49:46 -06:00
Justin Findlay
3727d79bad edit mine doc for style and markup 2015-09-30 11:40:22 -06:00
Justin Findlay
7e037a4666 add doc motivating mine vs grains
Fixes #27518.
2015-09-30 11:40:22 -06:00
Mike Place
fd11e0cd95 Merge pull request #27522 from twangboy/fix_26629
Removed dependency on powershell to restart salt-minion
2015-09-30 10:19:29 -06:00
Mike Place
59c3d5f93e Merge pull request #27515 from jfindlay/suse_fire
save iptables rules on SuSE
2015-09-30 10:09:42 -06:00
Mike Place
9b26357b19 Merge pull request #27509 from jfindlay/gluster_reason
tell the user why the gluster module does not work
2015-09-30 09:49:16 -06:00
C. R. Oldham
eb76531e96 Merge pull request #27550 from rallytime/cloud-logging
[2015.8] Clean up salt-cloud logging and make it more useful
2015-09-30 09:48:53 -06:00
Justin Findlay
5e9107b970 parse pkgng output in quiet mode for >= 1.6.0
Fixes #27501.
2015-09-30 09:21:38 -06:00
Mike Place
1f7ea7c764 Merge pull request #27517 from jacobhammons/install-docs
Updated install docs
2015-09-30 09:19:51 -06:00
Mike Place
2a4c11ae24 Merge pull request #27526 from eliasp/2015.8-modules.slack_notify-doc-params
Add missing newlines before param listing to fix doc rendering
2015-09-30 09:19:04 -06:00
Nicole Thomas
e5de9409c2 Merge pull request #27525 from basepi/merge-forward-2015.8
[2015.8] Merge forward from 2015.5 to 2015.8
2015-09-29 21:38:22 -06:00
rallytime
9e0fccd543 Don't commit private-ip changes from testing another bug... 2015-09-29 21:28:59 -06:00
rallytime
78c85fbb31 Add unit tests for new recursive function 2015-09-29 21:25:47 -06:00
Colton Myers
989733ea86 Merge pull request #27379 from jfindlay/pip_vars
document and check dict type for pip env_vars
2015-09-29 20:56:52 -06:00
rallytime
d9a2dc6bc5 [2015.8] Clean up salt-cloud logging and make it more useful 2015-09-29 19:38:38 -06:00
Colton Myers
1f3eb1c526 Remove useless mocked unit test 2015-09-29 18:23:46 -06:00
Justin Findlay
aee51ffdef document and check dict type for pip env_vars
Fixes #27372.
2015-09-29 16:05:23 -06:00
Elias Probst
204e66943f Add missing newlines before param listing to fix doc rendering 2015-09-29 23:33:49 +02:00
twangboy
163c54505d Fixed tests... hopefully 2015-09-29 15:28:23 -06:00
twangboy
dc8c01ed07 Fixed some lint 2015-09-29 15:19:19 -06:00
Colton Myers
73b90f155e Merge remote-tracking branch 'upstream/2015.5' into merge-forward-2015.8
Conflicts:
    doc/topics/cloud/gce.rst
    doc/topics/windows/windows-package-manager.rst
    salt/client/ssh/state.py
    salt/cloud/clouds/ec2.py
    salt/modules/defaults.py
    salt/modules/file.py
    salt/utils/cloud.py
2015-09-29 14:56:41 -06:00
Jacob Hammons
167fd2304e Fixed a duplicated link ID 2015-09-29 14:08:48 -06:00
twangboy
2cb0f12696 Removed dependency on powershell to restart salt-minion
Fixes: #26629

Used net stop && net start instead of a powershell command to restart the
salt-minion service.
2015-09-29 14:01:10 -06:00