Commit Graph

58296 Commits

Author SHA1 Message Date
Julien Cigar
623935a1bc fix doc 2015-10-05 11:16:58 -06:00
Julien Cigar
573de3abd6 fix pylint issue 2015-10-05 11:16:58 -06:00
Julien Cigar
5eb6a30d40 fix pep8 issues 2015-10-05 11:16:58 -06:00
Julien Cigar
298cf4f5c0 import missing logging module 2015-10-05 11:16:58 -06:00
Julien Cigar
fe0ad36609 log was missing 2015-10-05 11:16:58 -06:00
Julien Cigar
e457083465 s/systemd/FreeBSD 2015-10-05 11:16:58 -06:00
Julien Cigar
3512712e89 forgot service name.. 2015-10-05 11:16:58 -06:00
Julien Cigar
8f193a7bcc fixes #27505 2015-10-05 11:16:58 -06:00
Nicole Thomas
4d7be3f972 Merge pull request #27651 from eliasp/2015.8-cloud.clouds.ec2-check-for-subnetId-before-using-it
Check for existence of 'subnetId' key in subnet dict
2015-10-05 11:01:33 -06:00
C. R. Oldham
d9266505a7 Merge pull request #27639 from rallytime/fix-23370
Docement version added for new artifactory options
2015-10-05 11:01:21 -06:00
C. R. Oldham
ccbba8656b Merge pull request #27641 from rallytime/gate-psutil-diskusage
Gate the psutil import and add depends doc for diskusage beacon
2015-10-05 11:00:47 -06:00
Nicole Thomas
771e5136f1 Merge pull request #27677 from rallytime/bp-27675
Back-port #27675 to 2015.8
2015-10-05 09:47:34 -06:00
avinassh
bfa0acfbfe Fix a typo 2015-10-05 08:58:51 -06:00
Nicole Thomas
09183994f9 Merge pull request #27644 from rallytime/bp-27640
Back-port #27640 to 2015.5
2015-10-05 08:55:31 -06:00
Nicole Thomas
6bc5ddc561 Merge pull request #27637 from rallytime/bp-27604
Back-port #27604 to 2015.8
2015-10-05 08:54:59 -06:00
Nicole Thomas
905acc6229 Merge pull request #27657 from garethgreenaway/19291_pkg_state_latest_fix
Fix to pkg state module
2015-10-03 17:56:02 -06:00
Gareth J. Greenaway
c950527b24 When latest is passed in the state as the version to install, once the package is installed the state runs will fail. pkg.latest_version returned an empty string once the package is installed so we need to grab the installed version in that case to avoid passing an empty string to the pkg module in question. 2015-10-03 10:07:54 -07:00
Elias Probst
f21a763809
Check for existence of 'subnetId' key in subnet dict 2015-10-03 14:01:42 +02:00
Stephen Medina
a9063a9745 fix typo in default pillar path
I am a newb and this threw me off for a bit. Wanted to make it consistent with the rest of the doc.
2015-10-02 16:50:28 -06:00
rallytime
da2d93a3dd Gate the psutil import and add depends doc for diskusage beacon
Refs #26320
2015-10-02 15:59:16 -06:00
rallytime
6de99bd5b7 Docement version added for new artifactory options
Fixes #23370
2015-10-02 14:15:28 -06:00
Nicolas Delaby
7293ded2f6 fixup! Expose container_id in mine.get_docker 2015-10-02 21:34:51 +02:00
Thayne Harbaugh
3d2ee4297d Fix module path to SaltCacheError
* salt.exception.SaltCacheError => salt.exceptions.SaltCacheError
                                                    ^
