Commit graph

8123 commits

Author SHA1 Message Date
Ton Kersten
d43d2bc219 Fix facter path
In Puppet 4 and in the PE edition, the Puppet tree is installed in
`/opt/puppetlabs/...` and all commands can be reached from
`/opt/puppetlabs/bin`.
2016-02-19 10:38:23 +01:00
Daniel Petty
e256ae0683 replaced sudo with become 2016-02-18 16:18:59 -07:00
Daniel Petty
4bdd755412 replaced sudo with become 2016-02-18 16:18:22 -07:00
Brian Coca
3e154ae653 point to local issue temmplate 2016-02-18 09:28:47 -08:00
Brian Coca
e6d059728f initial add of issue/pr templates 2016-02-18 09:26:33 -08:00
Brian Coca
4b093d7d7f Merge pull request #3062 from mixmatch/patch-1
replaced sudo with become
2016-02-18 07:07:22 -08:00
Brian Coca
649689bfb6 documented new verbosity option 2016-02-18 07:01:53 -08:00
Daniel Petty
bf04a0fe0e replaced sudo with become 2016-02-18 08:00:27 -07:00
Brian Coca
cefdb9a494 Merge pull request #2896 from towolf/add_diff_to_lineinfile
Add diff to lineinfile.py for both file contents and file attributes
2016-02-18 05:35:17 -08:00
Constantin07
9e42b2a684 Fixing issue #3057 - AttributeError: 'str' object has no attribute 'items' 2016-02-17 22:09:02 +00:00
Peter Sprygada
87cee15a85 initial add of ops_template module
This adds a new module ops_template used for configuring OpenSwitch
using local declarative config modules
2016-02-17 16:23:41 +00:00
Peter Sprygada
567e09c933 bugfix for missing function name in ios_command
This provides a minor bugfix for a missing function name in the ios_command
network module
2016-02-17 13:49:08 +00:00
Tom Bamford
5749454723 Bugfix: Permit SOA record type 2016-02-17 06:29:53 +02:00
Matt Martz
4e594a9196 Merge pull request #3050 from sivel/module-cleanup
Various simple linting type cleanups on modules
2016-02-16 16:03:34 -06:00
Matt Martz
c7845456a6 Various simple linting type cleanups on modules 2016-02-16 15:58:44 -06:00
Brian Coca
81b827f869 fixed option name mismatch, added aliases
also removed empty aliases
2016-02-15 17:13:46 -05:00
Brian Coca
7fb2818048 Merge pull request #3002 from MikeCaspar/devel
Documentation Adjustments for Digital Ocean module
2016-02-15 15:46:44 -05:00
Brian Coca
8c2ef29a7a added follow to specific modules that support it
was removed from common file docs
2016-02-15 14:14:56 -05:00
Brian Coca
403b765c95 Merge pull request #3045 from zemanel/devel
Fixed module doc typos
2016-02-15 10:06:59 -05:00
Jose Moreira
cb712f2ba8 Fixed module doc typos 2016-02-15 15:03:40 +00:00
Brian Coca
191bf977f7 Merge pull request #3042 from lgp171188/patch-1
Fix typo in the copy module error message
2016-02-15 08:16:03 -05:00
Brian Coca
238c26c7e2 recursive copy is not available(yet) on remote_src 2016-02-15 08:16:17 -05:00
Guruprasad
ea6c2573e3 Fix typo in the copy module error message
Fix the typos in the error message shown on trying to use remote_src=yes for copying directories
2016-02-15 16:22:29 +05:30
Pete Travis
363e459cb9 quote fail 2016-02-13 20:34:18 -06:00
Pete Travis
d5242e4016 expand when opening too 2016-02-13 20:33:19 -06:00
Pete Travis
7cfa625a31 use expanduser() before testing user_data as file
I like to use ~/somepath instead of absolute paths because
that's more shareable.  Without expansion, the path wasn't
considered a file, and the resulting cloud-config user_data
contained a string for the file path instead of the file context.
So, expand it.
2016-02-13 20:22:13 -06:00
Toshio Kuratomi
34a8071973 Merge pull request #3030 from Shrews/fix_types
Fix parameters where type is assumed.
2016-02-13 05:16:38 -08:00
Brian Coca
b89f4c7cab cleaner error on recursive remote copy
TODO: add recursive copy support when remote_src=yes
probably need to make shared the logic in the action plugin.
2016-02-12 22:38:16 -05:00
Peter Sprygada
0e270da561 initial add of iosxr_config module
This adds a new module, iosxr_config, that can be used for configuring
Cisco IOS XR devices.  It is provides a set of arguments for sending
configuration commands to the device over cli
2016-02-12 17:04:30 -05:00
Peter Sprygada
fb82e08e73 initial add of iosxr_template module
This adds a new module, iosxr_template, that can be used to template
configurations for IOS XR devices.  Templates are then loaded into the
target device over cli
2016-02-12 17:04:20 -05:00
Peter Sprygada
2e2380a505 initial add of iosxr_command module
This adds a new module, iosxr_command, that can be used to issue
commands to devices running IOS XR.  Commands are run on the
target device over cli
2016-02-12 17:04:12 -05:00
Peter Sprygada
af40116e23 update junos_command module return values
This minor update fixes the return values from the junos_command module
to be consistent with other network modules
2016-02-12 16:43:08 -05:00
Peter Sprygada
b7114cc783 update ios_command module return values
This minor change updates the return values and doc string for the
ios_command module to be consistent with other network modules
2016-02-12 16:42:14 -05:00
Brian Coca
014012b44c Merge pull request #3031 from jjshoe/patch-2
List which version it was added
2016-02-12 14:20:12 -05:00
jjshoe
c18afbc1ab List which version it was added
fixes https://github.com/ansible/ansible-modules-core/issues/2605
2016-02-12 13:09:24 -06:00
Brian Coca
6a42e54e57 removed 'overquoting' of example
fixes #3029
2016-02-12 13:24:07 -05:00
David Shrewsbury
f71542ccf2 Fix parameters where type is assumed.
A change is coming to Ansible where module params will default to str.
Many of our modules were taking advantage of this by not being explicit
about the type, so they will break when that change merges. This hopefully
catches those cases.
2016-02-12 12:30:52 -05:00
Peter Sprygada
c90181c64e Merge pull request #2999 from chouseknecht/ios_commnad_init
Add ios_command module
2016-02-12 07:24:37 -05:00
Peter Sprygada
5626fb38fa add init to network/cumulus and reset module attrs
The modules were merged in without an __init__.py.  This adds the module
iniit and resets all of the module attrs to 0644
2016-02-12 07:12:56 -05:00
Peter Sprygada
b54a5de6c6 Merge pull request #2880 from CumulusNetworks/cumulus-core-modules
Adding files to ansible core modules.
2016-02-12 07:07:18 -05:00
Toshio Kuratomi
8d126bd877 password needs to be type str.
In 1.9 this was the default.  In 2.0.0 and 2.0.1 this doesn't get set.
2.1.0 will fix the default but we should fix this now.
2016-02-11 13:08:32 -08:00
Peter Sprygada
0d1bf50ca1 add package init to junos/ 2016-02-11 07:26:54 -05:00
Peter Sprygada
96986b6448 initial add of junos_config module
This adds a new module, junos_config, useed to configure Juniper JUNOS based
devices.  The config module can be used to set an ordered set of set and
delete statements over a cli transport
2016-02-11 07:07:55 -05:00
Peter Sprygada
ab31397a7d initial add of junos_template
This adds a new module, junos_template, that can read in a template
config and push the changes to the device.  It can also backup the
current config.  This module is implemented over cli
2016-02-11 07:07:27 -05:00
Peter Sprygada
8c46a08379 initial add of junos_command module
This adds a new module, junos_command that can be used for sending commands
to Juniper JUNOS based devices.   The junos_command module is implemented
over a cli transport
2016-02-11 07:07:14 -05:00
Brian Coca
38d6c1cd36 expanded info on fail on check + missing apt-python
it now explains that apt module will auto install
2016-02-11 01:22:21 -05:00
chouseknecht
a4f67a4ef2 Add ios_commnand module. 2016-02-11 01:17:52 -05:00
chouseknecht
573ba42b03 Moved Conditional class to netcfg. 2016-02-11 01:17:52 -05:00
Matt Davis
49b5470831 Merge pull request #3013 from mattclay/apt-check-mode
Do not install python-apt in check mode.
2016-02-10 22:16:18 -08:00
Brian Coca
f5a374103f fixes for uri module
- clarify docs on body_json behaviour
- only tranform into json if body input is not a string
  users keep passing json string and expecint it to not be jsonified again
- fixed issue with removes not handling path expansion correctly
- switched all path variables to 'type path' to handle expansions
2016-02-11 01:09:20 -05:00