Commit graph

5517 commits

Author SHA1 Message Date
Luís Guilherme F. Pereira
cfda942376 Allow ec2_lc to create EC2-Classic Launch Configs
Removes default value from ec2_lc so it can create launch configurations valid on a EC2-Classic environment. AWS API will not accept a assign_public_ip when creating an ASG outside of VPC.
2015-01-06 09:30:44 -02:00
Jonathan Armani
f13e3c9147 Merge pull request #4 from eest/openbsd_rcctl
Handle string returned by 'default' correctly.
2014-12-31 14:32:12 +01:00
Philip Misiowiec
71d1044b8b Adds tenancy state to returning json 2014-12-31 00:45:57 -08:00
Philip Misiowiec
ad7f5abf28 Ability to detach an EBS volume from an EC2 instance 2014-12-30 23:17:49 -08:00
Toshio Kuratomi
0d551d8d24 Merge pull request #567 from FabioBatSilva/devel
handle list of lists - python-apt < 0.7.9 compatibility
2014-12-30 11:12:29 -08:00
fabios
9ed842e2d0 mark as upgradable and let apt-get install deal with it 2014-12-28 12:52:57 -05:00
fabios
b747d9411a improve fail message and use itertools chain 2014-12-28 12:52:57 -05:00
fabios
d19f7c7026 older python-apt compatibility 2014-12-28 12:52:57 -05:00
fabios
6fce4a9c3d handle list of list for python-apt < 0.7.9 compatibility 2014-12-28 12:52:57 -05:00
Toshio Kuratomi
f9574cc318 Merge pull request #571 from lorin/volumes-from
docker: fix volume[s]_from typo
2014-12-27 17:10:45 -08:00
Johnny Robeson
50011f13d6 [hostname] rename FedoraStratgy to SystemdStrategy 2014-12-26 00:02:36 -05:00
Lorin Hochstein
3665c92856 docker: fix volume[s]_from typo
Code makes reference to volume_from instead of volumes_from. If volumes_from is
passed as an argument, generates a KeyError.
2014-12-25 23:31:06 -05:00
Toshio Kuratomi
170457413d Cleanup the old apt compatibility changes 2014-12-25 00:25:02 -08:00
Toshio Kuratomi
8ce5720bb0 Merge pull request #564 from FabioBatSilva/devel
Fix compatibility issues with python-apt < 0.7.9
2014-12-24 23:49:02 -08:00
Toshio Kuratomi
925c9ab42d Merge pull request #561 from weitzj/bugfix/docker-extra-params
Fixes invalid dictionary access.
2014-12-24 14:58:57 -08:00
fabios
a08165ca2e use low-level apt_pkg.Package 2014-12-24 17:55:44 -05:00
FabioBatSilva
55b85ddc46 fix compatibility issues with python-apt < 0.7.9 2014-12-24 10:26:59 -05:00
Brian Coca
1e8abd2594 Merge pull request #562 from phips/fix_vsphere_folder
vsphere_guest fix for KeyError: folder message
2014-12-24 08:52:22 -05:00
Brian Coca
9d196f7b47 Merge pull request #535 from bcoca/revert_win_mods
Revert "Merge pull request #384
2014-12-24 08:42:02 -05:00
Mark Phillips
8ede9de895 vsphere_guest fix for KeyError: folder message 2014-12-24 12:39:48 +00:00
Jan Weitz
ebf9b8c6e2 Fixes invalid dictionary access. 2014-12-24 13:15:40 +01:00
Toshio Kuratomi
55b92a46db Merge pull request #560 from weitzj/bugfix/dockerpy-versioncheck
Fixes version check for docker-py
2014-12-23 19:34:14 -08:00
Jan Weitz
82601fdc54 Fixes version check for docker-py 2014-12-24 03:04:04 +01:00
Michael J. Schultz
b894bc2b77 Build the db connection on "postgres" instead of "template1"
According to the postgresql docs[1], you should not have a connection with
`"template1"` when copying multiple databases.

