Commit Graph

4420 Commits

Author SHA1 Message Date
Thomas S Hatch
1eee53164e Merge pull request #1206 from LinuxJedi/develop
Use tag for module paths
2012-05-04 11:19:12 -07:00
Thomas S Hatch
64a8b82f9c Merge pull request #1204 from uggedal/develop
Fix bug and clean up version handling in pacman.install.
2012-05-04 09:56:58 -07:00
Thomas S Hatch
c07b5ac1a0 Merge pull request #1202 from baijum/winservice_whitespace
replace tab with space and minor cleanup for pep8
2012-05-04 09:47:51 -07:00
Thomas S Hatch
330841481d Merge pull request #1201 from baijum/whitespace
replace tab with space and trailing whitespace fix
2012-05-04 09:47:06 -07:00
Baiju Muthukadan
f280edfdf2 replace tab with space and minor cleanup for pep8 2012-05-04 20:34:03 +05:30
Baiju Muthukadan
a44d181c9a replace tab with space and trailing whitespace fix 2012-05-04 20:10:32 +05:30
Andrew Hutchings
47cb724dae Use tag for module paths
Using ext_type does not match the option to the variable.
Tag should probably be used instead.
Also updated the tag name for 'states' so that is compatible with the
'states_dirs' option.

Fixes issue #1205
2012-05-04 13:51:10 +01:00
Tomas Kral
1c60b05807 remove debugging print 2012-05-04 13:50:42 +02:00
Eivind Uggedal
11a896b14d Fix bug and clean up version handling in pacman.install.
Since the check for 'version' in kwarg did not check that the version
value was not None installation of new packages through the pkg
state (which always passes version as a kwarg) resulted in the following
commandline if no version was specified in the state file:

    pacman -Syu --noprogressbar --noconfirm "bash-completion=None"
2012-05-04 13:47:31 +02:00
Tomas Kral
3aa7ac0651 more generic way to do raid.list 2012-05-04 13:02:12 +02:00
Thomas S Hatch
6bcc64da7b Merge pull request #1194 from mnemonikk/add-tests-to-rvm-module
Add tests to rvm and gem module and state
2012-05-03 20:35:00 -07:00
Thomas S Hatch
3fef845cef Merge pull request #1200 from msabramo/brew
Make `brew` module conform better to the `pkg` interface
2012-05-03 19:29:23 -07:00
Marc Abramowitz
07c99bfafd Make the output of brew.install more like yumpkg.install 2012-05-03 17:05:03 -07:00
Marc Abramowitz
1101d230d9 Add commands: list_upgrades, upgrade_available 2012-05-03 15:25:58 -07:00
Thomas S Hatch
f7d29b7bf1 Merge pull request #1197 from msabramo/launchctl
Support for managing services on MacOS using launchctl
2012-05-03 09:47:19 -07:00
Thomas S Hatch
3417e955f6 Merge pull request #1196 from msabramo/network.ipaddr-with-no-args
Allow network.ipaddr to be called with no args
2012-05-03 09:46:17 -07:00
Marc Abramowitz
61444c26b7 Support for managing services on MacOS using launchctl
Sample usage:

$ sudo salt 'SCML-MarcA.local' service.status homebrew.mxcl.mongodb marca
{'SCML-MarcA.local': True}
$ sudo salt 'SCML-MarcA.local' service.stop homebrew.mxcl.mongodb marca
{'SCML-MarcA.local': ''}
$ sudo salt 'SCML-MarcA.local' service.status homebrew.mxcl.mongodb marca
{'SCML-MarcA.local': False}
$ sudo salt 'SCML-MarcA.local' service.start homebrew.mxcl.mongodb marca
{'SCML-MarcA.local': ''}
$ sudo salt 'SCML-MarcA.local' service.status homebrew.mxcl.mongodb marca
{'SCML-MarcA.local': True}
2012-05-03 08:48:28 -07:00
Marc Abramowitz
a5b6634d6a Allow network.ipaddr to be called with no args 2012-05-03 07:32:00 -07:00
Thomas S Hatch
dfe4ec6458 Merge pull request #1195 from kadel/develop
add X-Python-Version to debian/control file
2012-05-03 06:50:32 -07:00
Thomas S Hatch
406785e547 Merge pull request #1192 from msabramo/osx-brew
Module for package management with Homebrew on OS X
2012-05-03 06:45:11 -07:00
Tomas Kral
d88dc7a70b add X-Python-Version to debian/control file 2012-05-03 13:12:53 +02:00
Anselm Helbig
d02f0beaee added proper unit tests for gem and rvm modules and states; fixed bugs in the rvm module's install function and in the rvm state's handling of ruby versions 2012-05-03 11:33:16 +02:00
Marc Abramowitz
4c7046773c Module for package management with Homebrew on OS X 2012-05-02 23:50:58 -07:00
Thomas S Hatch
b156a17a48 Merge pull request #1190 from baijum/unused_imports
remove unused imports, Fix #1189
2012-05-02 21:09:27 -07:00
Baiju Muthukadan
328052a499 remove unused imports, Fix #1189 2012-05-03 15:05:23 +05:30
Thomas S Hatch
468df71441 Merge pull request #1188 from baijum/import_fnmatch
Add missing 'fnmatch' import
2012-05-02 20:20:25 -07:00
Baiju Muthukadan
e1c3dfb881 Add missing 'fnmatch' import 2012-05-03 14:10:08 +05:30
Thomas S Hatch
653bb28e9a Merge pull request #1187 from msabramo/fix-pip-freeze
Fix pip.freeze and add a test for it.
2012-05-02 19:13:57 -07:00
Marc Abramowitz
607eab025a Fix pip.freeze and add a test for it. 2012-05-02 19:07:21 -07:00
Thomas S Hatch
08f05f87fb Merge pull request #1168 from rentalita/develop
Build .deb's within the salt source code tree.
2012-05-02 15:28:00 -07:00
Jeff Schroeder
b1d3f04e4a Merge pull request #1183 from brettbuddin/fix-dpkg-list
Quote and brace escaping
2012-05-02 15:12:13 -07:00
Tom Vaughan
48b94cf7f5 per the dpkg-source manual 2012-05-02 17:56:30 -04:00
Tom Vaughan
5f756d4b62 Build .deb's within the salt source code tree.
The salt repo on GitHub is being imported into Launchpad. Please see:
https://launchpad.net/salt.

