Commit Graph

50297 Commits

Author SHA1 Message Date
Nitin Madhok
fddee639e3 Adding show_instance() action to be able to show full details about the specified VM/template 2015-04-07 16:41:52 -04:00
Nitin Madhok
26317635c4 Adding avail_images() so that --list-images can be used 2015-04-07 10:36:29 -04:00
Justin Findlay
305ce35a09 Merge pull request #22394 from nmadhok/vmware-extra_config
Adding ability to vmware cloud create() so extra_config can be specified
2015-04-06 17:51:59 -06:00
Nitin Madhok
99bc6c9a49 Add some more examples for extra_config to documentation 2015-04-06 18:04:53 -04:00
Nitin Madhok
a659a39f18 Add some more examples for extra_config to documentation 2015-04-06 18:00:02 -04:00
Nitin Madhok
3746d37293 Adding ability to vmware cloud create() so extra_config can be specified. 2015-04-06 17:52:47 -04:00
Mike Place
a19340de40 Merge pull request #22355 from whiteinge/caller-cmd
Added a `cmd` method to the Caller() class for consistency with *Clients
2015-04-06 11:26:11 -06:00
Mike Place
f8b35d749d Merge pull request #22185 from isbm/isbm-nagios-module-opts
Nagios module bugfix and additional refactoring
2015-04-06 11:23:11 -06:00
Joseph Hall
756bc1582b Merge pull request #22384 from rallytime/pylinting
Pylint fixes for develop
2015-04-06 10:42:31 -06:00
rallytime
c487476fd7 Change longs to ints for python 3 compatibility 2015-04-06 10:11:42 -06:00
rallytime
c2285c6aae Move imports out of functions to top of file 2015-04-06 10:07:56 -06:00
Joseph Hall
53ee793942 Merge pull request #22373 from nmadhok/vmware-cloud-driver
Vmware cloud driver refactors
2015-04-06 09:08:44 -06:00
Mike Place
45b589c9d4 Merge pull request #22351 from garethgreenaway/22339_kwargs_issue_in_mixins
Fix to salt/client/mixins.py
2015-04-06 08:22:07 -06:00
Mike Place
4a57d46004 Merge pull request #22354 from dmyerscough/firewalld-unittest
Unit test for firewalld features #22292
2015-04-06 08:09:52 -06:00
Mike Place
d3fe0fc879 Merge pull request #22362 from msusta/bugfix/localemod-lang-string-malformed
Fixed malformed locale string in localmod module
2015-04-06 08:07:46 -06:00
Justin Findlay
33ae6b62a2 Merge pull request #22367 from lucacorti/develop
Add recursive database owner change to postgres module/state
2015-04-06 07:51:41 -06:00
Luca Corti
b574cc45ec Merge branch 'develop' of https://github.com/saltstack/salt into develop 2015-04-06 00:30:42 +02:00
Luca Corti
b9b307f5f2 Fix postgres.db_alter test, add test for owner_recurse=True
The old db_alter test was probably failing anyway. The new test tests
owner_to is called when owner_recurse is set to true.
2015-04-06 00:19:19 +02:00
Nitin Madhok
e106574d24 Doc changes and enhancements 2015-04-05 16:46:48 -04:00
Nitin Madhok
d06295b7ed Refactoring the way devices are created or configured 2015-04-05 16:01:58 -04:00
Justin Findlay
94a6b51e80 Merge pull request #22371 from analogbyte/develop
make the redis-returner use a pipeline
2015-04-05 13:59:18 -06:00
Justin Findlay
908885bc49 Merge pull request #22369 from llua/zsh-completion
shell completion (zsh): bug fix and more improvements
2015-04-05 12:53:28 -06:00
Daniel Nägele
903e6f7559 make the redis-returner use a pipeline
This feature is documented here: http://redis.io/topics/pipelining
In general, this commit makes redis_return 4 times faster, which is
especially noticable when using a remote redis server with higher RTTs.

When using 'master_job_cache', this can be a major speedup when many
minions are returning at the same time, as the salt master does not
write return data once per job, but once for each minion. The saved time
is 3*RTT*n, with n being the number of minions participating in a job.

