Commit Graph

37005 Commits

Author SHA1 Message Date
Dave Rawks
a3707e2bab Simplify mock of cmd.run via setUp method
* reduced code duplication by handling a frequently used mock in setUp
method to testcase
2014-09-22 14:44:52 -07:00
Dave Rawks
27d375ae22 Don't execute lsblk using absolute path
* Removed absolute path from lsblk call. Code already tests if lsblk is
in PATH, whichever lsblk satisfied that test in __virtual__ should be
the command that is called.
2014-09-22 14:26:55 -07:00
Dave Rawks
00548767e7 Removed all the "os.listdir" based "checks"
* Per #15950 comparison against output of os.listdir is not a sane way to
test for existence of block devices.
2014-09-22 14:21:54 -07:00
Dave Rawks
925726819a Another small concession to pylint 2014-09-22 13:29:26 -07:00
Dave Rawks
6e12c0569c A few style fixes to satisify lint 2014-09-22 13:07:17 -07:00
Dave Rawks
8c0266486e Merge branch 'develop' of https://github.com/saltstack/salt into parted_tests 2014-09-22 11:35:41 -07:00
Dave Rawks
e46cd0ccfb Some salt.modules.parted housekeeping
* cleaned up call signature of probe to support multiple devices
* deprecated device keyword to probe function and added appropriate
warnings
* added deprecation warning to part_list
2014-09-22 11:18:22 -07:00
Dave Rawks
6e6bf0e643 First pass at adding unit tests to salt.modules.parted
Full coverage for __virtual__, probe, and part_list
2014-09-22 11:16:37 -07:00
Thomas S Hatch
e608e8c927 Merge pull request #16030 from cachedout/event_subscribe_on_create
Subscribe on create
2014-09-22 11:50:05 -06:00
Thomas S Hatch
c44fde7d81 Merge pull request #16029 from thatch45/lomeroe-update-state-win_dns_client
Merge #15980
2014-09-22 11:49:52 -06:00
Thomas S Hatch
496d6b4d87 Merge pull request #16025 from loz-hurst/develop
Fix rabbitmq_policy to work with 3.1.5.  Fixed #16024
2014-09-22 11:36:03 -06:00
Thomas S Hatch
f230c80cb5 Merge pull request #16016 from tmartinfr/fix-doc-pillar
Fix incorrect path in Pillar documentation
2014-09-22 11:33:00 -06:00
Thomas S Hatch
28683a9286 Merge pull request #16014 from gtmanfred/pyrax
begin pyrax salt-cloud driver/module
2014-09-22 11:30:43 -06:00
Thomas S Hatch
0e0da5de54 Merge pull request #16010 from bechtoldt/job_runner_manage_output_format
Add param outputter to jobs runner functions to specify salt.output module
2014-09-22 11:02:15 -06:00
Thomas S Hatch
6d520358e9 Merge pull request #16009 from bechtoldt/runners_manage_output_format
Add param outputter to cache runner functions to specify salt.output
2014-09-22 11:00:36 -06:00
Thomas S Hatch
7d18202dbd Merge pull request #16008 from bechtoldt/extend_fileserver_runner
Extend fileserver runner with additional features
2014-09-22 10:59:40 -06:00
Mike Place
3dc4a4f676 Subscribe on create 2014-09-22 10:52:11 -06:00
Thomas S Hatch
119781cba9 Lint fixes for PR #15980
@lomeroe please take a look, all of these are completely innocent
but watch out for the error on line 60, mixed tabs and spaces :)
2014-09-22 10:50:25 -06:00
Thomas S Hatch
9943e4cda1 Merge branch 'update-state-win_dns_client' of https://github.com/lomeroe/salt into lomeroe-update-state-win_dns_client 2014-09-22 10:48:14 -06:00
Thomas S Hatch
1feb57d7d1 Merge pull request #15977 from cachedout/remove_pub_func
Remove unused function
2014-09-22 10:46:38 -06:00
--global
59f7f2cd13 Fix rabbitmq_policy to work with 3.1.5. Fixed #16024
Fixed code to detect and interpret both 5 and 6 field outputs from
rabbitmqctl.  Also prevented no priority from triggering an update
on every state run (due to comparing int with str).
2014-09-22 11:14:04 +01:00
Thomas Martin
7cc5446484 Fix incorrect path in Pillar documentation 2014-09-22 09:04:48 +02:00
Arnold Bechtoldt
043c29d518 changing param back to backend in fileserver to improve useability 2014-09-22 08:18:13 +02:00
Daniel Wallace
171b0d56e3 missed one pylint 2014-09-21 18:11:34 -05:00
Daniel Wallace
1cbd9e7c2b clean up pylint 2014-09-21 18:00:24 -05:00
Daniel Wallace
8551118ab1 clean up and make the queue states work 2014-09-21 17:41:59 -05:00
Daniel Wallace
d156b46dc4 switch pyrax_queues to use the cloud.action module 2014-09-21 16:57:30 -05:00
Daniel Wallace
b2378d3110 remove pyrax_queues module 2014-09-21 16:38:07 -05:00
Daniel Wallace
0684c2b52f Move pyrax_queues module to the new pyrax driver 2014-09-21 16:37:47 -05:00
Damien DESMARETS
22d825f084 Add module/state support for RackSpace Queue 2014-09-21 15:58:03 -05:00
Daniel Wallace
d08acaee66 fix authentication 2014-09-21 15:45:50 -05:00
Daniel Wallace
de6242aa08 begin pyrax cloud driver 2014-09-21 15:32:58 -05:00
Arnold Bechtoldt
97eec501b6 add param outputter to jobs runner functions to specify salt.output 2014-09-21 21:40:29 +02:00
Arnold Bechtoldt
6b251cbb05 fix integration test in fileserver runner, refs #16008 2014-09-21 21:19:03 +02:00
Arnold Bechtoldt
59973f65d0 change fileserver runner default output module to nested 2014-09-21 21:12:32 +02:00
Arnold Bechtoldt
afb7fb05cf add param outputter to cache runner functions to specify salt.output 2014-09-21 21:05:43 +02:00
Pedro Algarvio
93901ef446 Merge pull request #16007 from techhat/saltcloud
Properly handle unnamed/untagged instances
2014-09-21 19:45:39 +01:00
Arnold Bechtoldt
caf85f849f PEP8 E302 fixes in fileserver runner 2014-09-21 20:29:18 +02:00
Arnold Bechtoldt
db5dde72cf extend fileserver runner with additional features 2014-09-21 20:16:41 +02:00
Joseph Hall
7baa71d249 Properly handle unnamed/untagged instances 2014-09-21 10:09:49 -06:00
Pedro Algarvio
28c57cea0c Merge pull request #16000 from bechtoldt/update_foreman_extpillar_doc
Extending salt.pillar.foreman documentation
2014-09-20 22:29:11 +01:00
Arnold Bechtoldt
0d7667af20 the Foreman community released modules implementing SaltStack support 2014-09-20 20:55:09 +02:00
Pedro Algarvio
330ea48ace Merge pull request #15997 from s0undt3ch/develop
Fix syntax error I failed to see when merging #15996
2014-09-20 16:39:35 +01:00
Pedro Algarvio
7aee9bcb38 Fix syntax error I failed to see when merging #15996 2014-09-20 15:50:02 +01:00
Pedro Algarvio
6a5e32a92c Merge pull request #15996 from techhat/formatting
Update formatting for manage.bootstrap runner
2014-09-20 15:35:02 +01:00
Joseph Hall
99191366d5 Update formatting for manage.bootstrap runner 2014-09-20 07:50:49 -06:00
Thomas S Hatch
f475c2b5f1 Merge pull request #15981 from hroussez/cp_push-symlink
add keep_symlinks parameter to cp.push
2014-09-19 21:37:42 -06:00
Erik Johnson
239cb0031f Merge pull request #15986 from wt/spelling_fix
Fix a small typo.
2014-09-19 18:16:04 -05:00
Warren Turkal
7a4de47767 Fix a small typo.
Signed-off-by: Warren Turkal <wt@signalfuse.com>
2014-09-19 14:43:11 -07:00
Henri Roussez
759fa5db86 fix indentation 2014-09-19 13:59:23 -07:00