The source code is imported periodically by Launchpad. And each import
results in a .deb being built (actually several .deb's). Please see:
https://launchpad.net/~saltstack/+archive/salt.

The packages that are there now were manually uploaded. No new .deb's
have been built. Thus this commit.

This commit bumps the version number so that the package version will
be greater than the package version currently on Launchpad. (This
number doesn't need to be bumped on each commit. Launchpad will add an
additional incremental package version number to each .deb it
creates.)

Also, this commit deletes "debian/source/format". I'm no Debian
package expert, but this seems to indicate to the Debian build tools
that the .deb is being created using a tarball. With this removed
we're able to build a .deb using the source code tree instead. For
example, `debuild -uc -us -i -I` will do the trick.

This means that we'll be creating daily builds of salt on
Launchpad. What's on Launchpad now was until recently the most recent
stable release. This could be a bit of a surprise for people. We may
want to have "stable", "testing", and "unstable" PPA's.

See also: https://launchpad.net/~saltstack/+archive/salt
2012-05-02 17:46:11 -04:00
Brett Buddin
cc9e71840a Literal braces in this string. 2012-05-02 16:36:35 -04:00
Brett Buddin
001a804140 Fix for quotes syntax error. 2012-05-02 16:17:47 -04:00
Thomas S Hatch
d06592a3ac Merge pull request #1181 from brettbuddin/fix-dpkg-list
Use dpkg-query instead of dpkg.
2012-05-02 12:56:28 -07:00
Brett Buddin
cca1a938b6 Use dpkg-query instead of dpkg.
dpkg --list will truncate the names of packages based on the size of
the window the command was ran in. This shouldn't do that.
2012-05-02 15:45:42 -04:00
Thomas S Hatch
b6a80a728f Add requisite doc 2012-05-02 13:26:24 -06:00
Thomas S Hatch
96bbcbf409 It is better to cross call cmd.run than use subprocess
This way all of the command executions get logged and managed in a
consistent way.
2012-05-02 13:04:59 -06:00
Thomas S Hatch
0150276234 Merge pull request #1180 from baijum/missing_imports
Added missing imports (re, subprocess)
2012-05-02 12:01:45 -07:00
Baiju Muthukadan
e88dc6105b Added missing imports (re, subprocess) 2012-05-03 05:57:40 +05:30
Jeff Schroeder
3ce17b94ee Merge pull request #1174 from baijum/import_random
Add missing import of random module
2012-05-02 09:45:00 -07:00
Baiju Muthukadan
9f9d4590eb Add missing import of random module 2012-05-03 03:06:10 +05:30
Jeff Schroeder
1d035d88e8 Merge pull request #1175 from baijum/typo_comment
Fix typo s/cpmment/comment
2012-05-02 09:44:26 -07:00
Baiju Muthukadan
b8d4c41953 Fix typo s/cpmment/comment 2012-05-03 03:17:16 +05:30
Jeff Schroeder
b2d28d136e Merge pull request #1176 from msabramo/travis-badge
Add travis badge to README.rst
2012-05-02 09:44:03 -07:00
Jeff Schroeder
19bccdad3c Merge pull request #1177 from msabramo/gitignore-egg-info
Add *.egg-info to .gitignore
2012-05-02 09:43:45 -07:00
Jeff Schroeder
63eef78dd0 Merge pull request #1178 from baijum/typo_resp
Fix typo s/reps/resp (response object)
2012-05-02 09:43:29 -07:00
Baiju Muthukadan
43842e536a Fix typo s/reps/resp (response object) 2012-05-03 03:29:46 +05:30
Marc Abramowitz
79463a9735 Add travis badge to README.rst 2012-05-02 09:31:02 -07:00