Commit Graph

237 Commits (30bd75e3ae16819db404122752c1b814f03c2d3c)

Author SHA1 Message Date
Pavel Sychev 30bd75e3ae Added reject_with and uid_owner support. 2016-12-08 11:34:00 -05:00
Linus Unnebäck 5f9d5c1403 make: move down ansible import 2016-12-08 11:34:00 -05:00
Linus Unnebäck e79e024016 make: add empty return docs 2016-12-08 11:34:00 -05:00
Linus Unnebäck d605860b39 module: system/make 2016-12-08 11:34:00 -05:00
Emilien Macchi 1c94395a96 system/puppet: allow to run puppet -e
-e or --execute [1] allows to execute a specific piece of Puppet code
such a class.

For example, in puppet you would run:
puppet apply -e 'include ::mymodule'

Will be in ansible:
puppet: execute='include ::mymodule'

[1] http://docs.puppetlabs.com/puppet/latest/reference/man/apply.html#OPTIONS
2016-12-08 11:33:58 -05:00
Michael Scherer 49aa069c94 Add proper type to path and link
Since both of them are path, it should be checked using the
proper type.
2016-12-08 11:33:58 -05:00
Rene Moser 427ab2f016 osx_defaults: doc fix, add version_added for host agrument
See #1364
2016-12-08 11:33:57 -05:00
Greg Hurrell a58a91410d osx_defaults: add "host" attribute
This allows us to configure defaults using the `-currentHost` or `-host`
arguments to the `defaults` executable.
2016-12-08 11:33:57 -05:00
Rene Moser 2430e295a6 lvol: remove unused import
See #1425
2016-12-08 11:33:57 -05:00
Jonas Vermeulen 2149a7b1f6 Added resizing based on %values. Included support for VG|PVS|FREE 2016-12-08 11:33:57 -05:00
Michael Scherer 61bdf9ee0f Fix #1809, use the proper method to fail 2016-12-08 11:33:56 -05:00
Emilien Macchi f0f1d1edc4 system/puppet: add --certname parameter
certname [1] can be a useful parameter when we need to specify a
certificate name different from the default value [2] in Puppet.

Ex: the hosts have different names, in advanced network isolation
setups.

Also, it can be used when we want to run Puppet with a specific node
definition and not using hostname or fqdn to match the nodes where we want to
run Puppet [3] (not recommended by Puppetlabs though).

[1] https://docs.puppetlabs.com/puppet/latest/reference/configuration.html#certname
[2] Defaults to the node’s fully qualified domain name
[3] http://docs.puppetlabs.com/puppet/latest/reference/lang_node_definitions.html#naming
2016-12-08 11:33:56 -05:00
Doug Luce 030fbaef64 Use os module for checking absolute/joining paths 2016-12-08 11:33:55 -05:00
Doug Luce d4275e576e cronvar.py: support absolute destinations
Mainly so /etc/crontab can be written to.
2016-12-08 11:33:55 -05:00
Rene Moser c00688a118 iptables: add defaults to docs 2016-12-08 11:33:55 -05:00
David Hocky 4abd217aa5 add version added to new params 2016-12-08 11:33:55 -05:00
David Hocky a3b7dbe1df fix doc issue 2016-12-08 11:33:55 -05:00
David Hocky 994edea253 add support for setting dscp marks with iptables module 2016-12-08 11:33:55 -05:00
yta 0446231380 osx_defaults: Do not make any changes in check mode 2016-12-08 11:33:55 -05:00
Brian Coca 864bf4e19e added new puppet path to bin search
fixes #1835
2016-12-08 11:33:54 -05:00
Jonathan Mainguy ac8b171da4 fixes bug where puppet fails if logdest is not specified 2016-12-08 11:33:53 -05:00
Borys Borysenko 149ebdb15f The size option is required for lvol module with state=present 2016-12-08 11:33:50 -05:00
Michael Scherer 0670a6c56d Add documentation to explain that pvs will be created if needed
Fix #1720
2016-12-08 11:33:50 -05:00
Travis J Parker b8c8bb5238 fixes documented command for svc sending SIGUSR1 2016-12-08 11:33:50 -05:00
Matt Martz d44dd63a00 Add actual version to version_added for svc module 2016-12-08 11:33:50 -05:00
Ton Kersten fb471fc0a8 Fix facter path 2016-12-08 11:33:50 -05:00
James Cammarata f1e50f7616 Adding version_added field to logdest field for puppet module 2016-12-08 11:33:49 -05:00
Monty Taylor d8f35dfb18 Add option to send puppet apply logs to syslog
While returning puppet logs as ansible stdout is useful in some cases,
there are also cases where it's more destructive than helpful. For
those, local logging to syslog so that the ansible logging makes sense
is very useful.

