René Moser
e9eb19a7f2
zabbix_maintenance: set state to be present by default
...
Signed-off-by: René Moser <mail@renemoser.net>
2016-12-08 11:32:18 -05:00
Patrik Lundin
66cb7f1a37
openbsd_pkg: revert "changed" simplification.
...
module.exit_json() does not like when the "changed" variable contains a
match object:
TypeError: <_sre.SRE_Match object at 0x81e2ae58> is not JSON serializable
2016-12-08 11:32:18 -05:00
Patrik Lundin
98dcb3a006
Simplify logic by using required=True.
2016-12-08 11:32:18 -05:00
James Cammarata
e7405643e1
Refactor openbsd package upgrade change to work more like yum/apt
2016-12-08 11:32:18 -05:00
Patrik Lundin
6aaf5eb1d6
openbsd_pkg: add upgrade argument.
...
Running the module with the argument "upgrade=yes" invokes an upgrade of
all installed packages.
While here clean up some comments.
Functionality requested by @qbit.
2016-12-08 11:32:18 -05:00
Michael DeHaan
d2110d7502
Update README.md
2016-12-08 11:32:18 -05:00
Michael DeHaan
7ba58f93a0
package files
2016-12-08 11:32:18 -05:00
Michael DeHaan
5879c503bb
File extensions!
2016-12-08 11:32:18 -05:00
James Cammarata
d4b117843a
Copying snapshot of extras modules
2016-12-08 11:32:07 -05:00
James Cammarata
8afa090417
Resolving differences in core modules post-merge
2016-12-08 11:25:36 -05:00
James Cammarata
95d59b61eb
Removing unnecessary files before repo merge
2016-12-08 11:25:36 -05:00
Toshio Kuratomi
7319104552
Refreshed metadata for core modules
2016-12-08 11:25:35 -05:00
Adam Chainz
46ca2b8bcd
Cloudformation - remove dead invoke_with_throttling_retries function ( #5690 )
...
Unused since f040d63403
.
2016-12-08 11:25:35 -05:00
Fabio Alessandro Locati
5edbbabe0b
Call main in conditional way - packaging ( #5826 )
2016-12-08 11:25:35 -05:00
Fabio Alessandro Locati
17c80f6bbb
Call main in conditional way - utilities ( #5827 )
2016-12-08 11:25:35 -05:00
Fabio Alessandro Locati
2e34bad425
Call main in conditional way - files ( #5828 )
2016-12-08 11:25:35 -05:00
Fabio Alessandro Locati
8855b3274c
Call main in conditional way - databases
2016-12-08 11:25:35 -05:00
Fabio Alessandro Locati
21bd86ef1d
Call main in conditional way - cloud/rackspace
2016-12-08 11:25:35 -05:00
Fabio Alessandro Locati
c8fd24ee04
Call main in conditional way - cloud/amazon
2016-12-08 11:25:35 -05:00
Fabio Alessandro Locati
1c3aeb5cb7
Call main in conditional way - source_control
2016-12-08 11:25:35 -05:00
Fabio Alessandro Locati
a6cd0272fb
Call main in conditional way - system
2016-12-08 11:25:35 -05:00
Fabio Alessandro Locati
4d2a3229d3
Call main in conditional way - web_infrastructure
2016-12-08 11:25:35 -05:00
Toshio Kuratomi
42a5b1977f
Do not use the fstab parameter on openbsd for mounting ( #5805 )
...
* Do not use the fstab parameter on openbsd for mounting
OpenBSD's mount command doesn't allow selecting which fstab file to use.
So if we're operating on the live filesystem (mount or remount) return
an error if the user specified an fstab file.
Fixes #5591
* Fix the logic inversion (thanks to @landryb)
2016-12-08 11:25:35 -05:00
Fabio Alessandro Locati
a5a15acd55
Native YAML - files/file.py ( #5799 )
...
* Native YAML - files/file.py
* Rollaback part of the change as for request
2016-12-08 11:25:35 -05:00
Fabio Alessandro Locati
8b7db84e91
Native YAML - cloud/google/gce.py ( #5800 )
2016-12-08 11:25:34 -05:00
Fabio Alessandro Locati
2b0bdd45e8
Unquote urls in YAML - windows ( #5798 )
2016-12-08 11:25:34 -05:00
Fabio Alessandro Locati
ca047c3881
Unquote urls in YAML - cloud ( #5797 )
2016-12-08 11:25:34 -05:00
Fabio Alessandro Locati
eb54b80a92
Unquote urls in YAML - system ( #5796 )
2016-12-08 11:25:34 -05:00
Fabio Alessandro Locati
18d022d808
Unquote urls in YAML - source_control ( #5795 )
2016-12-08 11:25:34 -05:00
Fabio Alessandro Locati
013be6fa1c
Unquote urls in YAML - web_infrastructure ( #5794 )
2016-12-08 11:25:34 -05:00
Fabio Alessandro Locati
8ae7d2dcc4
Unquote urls in YAML - packaging ( #5793 )
2016-12-08 11:25:34 -05:00
Fabio Alessandro Locati
e49667d94c
Unquote urls in YAML - network ( #5792 )
2016-12-08 11:25:34 -05:00
Evan Kaufman
580c74140a
Fix for python 2.4 compatibility ( #5693 )
...
Fixes #5692
2016-12-08 11:25:34 -05:00
Asara
dddf810a19
Fixed typo in docker_image.py docs ( #5764 )
2016-12-08 11:25:34 -05:00
Brian Coca
e3a43c0d4b
made fact_path actual path ( #5789 )
2016-12-08 11:25:34 -05:00
Ted Timmons
367f675420
use 'six' for urlparse compatability ( #5777 )
...
* use 'six' for urlparse compatability
2016-12-08 11:25:34 -05:00
John R Barker
b05df29978
Missing space between key:value ( #5785 )
2016-12-08 11:25:34 -05:00
René Moser
507559dba5
doc: network: fix syntax errors in examples ( #5780 )
2016-12-08 11:25:34 -05:00
Rob White
3f81a65e53
Fail if specifying an ENI as device but in_vpc is not true
2016-12-08 11:25:34 -05:00
Dustin C. Hatch
b49aa70c29
systemd: Start inactive units for reload/restart
...
The `service` module starts services that are not running when
`action=restarted` or `action=reloaded`, which is especially convenient
for initial deployments because it eliminates an extraneous operation
for when the service starts for the first time. This commit adjusts the
behavior of the `systemd` module to match.
2016-12-08 11:25:33 -05:00
Matt Davis
ce0412aa85
Fix test failures in win_command/win_shell on Powershell 3
...
Switched to use Exit-Json to avoid JSON escaping bugs in ConvertTo-Json formatter without -Compress option.
2016-12-08 11:25:33 -05:00
Wouter Oosterveld
61060f4b5f
mysql_user: fix user_mod on MySQL(-like) 5.7+ ( Fixes #3003 ) ( #5388 )
2016-12-08 11:25:33 -05:00
ekultails
0358919db8
add correct SELinux file context for crontabs ( #4511 ) ( #4595 )
2016-12-08 11:25:33 -05:00
David Wittman
cc334a078b
Set IdentitiesOnly=yes when using key_file ( #5682 )
...
Sets the SSH option `IdentitiesOnly=yes` in the SSH wrapper when a
`key_file` is provided to the git module. This option ensures that
the provided key is used. Otherwise, the system's ssh-agent could
provide undesired identities when connecting.
From ssh_config(5):
> Specifies that ssh(1) should only use the authentication identity and
> certificate files explicitly configured in the ssh_config files or
> passed on the ssh(1) command-line, even if ssh-agent(1) or a
> PKCS11Provider offers more identities. The argument to this keyword
> must be “yes” or “no”. This option is intended for situations where
> ssh-agent offers many different identities. The default is “no”.
2016-12-08 11:25:33 -05:00
Matt Clay
86d53db3e4
Update async_wrapper.py to remove own temp dir. ( #5719 )
2016-12-08 11:25:33 -05:00
jctanner
d41b4e3802
Use the the new features of fail_if_missing for checkmode ( #5750 )
2016-12-08 11:25:33 -05:00
Brian Coca
d2fec9d259
added docs for use option
...
(cherry picked from commit ad5cb0f0d7231ff74d7918faa26091ba710c4709)
2016-12-08 11:25:33 -05:00
Toshio Kuratomi
b95f483b8d
Force BSDs to use umount/mount instead of trying to use remount. ( #5715 )
...
* Force BSDs to use umount/mount instead of trying to use remount.
Fixes #5591
* Initialize out and err
2016-12-08 11:25:33 -05:00
Brian Coca
da9adccb02
systemctl show rc changes across versions
...
to avoid different errors across versions, ignore rc in favor of
found/notfound
fixes #5710
2016-12-08 11:25:33 -05:00
Jiri Tyr
b264f8c1cd
Fall back if mountinfo reading failed (fixing #5603 )
2016-12-08 11:25:33 -05:00