Commit Graph

68864 Commits

Author SHA1 Message Date
Andrew Hammond
06b7b4fe52 file.retention_schedule state (#32800) 2016-04-25 15:21:13 -06:00
Justin Findlay
4e87700e8c tests.runtests: make test suite args consistent (#32808) 2016-04-25 14:57:33 -06:00
puneet kandhari
427ae50d71 Master configuration "pillar_merge_lists" has no effect #30809 (#32665) 2016-04-25 14:49:39 -06:00
lomeroe
0caff6c1cb correct use of force flag in file.copy #23714 (#32732)
* rebasing

* correcting issues causing test failures
2016-04-25 13:56:36 -06:00
Daniel Wallace
9cffa850a7 implement delete function to etcd sdb backend (#32832) 2016-04-25 13:54:30 -06:00
Andrew Hammond
1013de23e9 add a tutorial around moving logic from maps.jinja to an execution module (#32816) 2016-04-25 13:46:59 -06:00
Martin Paulus
87c1d6e29e #32707: add an top level dir exception to recursive setting of attrib… (#32781)
* #32707: add an top level dir exception to recursive setting of attributes

Beware: POC alert! This boolean is not exposed yet outside of file.py!

* #32707: reflect in state comments whether base was excepted from recursive operation

* #32707: add children_only as kwarg and update doc block
2016-04-25 12:03:13 -06:00
Christian McHugh
ac33db4783 Add fetching number of sessions on web backends to haproxy module (#32815)
* Add fetching number of sessions on web backends to haproxy module
and plumb up that code with a haproxy beacon

* actually add the haproxy module function

* update release name

* fix lint errors
2016-04-25 11:52:14 -06:00
Thomas Jackson
029f27b9b3 Make tag to _module_dirs optional, and default to ext_type (#32758)
Since the vast majority have the same names, it seems like a waste
2016-04-25 11:39:14 -06:00
Nicole Thomas
8b8c8c7277 Change 'develop' to 'Carbon' versionadded (#32833) 2016-04-25 11:31:55 -06:00
garethgreenaway
a0a3b4a780 Adding some functions to check certificate expiration (#32804)
* adding some functions to check if an openssl certificate has expired and one to check if a certificate will expired in a specified number of days

* fixing some lint errors

* Adding versionadded bits
2016-04-25 11:29:10 -06:00
Mircea Ulinic
0ee484930b New execution module: napalm_probes (#32823)
* Exec module napalm_probes

* Input example p

* Quotes replace

* Module napalm_probes

* NAPALM retuns last_test_loss instead of current_test_loss
2016-04-25 11:27:31 -06:00
Alejandro Bednarik
90e2626aad Add comments as an option for apt in pkgrepo.managed. (#32813)
Added comments as an option when setting an ap repo file.
2016-04-25 11:26:26 -06:00
Justin Findlay
c8889ce1b9 update bootstrap to 2016.04.18 release (#32670) 2016-04-25 11:07:38 -06:00
Ondřej Nový
001e7b76e2 Fix comment about minion_id_caching (#32798) 2016-04-25 11:01:42 -06:00
Alejandro Bednarik
5b59840373 Rsync synchronized updates. (#32739)
Aadded --dry-run option which is also used for test mode
taking adventage of this option in rsync.

Update state documentation to follow Salt standards

Finally synchronized was not working, See #32478. Changes cmd.run to cmd.run_all make this works.
Tests updated
2016-04-25 10:54:33 -06:00
Tom Williams
7744d83526 Update boto_ec2.find_instances() to always return values as described… (#32812)
* Update boto_ec2.find_instances() to always return values as described in docstring.

* Fixup logic flow - instance creation was aborting in certain cases when an instance with the same name had been terminated but still showed in boto_ec2.exists()
2016-04-25 10:35:51 -06:00
sodium-chloride
2296fb2a67 Clean up unused symbol (#32817) 2016-04-25 10:11:14 -06:00
Mircea Ulinic
2a0e35aac2 A couple of fixes for the NAPALM NTP modules (#32821)
* NTP module & state updated

* Doc updates & import fixes

* Quotes replace

* Module NTP
2016-04-25 10:09:40 -06:00
Mitar
f6d533168a Pass None as memory limit. (#32818)
Fixes: #25492
2016-04-25 10:03:21 -06:00
Mircea Ulinic
a866791b83 HipChat State & Returner to use api_url param (#32819) 2016-04-25 09:48:37 -06:00
C. R. Oldham
a03630233d Merge pull request #32769 from rajvidhimar/junos-grains
Fix facts grain.  Test failures unrelated.
2016-04-25 07:44:55 -06:00
rajvidhimar
1db90300bd fix lint 2016-04-25 12:04:35 +05:30
Colton Myers
6d1b9f3630 Add a salt-ssh config to use homedir RSA keys (#32807)
New config option defaults to False. If set to True, salt-ssh will look
first for ~/.ssh/id_rsa and use that key for default authentication if
it exists.
2016-04-24 19:53:32 -06:00
Nicole Thomas
95cac5665f Add code-block directives for bash-label formatting (#32797) 2016-04-23 09:16:07 -06:00
dollarampersand
f64df017a4 hardcoded family in negative position calculation (#32793)
Position calculations are incorrect for IPv6 rules due to hardcoded family
2016-04-23 08:46:27 -06:00
Anthony Shaw
fd65c47144 Libcloud DNS execution module (#32694)
* PSGet module for managing powershellgallery.com packages

* Linting fixes

* Converted docstrings to sphinx format

* Added libcloud_dns execution module for managing DNS

* Fix line endings and whitespace

* Clean line endings @cachedout
2016-04-23 08:42:42 -06:00
Thomas Jackson
3943aa37b1 Fix typo in thorium, keeping it from working (#32791) 2016-04-22 16:19:07 -06:00
Martin Paulus
6d94ecfb72 doc fix: correct CLI example for dnsmasq fullversion fun (#32788) 2016-04-22 14:59:47 -06:00
Moe
48e5ada949 Add pending reboot check to win_system (#32767)
* Add pending reboot check to win_system

* Fix pylint issue in get_pending_reboot function
2016-04-22 12:56:32 -06:00
Alejandro Bednarik
af64c95593 Append failed cmd in comments. (#32651)
When onlyif fail, append the message to comment so we know which command
is failing. Only in a list context.

Fixes #32575.
2016-04-22 12:54:58 -06:00
Anthony Shaw
9f1f472048 Execution module for PSGet ( the powershell module management library ) (#32687)
* PSGet module for managing powershellgallery.com packages

* Linting fixes

* Converted docstrings to sphinx format

* Update LF

* arbitrary change to reset the build
2016-04-22 12:54:02 -06:00
Carlos Perelló Marín
9d028262f4 Server Density agentv2 support (#32772)
* Added support for the agentv2

* Updated os field to match the SD API requirement

* filename is an absolute path on official installations

* Install script URL uses a redirect now, so we should instruct curl to follow them

* Added a missing import

* Updated the settings for the v2 agent

* Fixed pep8 issues

* select v2 agent for the test
2016-04-22 12:50:03 -06:00
Kai Howelmeyer
20c2cf176b Add max_depth parameter to file.directory, fixes #31989 (#32463) 2016-04-22 10:11:58 -06:00
Julien Cigar
b6a8cb09fc Remove check_or_die for venv_bin (#32713)
While it sounds a good idea to check wether the venv_bin exists or not, due to
the implementation of salt.utils.which it fails if the command contains
arguments, for example "/usr/local/bin/python3.4 -m venv":

2016-04-20 12:56:46,564 [salt.state
][ERROR   ][45709] An exception occurred in this state: Traceback (most recent
call last):
  File "/usr/local/lib/python2.7/site-packages/salt/state.py", line 1594, in
call
    **cdata['kwargs'])
  File "/usr/local/lib/python2.7/site-packages/salt/loader.py", line 1491, in
wrapper
    return f(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/salt/states/virtualenv_mod.py",
line 169, in managed
    use_vt=use_vt,
  File "/usr/local/lib/python2.7/site-packages/salt/modules/virtualenv_mod.py",
line 117, in create
    salt.utils.check_or_die(venv_bin)
  File "/usr/local/lib/python2.7/site-packages/salt/utils/__init__.py", line
804, in check_or_die
    raise CommandNotFoundError(command)
CommandNotFoundError: /usr/local/bin/python3.4 -m venv
2016-04-22 10:03:45 -06:00
Moe
533194fb2a Add certificate binding to win_iis (#32700)
* Add certificate binding functionality

* Fix F12 in doctring
2016-04-22 10:00:50 -06:00
Thomas S Hatch
97b0325f0b Merge pull request #32702 from garethgreenaway/thorium_checks_changes
Adding some additional checks to thorium/check.py
2016-04-22 09:53:43 -06:00
Jason Friedrich
afd7388569 Fix issue where pyVmomi 6.0.0 raises SSL errors on Debian 8.3 (#32760)
Related: #29537

The error message for a bad handshake due to a private certificate has
changed slightly (uppercase/lowercase). This additional if statement
fixes the issues and allows connectivity with a self-signed certificate.
2016-04-22 09:21:01 -06:00
Anthony Shaw
00511ea976 Fix suse libcloud support/hack (#32744)
* Fix suse libcloud support/hack

* fix line endings

* fix line endings in gce
2016-04-22 09:18:42 -06:00
Ryan Lane
9bf18083fb Confidant sdb and ext_pillar support (#32757)
* Add an SDB module for confidant

* Add confidant external pillar

* Add docs
2016-04-22 09:12:15 -06:00
Martin Hoefling
616e1b15cc Celery task execution module (#32766) 2016-04-22 08:56:02 -06:00
rajvidhimar
d7a49e42b9 fix facts grain 2016-04-22 11:56:46 +05:30
Nicole Thomas
64d64af443 Pylint fix for develop branch (#32756) 2016-04-21 11:31:15 -06:00
Nicole Thomas
c0c81a8a9d Make some small doc improvements for the servicenow module (#32754) 2016-04-21 11:30:29 -06:00
Nicole Thomas
258aa6acf7 Add version tag to new pcs state module (#32755) 2016-04-21 11:28:02 -06:00
Anthony Shaw
d9b82450ba Added servicenow execution module (#32725)
* Added servicenow execution module

* Fixed up the linting

* Fix docstrings
2016-04-21 10:55:57 -06:00
Holger Fischer
be136832d5 rename some functions to follow best practices (#32728) 2016-04-21 08:45:57 -06:00
Thomas Jackson
e08f73fbf0 Call utils method which imports the fastest json we can find (#32729)
This will end up being significantly faster assuming we can find one
2016-04-21 08:34:36 -06:00
Mircea Ulinic
b1dbcd064d HipChat to use custom API (#32708)
* HipChat to use custom API URL

* Support api_url in all methods

* DOC: HipChat api_url
2016-04-21 08:33:09 -06:00
lomeroe
2bf3b7f0af set record_type to lowercase as api is case sensitive (#32734) 2016-04-21 08:30:24 -06:00