Commit Graph

15702 Commits

Author SHA1 Message Date
Thomas S Hatch
8444bce4fb Add saltutils thin module to generate salt-thin tarball 2013-07-20 23:36:42 -06:00
Chris Rebert
41afb19f4b add @cvrebert to AUTHORS 2013-07-20 22:13:17 -07:00
Chris Rebert
341cc8a421 OutputOptionsWithTextMixIn: copyedit warning message 2013-07-20 22:01:31 -07:00
Chris Rebert
34cb351ba2 copyedit warn_until() docstring & comment 2013-07-20 21:59:03 -07:00
Thomas S Hatch
ac8264d4d0 don't require mskpack in local/thin mode 2013-07-20 22:35:48 -06:00
Erik Johnson
38b2e3c991 Add example of watch requisite 2013-07-20 23:25:22 -05:00
Thomas S Hatch
92379fffab Return error when can't handle deployment of salt-thin 2013-07-20 21:57:57 -06:00
Thomas S Hatch
2ee797c4b2 Detect the roster location better 2013-07-20 21:44:02 -06:00
Thomas S Hatch
b93369d334 Merge pull request #6233 from johnnoone/jinja-import-yaml
Jinja import yaml
2013-07-20 19:55:54 -07:00
Erik Johnson
7a9d79a62f Merge pull request #6247 from terminalmage/docs
Improve walkthrough
2013-07-20 19:15:42 -07:00
Erik Johnson
a5627b0cc7 Tweak description of "id" minion config param 2013-07-20 21:14:59 -05:00
Erik Johnson
60faa582f8 Improve walkthrough
Several formatting changes, including links to function documentation
where appropriate. Also reworded a bit and added some additional
sections, including an example of how to verify a minion's public key
before accepting it, as requested in #6245.
2013-07-20 21:10:17 -05:00
Thomas S Hatch
1bb60ff65d Merge pull request #6243 from s0undt3ch/hotfix/docs-fix
Reclass and virtualenv docs fix
2013-07-20 18:56:13 -07:00
Thomas S Hatch
eefb73d172 Merge pull request #6242 from s0undt3ch/hotfix/replace-kwargs-with-a-proper-deprecation
Properly deprecate `check_dns`
2013-07-20 18:55:22 -07:00
Thomas S Hatch
b16d7faa12 Merge pull request #6244 from UtahDave/stormpath
Add Stormpath external authentication
2013-07-20 11:48:51 -07:00
David Boucha
2fb7911bc6 Fix docstring 2013-07-20 12:37:09 -06:00
David Boucha
ff57e31a8a Add Stormpath external_auth 2013-07-20 12:34:42 -06:00
Pedro Algarvio
09671fe759 Moved deprecation documentation to it's own document under topics/development 2013-07-20 19:18:55 +01:00
Pedro Algarvio
03f09eb99c Updated documentation since virtualenv module and state module were renamed to virtualenv_mod. 2013-07-20 18:59:49 +01:00
Pedro Algarvio
7298180379 Fix rst formatting for the reclass tops and pillar modules. 2013-07-20 18:59:49 +01:00
Pedro Algarvio
e38287f25e Document the deprecation procedure to follow and how to use the helper class. 2013-07-20 18:19:50 +01:00
Pedro Algarvio
df5ab04100 Marked specific places which need code removal on salt >= 0.18 2013-07-20 16:31:28 +01:00
Pedro Algarvio
83004fd8f8 Allow salt.utils.warn_until() to not issue the warning because we're only after the RuntimeError behaviour. 2013-07-20 16:26:47 +01:00
Pedro Algarvio
4a9532174e Replaced occurrences of warnings.warn with salt.utils.warn_until. 2013-07-20 16:15:11 +01:00
Pedro Algarvio
6070dbc43c **ALL** Salt DeprecationWarning's should be shown **once**. 2013-07-20 16:06:16 +01:00
Pedro Algarvio
eaa0b16e53 Added a helper function to raise warnings until a specified salt version.
The helper raises a warning, by default, a ``DeprecationWarning``, until the provided ``version_info`` is matched, after which, a ``RuntimeError`` will be raised to remember the developers to remove the warning.
2013-07-20 15:32:50 +01:00
Pedro Algarvio
40c5512bfb Properly deprecate check_dns.
Instead of having to leave `**kwargs` "forever" in `salt.config.minion_config` and `salt.config.apply_minion_config` in order to support API access to those which still passes `check_dns`. Support the argument but show a deprecation warning once. Leave the deprecation warning for 2 major releases. Then, finally, and properly, remove `check_dns` for good.
2013-07-20 01:39:23 +01:00
Pedro Algarvio
b03a5fcee3 Stop using the deprecated check_dns in salt.config.minion_config. 2013-07-20 01:38:09 +01:00
Thomas S Hatch
55246c3fdf Merge pull request #6241 from terminalmage/issue6020
Catch jinja2.exceptions.UndefinedError
2013-07-19 15:47:36 -07:00
Erik Johnson
cbf43412d0 Clarify templating documentation for file states 2013-07-19 17:44:17 -05:00
Erik Johnson
1e722a997e Catch jinja2.exceptions.UndefinedError
This commit suppresses a traceback that occurs when there is an
undefined jinja variable used in a template. Unfortunately, it does not
seem that this exception class captures the name of the undefined
variable, which would be useful information, so a mention of the line
number in which the exception was found will have to be sufficient.
2013-07-19 17:33:29 -05:00
Joseph Hall
8db2c7b428 Merge pull request #6239 from basepi/minefix5729
Fix some formatting in the mine
2013-07-19 12:47:03 -07:00
Colton Myers
0ec18789ff Fix some formatting in the mine 2013-07-19 13:29:12 -06:00
Thomas S Hatch
ee29168713 Merge pull request #6236 from teepark/returner-doc-change
don't make it sound like returners prevent return data going back to the master
2013-07-19 12:05:46 -07:00
Thomas S Hatch
200de9c726 Merge pull request #6235 from terminalmage/issue6230
Report on cache failures for cmd.script states
2013-07-19 11:35:15 -07:00
Travis J Parker
9bca49af76 don't make it sound like returners prevent return data going back to the master 2013-07-19 10:14:50 -07:00
Erik Johnson
085f9a98b6 Report on cache failures for cmd.script states
This commit will report that the source script failed to cache, rather
than misreporting that the script was run when it couldn't possibly
have run.
2013-07-19 11:56:46 -05:00
Xavier Barbosa
3adfc0f46b make it works for python 2.6 2013-07-19 17:19:05 +02:00
Xavier Barbosa
11ef87bd5d finished cleanup 2013-07-19 16:53:51 +02:00
Xavier Barbosa
abd031963f removed anchored yaml, does not work with CDumper... 2013-07-19 16:50:59 +02:00
Joseph Hall
d38860ee8c Merge pull request #6232 from s0undt3ch/hotfix/fix-syndic-config-function
Allow the Syndic configuration to be API friendly. Fixes #6229.
2013-07-19 07:47:53 -07:00
Xavier Barbosa
f381590256 try to fix travis exception 2013-07-19 16:24:32 +02:00
Xavier Barbosa
f8bf53b682 added doc for yaml / json tags 2013-07-19 16:02:29 +02:00
Xavier Barbosa
9288281c63 added to jinja load* filters and tags 2013-07-19 16:02:28 +02:00
Xavier Barbosa
117f76def4 added AnchoredDumper 2013-07-19 16:02:28 +02:00
Pedro Algarvio
c91717f465 master_port is minion related, not master. 2013-07-19 13:44:36 +01:00
Pedro Algarvio
e35c05796d Allow the Syndic configuration to be API friendly. Fixes #6229.
* There was no use for the defaults parameter to `syndic_config`. The proper use for defaults is to be able to pass defaults to both the minion and master configuration functions. This is now possible.
* Removed the `**kwargs` fromt the `syndic_config`, it was not needed in the first place.
* Several bad names(according to pylint) fixes.
2013-07-19 13:05:47 +01:00
David Boucha
e6f4b54634 Merge pull request #6227 from UtahDave/develop
Add missing import
2013-07-18 16:48:21 -07:00
David Boucha
2782006d54 Add missing import 2013-07-18 17:47:53 -06:00
David Boucha
123e81de74 Merge pull request #6226 from UtahDave/develop
Add missing import
2013-07-18 16:42:02 -07:00