Victor Schröder
2acfbce64d
Removes unnecessary commented code and replaces with useful information
2015-06-15 11:35:25 +02:00
Victor Schröder
f2d22c1373
Fixes error messages to mention ElastiCache
2015-06-15 10:02:54 +02:00
Brian Coca
1ce1c52f6f
centralized bad password handling, fixed outputing of become method
2015-06-15 01:40:53 -04:00
Brian Coca
b89071e485
now detects incorrect password with sudo and su (at least in english)
2015-06-15 01:30:03 -04:00
Brian Coca
5bac17de51
fixed pfexec test
2015-06-15 01:20:38 -04:00
Brian Coca
be8d797c23
fixed su prompt function reference
2015-06-15 01:07:02 -04:00
Brian Coca
872448e9e8
updated connection info update_vars to only update if data is not alreayd present
...
aslo added comment clarifying why we do this
2015-06-15 01:02:27 -04:00
Brian Coca
956937b110
made executable shell configurable again
2015-06-15 00:15:31 -04:00
Brian Coca
580993fef7
enabled initial support for password prompt on become
...
- moved check prompt/password functions to connection, make more senes there
- TODO: consider moving make_become to connection from connection_info
- removed executable param that was never overriden outside of connection info
2015-06-15 00:09:25 -04:00
Brian Coca
bac35ae773
set correct become mehotds for plugin
...
fixed mixup with remote password vs become_password
2015-06-14 23:49:10 -04:00
Brian Coca
ff443d4534
added note to figurte out correct var udpate on connection_info
2015-06-14 23:48:03 -04:00
Brian Coca
c3ccf26b70
added become check back to connections
2015-06-14 23:45:56 -04:00
Brian Coca
de82c953f2
added privilege escalation special var mapping
2015-06-14 23:19:49 -04:00
Brian Coca
a248678518
initial become support to ssh plugin
...
- password prompt detection and incorrect passwrod detection to connection info
- sudoable flag to avoid become on none pe'able commands
2015-06-14 23:03:23 -04:00
Brian Coca
a267f93c83
removed incorrect assumption on become user being set
2015-06-14 21:05:23 -04:00
Brian Coca
ff15f374ad
fixed new become settings, rearranged constants to find PE related vars easier
2015-06-14 20:50:38 -04:00
Victor Schröder
e8c3e3d645
Cleans some unnecessary white spaces in ec2.py dynamic inventory plugin
2015-06-14 23:38:09 +02:00
Victor Schröder
77a2ad0e8c
Improves code organization in get_dict_from_describe_dict method
2015-06-14 23:32:10 +02:00
Victor Schröder
41b034a5d2
Process information about replica clusters for ElastiCache replication groups
2015-06-14 23:29:55 +02:00
Victor Schröder
e692a18a29
Process information about primary clusters for ElastiCache replication groups
2015-06-14 23:29:05 +02:00
Victor Schröder
43f9a653d0
Process CacheNodeIdsToReboot complex type for cache clusters
2015-06-14 23:27:16 +02:00
Victor Schröder
ffd74049da
Comments about the naming pattern in the script, that certainly deserves future refactoring
2015-06-14 23:24:51 +02:00
Victor Schröder
f25ad9dc51
Adds the appropriate key checks for ElastiCache replication groups in get_dict_from_describe_dict method
2015-06-14 23:21:33 +02:00
Victor Schröder
069ee11699
Creates add_elasticache_replication_group method in ec2.py dynamic inventory script
2015-06-14 23:18:30 +02:00
Victor Schröder
c18f6cae11
Creates get_elasticache_replication_groups_by_region method to handle the API call
2015-06-14 23:15:33 +02:00
Victor Schröder
40ce072747
Adds the logic to process the new config entries about ElastiCache replication groups
2015-06-14 23:14:00 +02:00
Victor Schröder
22020ac3cd
Adds the necessary config entries to ec2.ini, to support ElastiCache replication groups
2015-06-14 23:12:52 +02:00
Victor Schröder
e64daba8e7
Adds a flag (is_redis) to prevent duplicity of information about Redis single node clusters
2015-06-14 23:10:33 +02:00
Victor Schröder
2a242a0e1b
Creates add_elasticache_node method in ec2.py
2015-06-14 23:08:39 +02:00
Victor Schröder
98a5531966
Makes the API requests to return nodes' information too
2015-06-14 23:03:15 +02:00
Victor Schröder
dbb0304cea
Adds uncammelize helper method to put the labels in the expected output format
2015-06-14 23:01:13 +02:00
Victor Schröder
c6f2b08a60
Creates get_host_info_dict_from_describe_dict helper method to translate information from a 'describe' call (we don't have instance objects in this case)
2015-06-14 22:57:03 +02:00
Victor Schröder
2cd76cf0e3
Creates add_elasticache_cluster method to digest the API answer about ElastiCache clusters
2015-06-14 22:41:05 +02:00
Victor Schröder
06c6db8e6b
Adds get_elasticache_clusters_by_region method to perform the API call to AWS (and sadly finds out that Boto support for ElastiCache is very outdated...)
2015-06-14 22:21:40 +02:00
Victor Schröder
50b320615e
Little improvement in the organization of the configuration loader method
2015-06-14 22:13:27 +02:00
Victor Schröder
bc80bd36af
Adds the necessary logic to ec2.py to load ElastiCache related configuration
2015-06-14 22:12:03 +02:00
Victor Schröder
382c6fe05b
Adds basic configuration to ec2.ini to support ElastiCache Clusters and Nodes
2015-06-14 22:07:39 +02:00
Brian Coca
e7abe06440
added first_found to template
2015-06-13 00:34:15 -04:00
Brian Coca
8ee4c7266c
corrected original_file code path to use actually use data from original file
2015-06-13 00:10:17 -04:00
Brian Coca
491761f880
added note to add faf deprecation
2015-06-12 23:54:09 -04:00
Brian Coca
a6ca133da8
got first_available working with copy
2015-06-12 23:54:09 -04:00
Brian Coca
11f1d99a5b
added test for first_available and copy
2015-06-12 23:54:09 -04:00
Brian Coca
0f915dc122
Merge pull request #11254 from smarvin/patch-1
...
Update index.rst
2015-06-12 22:19:58 -04:00
Scot Marvin
0132c51346
Update index.rst
...
Adding some copy edits. Feel free to disregard.
2015-06-12 17:38:37 -07:00
Brian Coca
aca125d03e
Merge pull request #11252 from sivel/deprecated-warning
...
Display a warning when using a deprecated module
2015-06-12 16:30:45 -04:00
Matt Martz
9ed3e2ef48
Display a warning when using a deprecated module
2015-06-12 15:21:33 -05:00
Toshio Kuratomi
d315f6e22c
Fix Etcd constructor
2015-06-12 12:59:29 -07:00
Toshio Kuratomi
77c76e632e
Switch etcd and url lookup plugins to verify ssl certificates
2015-06-12 12:54:57 -07:00
Toshio Kuratomi
4161d78a94
Split the fetch_url() function into fetch_url and open_url().
...
open_url() is suitable for use outside of a module environment. Will
let us use open_url to do SSL cert verification in other, non-module
code.
2015-06-12 12:54:56 -07:00
Brian Coca
e07dde1a3c
Merge pull request #11251 from sivel/issue/11244
...
Require passlib over crypt in password_hash for Mac OS X/Darwin. Fixes #11244
i was almost done with my patch ... but I like yours better
2015-06-12 14:58:02 -04:00