[1]: http://www.postgresql.org/docs/9.1/static/manage-ag-templatedbs.html
2014-12-23 14:16:29 -06:00
Brian Coca
a2c1daf00e Merge pull request #548 from mavit/solaris-user-groups
Fix appending to a user's group on Solaris, someone thought it was a list but it is really a set.
2014-12-23 13:52:32 -05:00
Brian Coca
62a53b1209 Merge pull request #541 from bcoca/cloudformation_china
update to use connect_to_region to avoid errors with china
2014-12-23 13:40:49 -05:00
Jeff Gonzalez
54214f83b5 Added ability to use url as key source 2014-12-22 18:22:31 -06:00
Toshio Kuratomi
8f6ae92cf8 git fetch --tags overwrites normal fetching with git < 1.8.x so do a normal fetch followed by using the refspec format for fetching tags 2014-12-22 15:08:25 -08:00
Toshio Kuratomi
8a03af6608 Fix typo in git refspec code. Change lists to tuples 2014-12-22 12:11:49 -08:00
Toshio Kuratomi
2cbe13a21d Merge pull request #371 from rohanpm/git_refspec
git: add 'refspec' argument
2014-12-22 11:31:12 -08:00
Brian Coca
0ab5682b87 Merge pull request #260 from willthames/aws_frankfurt
Added better region handling and enabled eu-central-1, leaving centralizing the list on these modules to a subsequent patch
2014-12-22 08:47:27 -05:00
Peter Oliver
18c429d016 Fix appending to a user's group on Solaris
Without this change, you get:
    AttributeError: 'set' object has no attribute 'extend'

Tested on a Solaris 11.2 client with the included Python 2.6.8.
2014-12-21 20:05:17 +00:00
Toshio Kuratomi
ee324fc3ad Make documentation clear about update=no vs clone=no 2014-12-19 08:55:41 -08:00
Chris Church
0a297e54ba Change version added in win_user docs to 1.9 for updates that didn't make it into 1.8. 2014-12-19 03:07:47 -05:00
Rohan McGovern
cf85047284 git: add 'refspec' argument
This argument may be used to fetch additional refs beyond the default
refs/heads/* and refs/tags/*.  Checking out GitHub pull requests or Gerrit
patch sets are two examples where this is useful.

Without this, specifying version=<sha1> with a SHA1 unreachable from any
tag or branch can't work.
2014-12-19 13:13:08 +10:00
Rohan McGovern
c242de1a39 git: clean up "fetch" method
De-duplicate repetitive code checking the exit code.

Include the stdout/stderr of the failed process in all cases.

Remove the returned values because no caller uses them.

Combine git commands where possible.  There is no need to fetch branches
and tags as two separate operations.
2014-12-19 13:13:08 +10:00
Toshio Kuratomi
c4f9366e91 Newstyle class 2014-12-18 13:43:55 -08:00
Toshio Kuratomi
f65d9ab793 Make insecure_registry feature version check against the client API 2014-12-18 12:45:13 -08:00
Maksim Losev
4172d445d3 Add insecure_registry to docker-py pull method
Starting from docker-py>=0.5.0 it is impossible to work with private registries based on HTTP.
So we need additional parameter to allow pull from insecure registry
Related to ansible/ansible#9111
2014-12-18 12:36:17 -08:00
Toshio Kuratomi
fa0fa9d221 Make docker ver checks issue failures rather than silently ignoring
Also:
* make client version checks robust for two digit version pieces and
  alpha versions
* consolidate version checking code
2014-12-18 11:23:44 -08:00
Toshio Kuratomi
5de8f11730 Merge pull request #199 from gottwald/docker-restart-policy
Add support for new docker restart policies
2014-12-18 08:05:44 -08:00
Ingo Gottwald
80d45c78a3 Add support for new docker restart policies 2014-12-18 10:27:53 +01:00
Brian Coca
d564569910 update to use connect_to_region to avoid errors with china 2014-12-17 19:55:54 -05:00
Brian Coca
8e5a849c66 Merge pull request #3 from atlashealth/ec2_vol_ssd_ebs
Ability to specify new SSD EBS option
2014-12-17 19:08:41 -05:00
Brian Coca
3ee8e2840f Merge pull request #6 from willthames/ec2_snapshot_remove
Added the ability to remove snapshots
2014-12-17 17:28:47 -05:00
Brian Coca
978204aaa2 Merge pull request #496 from haraldsk/devel
add support for stack policies in cloudformation
2014-12-17 16:46:56 -05:00
Toshio Kuratomi
dfe7f6c6d6 Probably would make clone a 1.9 feature rather than 1.8.3 2014-12-17 13:45:49 -08:00
Toshio Kuratomi
b650ad1671 Make git's update parameter revert to its old behaviour and add new clone parameter to take its place.
Fixes #426
Fixes https://github.com/ansible/ansible/issues/8630
2014-12-17 13:45:49 -08:00
Brian Coca
e39260d14c Merge pull request #531 from kalefranz/Issue529
fixes #529 ec2_group module bug
2014-12-17 16:44:06 -05:00
Brian Coca
a942e5f853 Revert "Merge pull request #384 from jhawkesworth/win_copy_file_template_ansible_modules_core_1"
I missed some discussion in devel, these need more work before inclusion

This reverts commit 58bfebb047, reversing
changes made to 27dee77ca0.
2014-12-17 12:48:01 -05:00