Commit Graph

50421 Commits

Author SHA1 Message Date
Erik Johnson
8ef2406fc1 Lint fixes 2015-04-07 13:17:31 -05:00
Erik Johnson
d9f082a56e Remove extraneous comment 2015-04-07 12:43:56 -05:00
Frank Klaassen
6cfaeda3a7 Lint 2015-04-07 19:34:42 +02:00
Erik Johnson
d0d6770478 Remove reference to package changes
pkg states are no longer the only ones that use the "old"/"new"
dictionary method of reporting changes. This change to our logging
removes the reference to packages being changed, to reduce confusion.
2015-04-07 12:18:30 -05:00
Gareth J. Greenaway
057677e521 Fixing the case where user=salt and trust_key attempts to run the gpg binary as the user salt, which doesn't exist. Instead we set the homeDir as config-location/gpgkeys and run the command as root. Also updating documention to reflect location for default 'salt' controlled GPG keys as config-location/gpgkeys rather than config-location/gpg 2015-04-07 10:18:17 -07:00
Erik Johnson
57a6b32c99 Add IP address validation functions to salt.utils.network 2015-04-07 12:14:56 -05:00
Erik Johnson
5c2d621cd1 Add input validation, bugfixes
Also changed input format for several items in the create/start
functions to make it more like the Docker CLI (and also easier to
compare in the states).
2015-04-07 12:14:48 -05:00
Erik Johnson
fdf0c1b280 Add new functions to assist with docker state/module 2015-04-07 12:14:42 -05:00
Thomas S Hatch
7c5403613b Merge pull request #22398 from cachedout/catch_failed_engine
Catch and log failed engine starts
2015-04-07 09:34:23 -06:00
Frank Klaassen
26342424ed Do not look for disk underneath config 2015-04-07 17:12:44 +02:00
Thomas S Hatch
8c2878cacd Merge pull request #22347 from tsaridas/boto_cfn
Boto cfn
2015-04-07 09:10:25 -06:00
Mike Place
668fa35e00 Lint 2015-04-07 08:32:54 -06:00
Nicole Thomas
5d2d040d79 Merge pull request #22413 from rallytime/merge-22397
Merge #22397 with pylint fix
2015-04-07 08:07:45 -06:00
rallytime
012853a1c6 Whitespace fix 2015-04-07 07:36:43 -06:00
Mike Place
775b3dc791 Catch and log failed engine starts 2015-04-06 19:05:26 -06:00
Mike Place
dd080aaa9b More overstate deprecation warnings 2015-04-06 19:00:37 -06: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
Andrea Redi Tsarida
4f2d368bc1 remove newline 2015-04-05 09:39:18 +02:00
Andrea-Redi Tsarida
5b19d110fc pylint + syntax 2015-04-05 09:32:33 +02: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
Andrea-Redi Tsarida
4906c75c3a pylint 2015-04-05 09:26:52 +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