Commit Graph

8249 Commits

Author SHA1 Message Date
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
Erik Johnson
c6f7925b3a Add multiple package sources for solarispkg 2012-11-18 19:59:58 -06: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
Pedro Algarvio
09eb92ad8a Only import what's needed, cleans up code. 2012-11-19 01:21:06 +00:00
Ulrich Dangel
d46aa4c486 Fix spelling mistakes reported by lintian 2012-11-19 01:14:21 +00:00
Pedro Algarvio
6a6f256472 Make it, actually work, on python 2.6 2012-11-19 01:13:29 +00:00
Pedro Algarvio
c6dcdbe6dc Hardcore approach to travis-ci failures under python 2.6.
* We basically copied subprocess from python 2.7 and import that one instead of the python 2.6 subprocess to run the tests. Since we import it under a different name, there should be no issues with the remaining of salt's source importing the regular subprocess module.
2012-11-18 23:49:37 +00:00
Pedro Algarvio
a6584f5180 Add python 2.7 subprocess module. 2012-11-18 23:24:55 +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