This defaults to stdout so that behavior does not change for people.
2016-12-08 11:33:49 -05:00
Johan Wirén c54841fb3e Keep, but ignore createparent option 2016-12-08 11:33:48 -05:00
Johan Wirén dc15c98e6f Removes the createparent property.
The least surprising thing is to always create parents
2016-12-08 11:33:48 -05:00
Johan Wirén 7bb79093c2 Only considers local attributes when comparing state
This should fix #1092
2016-12-08 11:33:48 -05:00
Johan Wirén 14a0cf142d Documentation fixes 2016-12-08 11:33:48 -05:00
Johan Wirén a410f524b4 Update example 2016-12-08 11:33:48 -05:00
Johan Wirén e08638b737 Changes how zfs properties are handled
This moves the validation of properties to the zfs command itself. The
properties and their choices were not really correct anyway due to
differences between OpenZFS and Solaris/ZFS.
2016-12-08 11:33:48 -05:00
Vincent VAN HOLLEBEKE 3fd5173413 Do not fail when action is delete and volume is not present
This prevents failing when a playbook describes a volume deletion and
is launched more that once.

Without this fix, if you run the playbook a second time, it will fail.
2016-12-08 11:33:48 -05:00
Chad Nelson 89baffa06f Doc wrongly indicates permanent is required
But it isn't. :)
2016-12-08 11:33:48 -05:00
Brian Coca 4873b941ff added missing version_added 2016-12-08 11:33:47 -05:00
Daniel Vigueras 4c60c2acc1 iptables: add --limit-burst option 2016-12-08 11:33:47 -05:00
Dale Smith 7404418cbd Fix regression of #821 in puppet of show_diff
Issue #821 fix: 1382576100ee3b17f4eb28c7186d92376f370676
Regressed since: 6912ca0acaed0d738d8dd9867721d2ff0094084a

Issue: #821
2016-12-08 11:33:46 -05:00
Yannig Perré bf5fbfe2a7 Use -f when pvcreate to avoid interactive input. Fix https://github.com/ansible/ansible-modules-extras/issues/1504 2016-12-08 11:33:46 -05:00
Daniel Vigueras 801e895f62 iptables: fix param check in append_csv function 2016-12-08 11:33:46 -05:00
Michal Mach 855bf75709 Fix seport module issue when ports argument is interpolated from a variable and is a int 2016-12-08 11:33:46 -05:00
Alexander Bulimov 23675c3f8b Allow recreation of same FS with force=yes 2016-12-08 11:33:46 -05:00
Alexander Gubin 58f3518666 Make fileystem module idemponent. Compare devicesize and filesystemsize. 2016-12-08 11:33:46 -05:00
colynn.liu ed48fb0f25 fixed python 2.4 compatibility
nf=tempfile.NamedTemporaryFile(delete=False)
TypeError: NamedTemporaryFile() got an unexpected keyword argument 'delete'
2016-12-08 11:33:45 -05:00
Björn Lichtblau f9383cb8ef Check to make sure the firewalld client is connected before proceeding.
Fixes #1138

Original patch referenced in https://github.com/ansible/ansible/issues/6911 ( f547733b1f ) was undone by 6f2b61d2d8
2016-12-08 11:33:45 -05:00
Tom X. Tobin 1223143ebe osx_defaults: Fix boolean value parsing
Values for boolean types were being unconditionally treated as strings
(by calling `.lower()`), thus breaking value parsing for actual boolean
and integer objects.

It looks like the bug was introduced in:

- 130bd670d82cc55fa321021e819838e07ff10c08

Fixes #709.
2016-12-08 11:33:45 -05:00
Linus Unnebäck a928198783 iptables: cleanup 2016-12-08 11:33:44 -05:00
Jeroen Geusebroek f1c3eb1413 Fix documentation default value for gluster_volume start_on_create 2016-12-08 11:33:44 -05:00
Jose A. Rivera 73a9abd1c8 gluster_volume: allow probing ourselves
We should allow "gluster peer probe" to determine if a given "host" maps to the
localhost, and detect that case accordingly.
2016-12-08 11:33:44 -05:00