When using 'ext_job_cache', or when redis is connected via a loopback
interface the gain by using a pipeline is neglectable.
2015-04-05 19:28:37 +02:00
Joseph Hall
9f2ada4bec Merge pull request #22363 from nmadhok/vmware-driver
Adding functionality to create() in vmware cloud driver to be able to add/reconfigure network adapters
2015-04-05 08:32:42 -06:00
Eric Cook
c3feffd229 allow caching minions, modules, or salt_dir individually. 2015-04-05 10:15:46 -04:00
Eric Cook
e384066899 skip completing minions when -N or --grain-regex is used. 2015-04-05 10:10:42 -04:00
Eric Cook
e419ce7dda fix --doc, --return and --out from 68552fd408 by delaying the expansion of salt_dir. 2015-04-05 10:07:54 -04:00
Luca Corti
3aa4b3bfe6 Add recursive database owner change to postgres module/state
Add recursive owner change to postgres.db_alter and expose it via
postgres_database.present parameter.

`owner_recurse` defaults to false to avoid breaking compatibility, but
could arguably be a sane default.
2015-04-05 09:31:53 +02:00
Damian Myerscough
a42055dabe Remove duplicate test 2015-04-04 22:31:15 -07:00
Damian Myerscough
2aa0d8589e Remove duplicate function 2015-04-04 22:29:13 -07:00
Damian Myerscough
38ce75300c New features and updated unittests for new features 2015-04-04 16:01:03 -07:00
Nitin Madhok
c68a7cb2db Grammar correction in sentence 2015-04-04 17:49:44 -04:00
Nitin Madhok
4b7ac72352 Adding versionadded to docs and author 2015-04-04 17:25:27 -04:00
Nitin Madhok
28fa708cbb Adding docs to be able to specify network adapter settings 2015-04-04 17:04:07 -04:00
Nitin Madhok
552a8d98e8 Ability to add new network adapter upon creation 2015-04-04 17:03:37 -04:00
Nitin Madhok
dda50415a0 Refactoring and breaking things into simpler functions for reusability 2015-04-04 14:19:39 -04:00
Matej Susta
21ee817894 Fixed malformed locale string in localmod module 2015-04-04 19:36:43 +02:00
Nitin Madhok
13163a397a Being able to change network on existing network adapter 2015-04-04 12:56:26 -04:00
Seth House
786c598f06 Added a cmd method to the Caller() class for consistency with *Clients
This adds a new method to the Caller() class which is intended for use
from the Python API. The existing CLI behavior is untouched.

Whether to use `Caller().function()` or `Caller().sminion.functions`
causes the occasional confusion. Also using `function` parses args and
kwargs in a way intended for use from the CLI (I think) which can cause
unexpected behavior at the Python level.
2015-04-03 20:26:59 -06:00
Damian Myerscough
aefa84ae8e Unittest for firewalld features 22292 2015-04-03 18:49:40 -07:00
Justin Findlay
6ae9fe6dff Merge pull request #22348 from cachedout/document_core_opts
Document many core opts
2015-04-03 18:34:38 -06:00
Gareth J. Greenaway
ad26ca47f6 copying the kwargs argument to _kwargs, then iterating over that instead of kwargs. Otherwise kwargs could change while we're iterating. #22399 2015-04-03 17:23:23 -07:00
Mike Place
3bc74501e4 Document many core opts
Although these are documented in other places, we need somewhere that we
can store more in-depth, interface-specific information about various options.

This way, we can make implementation-specific comments which would not be approrpiate
for user configuration files.
2015-04-03 17:17:06 -06:00
Joseph Hall
77f50bfdc8 Merge pull request #22340 from nmadhok/drive-vmware
Adding functionality to create() in vmware cloud driver to be able to add/reconfigure hard disks
2015-04-03 16:29:52 -06:00
Nitin Madhok
3d54385e44 Lint 2015-04-03 17:16:30 -04:00
Nitin Madhok
d8310c4f95 Forgot to uncommentcomment stuff 2015-04-03 17:11:48 -04:00
Nitin Madhok
b227f3ec6d Fixing a bug where hard disks where being added in random order 2015-04-03 17:05:07 -04:00
Thomas S Hatch
64433d615f Merge pull request #22307 from EliRibble/fix-22306
Fix issue #22306
2015-04-03 14:59:04 -06:00
Nitin Madhok
6e93b11bb9 Removing unnecessary warning. DRS is automatically applied if it is a cluster 2015-04-03 16:13:41 -04:00
Nitin Madhok
4203c1e349 Adding functionality to create to be able to add/reconfigure hard disks 2015-04-03 16:03:52 -04:00