2015-10-02 13:31:20 -06:00
Nicolas Delaby
9e56a7e9db Expose container_id in mine.get_docker
Because sometimes we should be able to perform additional introspection.
2015-10-02 21:30:33 +02:00
Mike Place
83ae6a1432 Merge pull request #27632 from rallytime/bp-27539
Back-port #27539 to 2015.8
2015-10-02 13:28:39 -06:00
Mike Place
888e9bdf5d Merge pull request #27633 from rallytime/bp-27559
Back-port #27559 to 2015.8
2015-10-02 13:22:07 -06:00
Joseph Hall
8b7da5e469 Merge pull request #27579 from rallytime/fix-27463
Change boto_route53 region default to 'universal' to avoid problems with boto library
2015-10-02 12:56:17 -06:00
Ethan Moore
3f03815ada rebasing 2015-10-02 09:53:59 -06:00
rallytime
2b0afd0230 Add versionadded to new path option 2015-10-02 09:51:06 -06:00
Ethan Moore
e54afed73a moving path kwarg to end of function definition
added back debug entries that I removed previously
2015-10-02 09:50:24 -06:00
Mike Place
27fcecccbe Merge pull request #27612 from rallytime/fix-27609
Fix GCE external_ip stacktraces in 2015.5
2015-10-02 09:42:20 -06:00
Nicole Thomas
ce4c64a2e3 Merge pull request #27581 from tkwilliams/boto_secgroup_add_vpc_name
Add support for 'vpc_name' tag in boto_secgroup module and state
2015-10-02 09:40:40 -06:00
Mike Place
fb6f6b9ce4 Merge pull request #27624 from eyj/fix_wait_for_sync
Wait for sync is not passed to boto_route53 state
2015-10-02 09:37:44 -06:00
Mike Place
eb59cb8d1c Merge pull request #27614 from blueyed/doc-minor
doc: minor fixes to doc and comments
2015-10-02 09:34:02 -06:00
Mike Place
61f8a6f39f Merge pull request #27627 from eyj/pr-instance-attribute
Fix crash in boto_asg.get_instances if the requested attribute is None
2015-10-02 09:33:32 -06:00
EYJ
03d7c6af3d Fix crash in boto_asg.get_instances if the requested attribute may be None 2015-10-02 15:34:38 +02:00
Nasenbaer
ed6a8c0aa6 Wait for sync is not passed to boto_route53 state 2015-10-02 15:16:31 +02:00
jacobhammons
764d70af79 Merge pull request #27616 from jacobhammons/win-repo-docs
Updated windows software repository docs
2015-10-01 23:04:37 -06:00
Jacob Hammons
1c8b32ce26 Updated windows software repository docs 2015-10-01 22:02:01 -06:00
Tom Williams
159cccf43f Faulty check logic around optional params 2015-10-01 22:52:36 -04:00
Tom Williams
84ab0bbd74 One last bug to squash. Seriously. It's the last one. Ever!
- fixed param vpc_id being passed where vpc_name was intended.
2015-10-01 22:12:19 -04:00
Tom Williams
002cbf5cde Grrr. Add back the import of SaltInvocationError that pylint wanted me to remove :) 2015-10-01 21:48:13 -04:00
Tom Williams
0671c0d8d9 Consolidate some redundant code - thanks @ryan-lane ! 2015-10-01 20:57:44 -04:00
Tom Williams
fae1199276 Followed @ryan-lane's suggestion to remove duplicated code from boto_vpc and instead call into that module 2015-10-01 20:11:50 -04:00
Daniel Hahler
98a8c0f055 doc: minor fixes to doc and comments 2015-10-02 01:18:32 +02:00
rallytime
8dc047dc18 If external_up is set to None, don't stacktrace, just use the private ip. 2015-10-01 16:37:17 -06:00
rallytime
2ebf790f9f [salt-cloud] gce: don't stacktrace if Ephemeral is given instead of ephemeral 2015-10-01 16:00:09 -06:00
Tom Williams
3a38a440b7 Merge remote-tracking branch 'upstream/2015.8' into boto_secgroup_add_vpc_name 2015-10-01 17:32:13 -04:00
Tom Williams
f7ef0bcd4c Fixups for picayune pylint pedantery :) 2015-10-01 16:29:57 -04:00
Daniel Hahler
b1442ac904 dockerng: handle None in container.Names
`Names` might be `None`, and would cause this error:

    [ERROR   ] An exception occurred in this state: Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1591, in call
        **cdata['kwargs'])
      File "/usr/lib/python2.7/dist-packages/salt/states/dockerng.py", line 1386, in running
        if name not in __salt__['dockerng.list_containers'](all=True):
      File "/usr/lib/python2.7/dist-packages/salt/modules/dockerng.py", line 2136, in list_containers
        for c_name in [x.lstrip('/') for x in item.get('Names', []) or []]:
    TypeError: 'NoneType' object is not iterable

    > /usr/lib/python2.7/dist-packages/salt/modules/dockerng.py(2136)list_containers()
       2135     for item in six.itervalues(ps_(all=kwargs.get('all', False))):
    -> 2136         for c_name in [x.lstrip('/') for x in item.get('Names', [])]:
       2137             ret.add(c_name)

    ipdb> item.get('Names') is None
    True
    ipdb> item
    {u'Status': u'Dead', u'Image': u'gliderlabs/logspout:v2', …
    u'Names': None, … }
2015-10-01 19:32:18 +02:00