Erik Johnson
b7c1e21b44
Fix reporting for service.dead states
...
service.dead states for which the "enable" param is not set to True or
False, if a service is stopped as a result of running the state, did not
have anything in the changes dict, and also had an empty comment field.
This commit improves those reporting deficiencies.
In addition, the helper function _available() in salt/states/service.py
has been modified slightly. There is no reason to add a key to the
return dict, then pop it off after running _available(). This has been
changed so that _available() returns True/False, and the refs to this
function have been changed to not pop the now-nonexistant key from the
return dict.
2013-09-27 17:14:43 -05:00
Erik Johnson
338cb06d78
Add "available" functions to service providers
...
These functions make service states more reliable, and and fix edge
cases when a provider override is used and the the overriding provider
doesn't have an available function (and this falls back to using the
default one from the detected service module).
2013-09-27 17:09:15 -05:00
Thomas S Hatch
f7628be386
Merge pull request #7485 from s0undt3ch/hotfix/zmq-version-info
...
Keep ZMQ version checking simple.
2013-09-27 08:09:18 -07:00
Pedro Algarvio
c50e417892
Keep ZMQ version checking simple.
2013-09-27 16:06:03 +01:00
Thomas S Hatch
334407f2ba
Merge pull request #7476 from terminalmage/issue7452
...
Pass through the env to file.patch state
2013-09-27 08:02:32 -07:00
Thomas S Hatch
bd846ffdbb
Merge pull request #7264 from holmboe/esxi-init
...
Introduce disk profiles and enable virt.init on an ESX host
2013-09-27 08:02:11 -07:00
Thomas S Hatch
3f0b151bda
Merge pull request #6968 from s0undt3ch/features/6962-extra-state-kwargs-error
...
State calls now fail if non-supported arguments are used. Fixes #6962 .
2013-09-27 08:01:13 -07:00
Thomas S Hatch
427477c67b
Merge pull request #7464 from evinrude/develop
...
Refactor: Symlink functionality for state file.recurse
2013-09-27 07:59:34 -07:00
Thomas S Hatch
ed37b9acfe
Merge pull request #7484 from joehealy/salt-ssh-packaging-fix-2
...
Dereferenced symbolic links when creating thin.tgz
2013-09-27 07:58:43 -07:00
Joe Healy
53732e97c2
Dereferenced symbolic links when creating thin.tgz
2013-09-27 23:13:46 +10:00
Henrik Holmboe
5324d6a7eb
Two integration tests for virt.get_profiles
...
This will test the default NIC and disk profiles for KVM and ESX.
2013-09-27 01:41:52 +02:00
Thomas S Hatch
8267957ad6
Merge pull request #7478 from basepi/zmqwarn
...
Show ZMQ version warning for < 3.2 (rather than < 3)
2013-09-26 16:40:36 -07:00
Colton Myers
e53820a982
Show ZMQ version warning for < 3.2 (rather than < 3)
2013-09-26 17:39:40 -06:00
Henrik Holmboe
3149499765
Add unit tests
...
In addition to custom ESX profile, test:
- default KVM profile
- default ESX profile
- custom KVM profile
2013-09-27 01:39:07 +02:00
Thomas S Hatch
be15c3e91c
Add a few more notes to the release notes
2013-09-26 17:34:09 -06:00
Henrik Holmboe
7ec34af486
Refactor profile loading to use YAML
...
This is done in order to more easily test configuration syntax errors,
as the the minion configuration file uses YAML.
2013-09-27 01:11:28 +02:00
Erik Johnson
2e20401302
Pass through the env to file.patch state
...
Fixes #7452 .
2013-09-26 17:59:23 -05:00
Henrik Holmboe
008a1b7fc9
Compatibility import for ElementTree
2013-09-27 00:58:17 +02:00
Henrik Holmboe
a8d258cefc
Use StringIO from salt._compat
2013-09-27 00:45:27 +02:00
Henrik Holmboe
e0897dc9a7
Fix example in docstring for virt.get_profiles
...
Also refactored some variable names.
2013-09-27 00:11:25 +02:00
Thomas S Hatch
723405af5b
Merge pull request #7475 from aboe76/salt-template
...
fix for issue #7436 no templates in salt
2013-09-26 14:57:59 -07:00
Thomas S Hatch
b7af10080f
Merge pull request #7472 from basepi/zmqwarn7454
...
Conspicuously warn the user if ZMQ < 3, Fix #7454
2013-09-26 14:57:41 -07:00
Thomas S Hatch
6eb396d636
Merge pull request #7471 from terminalmage/issue2828
...
Fix mtime option in file.find
2013-09-26 14:55:55 -07:00
Thomas S Hatch
b77a78f69f
bump max procs default up to 25
2013-09-26 15:47:55 -06:00
Niels Abspoel
7eeb8c6e20
fix for issue #7436 no templates in salt
...
One line in setup.py that says salt.templates package should be build.
2013-09-26 23:39:00 +02:00
Thomas S Hatch
ef5fcce911
Add encoding line to thin runner
2013-09-26 15:35:35 -06:00
Seth House
68748f67bb
Merge pull request #7473 from agoragames/formula-changelog-and-version
...
Adding CHANGELOG, VERSION and semantic versioning information to formula...
2013-09-26 14:07:07 -07:00
David Czarnecki
333f609397
Adding CHANGELOG, VERSION and semantic versioning information to formula documentation
2013-09-26 16:42:28 -04:00
Colton Myers
ea5d8d532d
Add warning for ZMQ < 3 to the master
2013-09-26 14:35:10 -06:00
Colton Myers
ba31d92ee1
Add warning to minion startup for ZMQ < 3
2013-09-26 14:29:54 -06:00
Erik Johnson
caeb71600c
Fix mtime option in file.find
...
While the docstring indicates that a +/- modifier is accepted for the
mtime argument to file.find, the regex that parses the mtime expression
does not match a leading plus or minus. This commit modifies that regex,
and then uses the +/- modifier to determine whether to match files older
or newer than the difference indicated by the mtime expression.
Fixes #2828 .
2013-09-26 15:21:29 -05:00
Colton Myers
89be674b47
Merge pull request #7470 from basepi/releasenotes
...
Add fixes between 0.17.0rc1 and 0.17.0 to release notes
2013-09-26 12:59:34 -07:00
Colton Myers
392e420387
Add line for salt-ssh fixes
2013-09-26 13:51:05 -06:00
Colton Myers
c466a3675b
Add bugfixes between RC and release
2013-09-26 13:49:45 -06:00
Colton Myers
5140c33d7e
Merge pull request #7467 from ranl/tomcat6_support
...
using cp.get_url instead of cp.get_file int tomcat module
2013-09-26 12:39:40 -07:00
Thomas S Hatch
b105f08d80
Add key_auto deploy more correctly
2013-09-26 13:30:30 -06:00
Thomas S Hatch
4531958da1
Fix parsing
2013-09-26 13:21:31 -06:00
Thomas S Hatch
a42457e7c4
Add key deploy option to auto deploy keys with passwd auth
2013-09-26 13:01:00 -06:00
Thomas S Hatch
a2a326438f
This will take a little more work...
2013-09-26 12:49:19 -06:00
Thomas S Hatch
e5d305a1a5
Add option to pass in default password to try
2013-09-26 12:47:29 -06:00
ranl
9a6409836c
Merge remote-tracking branch 'upstream/develop' into tomcat6_support
2013-09-26 21:38:23 +03:00
Thomas S Hatch
4c044640e2
change ssh-max-procs to max-procs
2013-09-26 12:24:43 -06:00
David Boucha
7743d1ae88
Pass in opts to sshpass
2013-09-26 11:57:51 -06:00
David Boucha
e862396094
Return stderr
2013-09-26 11:35:46 -06:00
Thomas S Hatch
ef7f3e9693
Add Salt Thin to the release notes
2013-09-26 11:18:30 -06:00
Thomas S Hatch
88082b9c74
Add initial thin runner for managing salt thin
2013-09-26 11:05:14 -06:00
Thomas S Hatch
1a3e1b0350
Add doc directory to clean routine
2013-09-26 10:44:14 -06:00
Thomas S Hatch
4276ecc456
Add ssh-max-procs to the command line options for salt-ssh
2013-09-26 10:38:40 -06:00
Thomas S Hatch
089207094a
Pull in the correct yaml libs
2013-09-26 10:19:52 -06:00
Henrik Holmboe
da3799ba19
Add unit tests for a few functions in modules.virt
...
For:
* modules.virt._disk_profile()
* modules.virt._nic_profile()
* modules.virt._gen_xml()
2013-09-26 17:21:37 +02:00