Jeff Schroeder
6f836afafa
Remove a few instances of hardcoded /tmp in code
...
tempfile.gettempdir() is way better. The gem and rvm states are
still failing, but only because they require the "mock" python
module for running their tests.
2012-05-09 21:29:05 -07:00
Jeff Schroeder
f548eea26b
Merge pull request #1235 from therek/develop
...
Develop
2012-05-09 08:33:42 -07:00
Cezary Morga
d583eadb3c
Use FreeBSD's kenv(1) command for _hw_data and _virtual
2012-05-09 17:03:19 +02:00
Cezary Morga
7475b2a3eb
Merge remote-tracking branch 'upstream/develop' into develop
2012-05-09 15:40:32 +02:00
Cezary Morga
f3bf9c26f6
Display specified jail's configuration
2012-05-09 15:40:09 +02:00
Cezary Morga
5a8e837eee
Changed tabs to whitespaces
2012-05-09 15:13:41 +02:00
Cezary Morga
0b8f5b62ea
Missing brackets
2012-05-09 15:09:46 +02:00
Cezary Morga
463dc8a77f
If no jail name specified act on all
2012-05-09 15:01:29 +02:00
Jeff Schroeder
ba2ed5a71a
Merge pull request #1233 from herlo/master
...
Updated salt.spec to latest release
2012-05-09 05:58:23 -07:00
Cezary Morga
0dda449d4c
First take at jail management module for FreeBSD
2012-05-09 14:48:58 +02:00
Clint Savage
7955098f29
updated salt.spec to use 0.9.9.1
2012-05-08 14:01:11 -06:00
Thomas S Hatch
2485de0367
Merge pull request #1230 from uggedal/develop
...
Make onlyif and unless run with the same settings as the cmd itself.
2012-05-08 08:38:02 -07:00
Eivind Uggedal
fbca927deb
Merge branch 'develop' of git://github.com/saltstack/salt into develop
2012-05-08 17:10:32 +02:00
Eivind Uggedal
188545b7f4
Make onlyif and unless run with the same settings as the cmd itself.
...
The unless and onlyif checks should be executed with the same working
directory, user, group, shell, and environment as the command itself.
Take this example for instance:
createuser --no-superuser --no-createdb --no-createrole joe:
cmd.run:
- unless: psql --tuples-only -c 'SELECT rolname FROM
pg_catalog.pg_roles;' | grep '^joe$'
- user: postgres
Before this fix this state will fail during the unless check since its
beeing executed by root in a normal PostgreSQL setup.
In addition a bug where the effective gid was not reset when the
state returned early was fixed.
2012-05-08 16:57:19 +02:00
Thomas S Hatch
c1a455a6b2
Merge pull request #1229 from knine/develop
...
Added methods to set max days, min days, warn days, and inactive days
2012-05-07 22:15:04 -07:00
Thomas S Hatch
c19c20a878
Merge pull request #1228 from jeamland/patch-1
...
Make it clearer that a user-switch error can be solved through a configuration change
2012-05-07 22:07:58 -07:00
Jacob Albretsen
889d5d2fac
Added methods to shadow to set max days, min days, warn days, and inactive days.
2012-05-07 22:59:25 -06:00
Benno Rice
f00a8da35c
The current error message when salt is configured (as it is by default) to run as root suggests that salt can _only_ be run as root. Change this to point out that it is simply unable to switch to the target user and thus suggest that the user can be changed via configuration.
2012-05-08 14:52:15 +10:00
Thomas S Hatch
1fac953ea3
Merge pull request #1222 from baijum/code_coverage_outputs
...
ignore code coverage outputs
2012-05-07 07:10:07 -07:00
Baiju Muthukadan
58a44cb100
ignore code coverage outputs
...
Added code coverage outputs genereated by
coverage.py to .gitignore . To generate code
coverage report, run this command:
coverage run tests/runtests.py
To produce HTML coverage repot (`htmlcov/index.html`):
coverage html --omit=tests/*
To produce Cobertura compliant XML for Jenkins:
coverage xml --omit=tests/*
2012-05-07 17:08:48 +05:30
Thomas S Hatch
d2ccea1991
Merge pull request #1221 from 0xDEC0DE/develop
...
setup.py falls down, goes boom when building package for Debian Squeeze
2012-05-06 21:21:31 -07:00
Nicolas Simonds
328486caa6
setup.py falls down, does boom when building package for Debian Squeeze
2012-05-06 20:25:14 -07:00
Thomas S Hatch
7ca5c4096a
Merge pull request #1220 from msabramo/osxdesktop
...
Add an "osxdesktop" module
2012-05-06 19:25:33 -07:00
Marc Abramowitz
e8713d14e9
Add an "osxdesktop" module that implements functions in a new virtual
...
"desktop" virtual module, such as lock, screensaver, get_output_volume,
and set_output_volume
2012-05-06 19:07:19 -07:00
Thomas S Hatch
b4ee32203f
Merge pull request #1219 from vitaliyf/develop
...
Targeting->Grains did not actually document how to target minions based on grain information.
2012-05-06 12:02:43 -07:00
Vitaliy Fuks
2991ab39d6
Targetting->Grains did not actually document how to target minions based on grains data.
2012-05-06 14:46:08 -04:00
Thomas S Hatch
ca1470dbb5
Merge branch 'develop' of https://github.com/blast-hardcheese/salt into blast-hardcheese-develop
...
Conflicts:
salt/modules/cron.py
salt/modules/pip.py
salt/modules/selinux.py
2012-05-06 09:40:28 -06:00
blast_hardcheese
c897e60abc
Adding missing docstrings and examples
2012-05-06 03:43:22 -07:00
blast_hardcheese
22e731e1a6
Fixing formatting, mistargets, and terminology
...
Fixing:
- Standardizing on formatting:
CLI Example: -> CLI Example::
Usage:: -> CLI Example::
- Making sure all function names match their examples
- Other minor formatting issues
2012-05-06 03:42:22 -07:00
Thomas S Hatch
e40450e122
Merge pull request #1214 from baijum/junit_xml_report
...
JUnit like XML reporting for Jenkins
2012-05-05 10:27:45 -07:00
Baiju Muthukadan
5533fe4417
JUnit like XML reporting for Jenkins
2012-05-06 03:57:16 +05:30
Thomas S Hatch
0c10abef1c
Merge pull request #1213 from baijum/testrunner_verbose_output
...
Support verbose output for testrunner
2012-05-05 08:32:24 -07:00
Baiju Muthukadan
0605365daf
Support verbose output for testrunner
...
The option parsing logic has changed without affecting the test
invocation commandline interface.
So, it should be possible to invoke tests like this:
python tests/runtests.py -u #only run unit tests
python tests/runtests.py -m #only run module tests
python tests/runtests.py #run all tests
python tests/runtests.py -v #run all tests with verbose output
python tests/runtests.py -vu #run unit tests with verbose output
2012-05-06 02:12:47 +05:30
Thomas S Hatch
a6b331755f
Merge pull request #1212 from baijum/testrunner_boilerplate
...
Add testrunner boilerplate code to run tests
2012-05-05 06:42:57 -07:00
Baiju Muthukadan
cb5e3ea089
Add testrunner boilerplate code to run tests
2012-05-05 19:39:23 +05:30
Thomas S Hatch
825c9ab43f
Merge pull request #1211 from baijum/testrunner_exit_status
...
Exit testrunner with proper exit code
2012-05-05 06:41:47 -07:00
Baiju Muthukadan
d2d31bd8b4
non-unit tests should be able to run individually
2012-05-05 18:07:39 +05:30
Baiju Muthukadan
763a4287cf
Exit testrunner with proper exit code
2012-05-05 17:23:39 +05:30
Thomas S Hatch
df219b715b
I missed a detect_os
2012-05-04 19:08:37 -06:00
Thomas S Hatch
357a288fd1
fix docstrings
2012-05-04 18:54:26 -06:00
Thomas S Hatch
7285343d38
Merge pull request #1210 from techhat/master
...
Adding GRUB support to Salt using "boot"
2012-05-04 17:53:44 -07:00
Joseph Hall
4799e28604
Adding GRUB support to Salt, as "boot"
2012-05-04 18:51:18 -06:00
Thomas S Hatch
b0f01deb14
Convention has become a single underscore
2012-05-04 18:28:46 -06:00
Thomas S Hatch
d4c5f5056d
Add Arch in apache detect_os function
2012-05-04 18:27:03 -06:00
Thomas S Hatch
2019ba11f0
Fix #1208
2012-05-04 18:15:23 -06:00
Thomas S Hatch
bfc4fe7ee3
Merge pull request #1203 from kadel/develop
...
more generic way to do raid.list
2012-05-04 12:32:12 -07:00
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