Commit Graph

8048 Commits

Author SHA1 Message Date
Thomas S Hatch
1e8a47afe3 Make requisites fail correctly 2012-11-19 16:46:29 -07:00
Thomas S Hatch
5f67934da0 Make stage outputter a little cleaner 2012-11-19 16:45:53 -07:00
Thomas S Hatch
16c68df922 update state runner to use overstate outputter 2012-11-19 16:13:31 -07:00
Thomas S Hatch
36af8c9800 Add outputter to display overstate stages 2012-11-19 16:12:54 -07:00
Thomas S Hatch
c3360bbc43 Merge pull request #2641 from jhutchins/develop
Develop
2012-11-19 14:59:15 -08:00
Jeff Hutchins
f779fc268c Speed up version list.
We should not have to list and parse ALL the packages on a system
to get the version for a single package.
2012-11-19 15:53:43 -07:00
Jeff Hutchins
a8775aef2a Fix typo that breaks pkg.available_version 2012-11-19 15:52:27 -07:00
Thomas S Hatch
93ff73ab62 clean up overstate output data 2012-11-19 15:41:18 -07:00
Thomas S Hatch
6308be7857 Clean up highstate output in state.over runner 2012-11-19 15:40:37 -07:00
Thomas S Hatch
669b6ebda0 use iter method in the state runner 2012-11-19 14:34:37 -07:00
Thomas S Hatch
989acbed86 Add stages_iter to overstate object 2012-11-19 14:32:39 -07:00
Thomas S Hatch
2c1dd66aec minor comment clean up 2012-11-19 14:22:17 -07:00
Pedro Algarvio
bd632945d6 Get a log instance setup before using it. PEP-8. 2012-11-19 16:21:49 +00:00
Pedro Algarvio
3121666c0e Merge pull request #2634 from axiom/develop-fix-documentation
Fix documentation of network runner
2012-11-19 05:05:56 -08:00
Johannes Martinsson
549184dcec Fix documentation of network runner
The documentation of the 'wollist' command in the network runner were
missing the command name in the example invocations.
2012-11-19 13:16:37 +01:00
Thomas S Hatch
fcfa0b9622 Print and return the correct data 2012-11-19 00:11:19 -07:00
Thomas S Hatch
025c7abd11 Add _check_result method to overstate 2012-11-19 00:08:30 -07:00
Thomas S Hatch
93d76ed682 Fix oversight in cmd_iter seq 2012-11-18 23:44:44 -07:00
Thomas S Hatch
6b55e5bdf3 minor fixes to overstate module 2012-11-18 23:39:10 -07:00
Thomas S Hatch
24b802d11d Add overstate runner, ready for initial testing 2012-11-18 22:39:40 -07:00
Thomas S Hatch
1f4c168733 Read in overstate from class argument 2012-11-18 22:26:37 -07:00
Thomas S Hatch
aab3ce9f92 Add highstate support tot he over state 2012-11-18 22:19:04 -07:00
Thomas S Hatch
f8e951309c Merge pull request #2630 from kjkuan/develop
Update docs about YAML
2012-11-18 20:04:54 -08:00
Thomas S Hatch
4cfe63afd4 Merge pull request #2628 from mrud/mru/spelling
Fix spelling mistakes reported by lintian
2012-11-18 20:02:09 -08:00
Thomas S Hatch
c2c5e53de7 Merge pull request #2627 from FireHost/add_grains_sanitize
Add grains sanitize
2012-11-18 20:00:44 -08:00
Jack Kuan
190f4bd828 Fix a case when a single shorthand state is declared without arguments.
Also, now automatically adds the name argument, if one is not provided,
for states declared under a dot-prefixed state id.
2012-11-18 22:02:24 -05:00
Jack Kuan
af93e5f2b4 Merge branch 'develop' of github.com:saltstack/salt into develop 2012-11-18 20:23:12 -05:00
Jack Kuan
a284732328 Update docs about troubleshooting YAML. 2012-11-18 20:22:41 -05:00
Ulrich Dangel
d46aa4c486 Fix spelling mistakes reported by lintian 2012-11-19 01:14:21 +00:00
Aaron Tygart
4028672c44 Add sanitization to nodename and localhost grains 2012-11-18 17:05:39 -06:00
Thomas S Hatch
b118b97938 Merge pull request #2626 from FireHost/fix_virtualenv_requirements
Fix virtualenv requirements
2012-11-18 14:32:24 -08:00
Thomas S Hatch
1ac4c98672 Merge pull request #2625 from archtaku/develop
Add multiple package sources for apt
2012-11-18 14:31:00 -08:00
Aaron Tygart
2af5753549 Add environment to virtual requirements file cache 2012-11-18 15:48:43 -06:00
Erik Johnson
f92ab43a16 update docstring 2012-11-18 13:51:57 -06:00
Erik Johnson
884efd11cb Add multiple package sources for apt
Also log anything sent to stderr when apt-get/dpkg is run. Added this
additional logging to other pkg providers as well.
2012-11-18 13:25:59 -06:00
Pedro Algarvio
863bc7ef37 Add missing import. 2012-11-18 19:06:17 +00:00
Pedro Algarvio
c5fe83272f Even more open() to salt.utils.fopen(). 2012-11-18 18:57:10 +00:00
Thomas S Hatch
51e2ca5220 Merge pull request #2624 from giantlock/develop
some minor fixes for svn module
2012-11-18 09:23:50 -08:00
Thomas S Hatch
a375839be9 Merge pull request #2622 from archtaku/develop
Multi-source added for yumpkg{,5}.py
2012-11-18 09:14:20 -08:00
Denis Generalov
e6b99a8329 *) username was passd twice in commit(), remove() and status()
*) pep8 fix
2012-11-18 19:57:51 +04:00
Erik Johnson
5a6e7c5bd1 Multi-source added for yumpkg{,5}.py
Plus some miscellaneous cleanup.
2012-11-18 02:40:33 -06:00
Thomas S Hatch
c1cf1d5ca9 Merge pull request #2621 from archtaku/develop
More multiple package source goodness
2012-11-17 23:26:10 -08:00
Thomas S Hatch
cddda9f9f0 Initial commit towards overstate 2012-11-18 00:25:27 -07:00
Thomas S Hatch
2890ccbfe0 Make cmd_iter use the same seq as cmd_cli 2012-11-18 00:25:27 -07:00
Erik Johnson
b96e4802a5 More multiple package source goodness
pacman.py now done. Additionally, common functions needed for
pkg.install have been broken out into pkg_resource.py. zypper.py has
been updated to use the functions in pkg_resource.py.

Yay, code re-use!
2012-11-18 01:07:25 -06:00
Thomas S Hatch
c0f3c280cf Merge pull request #2620 from kjkuan/develop
Fix issue #2592
2012-11-17 21:24:10 -08:00
Jack Kuan
4d26300dcf Merge branch 'develop' of github.com:saltstack/salt into develop 2012-11-18 00:19:58 -05:00
Jack Kuan
59364d02a6 Fix issue #2592.
Added an extra, optional, 'tmplpath', keyword argument to template
functions and renderers. The argument should be provided to the
renderers as a hint when the source of a template is from a file.
2012-11-18 00:13:21 -05:00
Thomas S Hatch
754ab1de73 Merge pull request #2619 from archtaku/develop
Implement multiple package sources (zypper)
2012-11-17 20:07:53 -08:00
Erik Johnson
cd010f4dc1 Implement multiple package sources (zypper)
In addition, I have completed the Suse audit (#2436). Everything looks
OK, however I have only tested on OpenSUSE 12.2.

The below pastebins contain thorough results:

zypper.py module: http://pastebin.com/G2MCPR6Z
Suse grains: http://pastebin.com/Du03x50H
2012-11-17 19:41:44 -06:00