Commit Graph

6745 Commits

Author SHA1 Message Date
Ryan P. Kelly
e08cd261ff Generic keyword argument usage documentation 2012-10-01 20:13:34 -04:00
Erik Johnson
56cd4ad17d use _get_cron_cmdstr() in _write_cron_lines() 2012-10-01 19:09:27 -05:00
Thomas S Hatch
90835562f4 Add initial pam authentication module 2012-10-01 16:23:05 -06:00
Thomas S Hatch
515ac15ff1 Add helper function for the pluggable auth interface 2012-10-01 16:10:44 -06:00
Pedro Algarvio
54fc7f90fa Fix log calls. 2012-10-01 21:32:50 +01:00
Thomas S Hatch
f7be7bb6b0 Allow the base path to be explicitly defined 2012-10-01 12:54:44 -06:00
Thomas S Hatch
843c70a920 Fix #2144
The default ext_pillar should be a list, not a dict
2012-10-01 09:25:05 -06:00
Thomas S Hatch
b3ab5a1b3f Merge pull request #2141 from s0undt3ch/issues/1959
Fix #1959
2012-10-01 08:14:30 -07:00
Pedro Algarvio
624fb03d9c Smaller requirements.txt also works for testing. 2012-10-01 10:21:40 +01:00
Pedro Algarvio
e87a408dcd Correct license. 2012-10-01 10:16:21 +01:00
Pedro Algarvio
4656db9517 Properly handle not being able to change user/group. Refs #1959. 2012-10-01 10:07:07 +01:00
Pedro Algarvio
1bb525c443 Properly change user and group for runas. Fixes #1959.
Previously, in order to run a command when `shell`'ing out, we relied on `su`. At some weird times, `su` failed to do it's job. Now, we rely on the fact that `subprocess.Popen` accepts an argument `preexec_fn` which is a "callable object, this object will be called in the child process just before the child is executed", which is where we change the user and/or group.
2012-10-01 09:53:14 +01:00
Thomas S Hatch
50b291ff9c Add master_tops to config.py 2012-10-01 00:31:00 -06:00
Thomas S Hatch
bdf2355e07 __salt__ removed from master tops 2012-10-01 00:30:01 -06:00
Thomas S Hatch
625c819f44 catch master tops errors 2012-10-01 00:27:02 -06:00
Thomas S Hatch
445b4be67b load master tops and pass in opts and grains as options 2012-10-01 00:22:46 -06:00
Thomas S Hatch
fcfcab4c2b only load in the master options and don't create __salt__ 2012-10-01 00:22:00 -06:00
Thomas S Hatch
60b3112379 pass in the minion opts to ext_nodes call 2012-10-01 00:21:30 -06:00
Thomas S Hatch
9d14264dee update master template with ext_nodes option 2012-09-30 23:55:49 -06:00
Thomas S Hatch
e49c241e04 Add ext_nodes master tops 2012-09-30 23:50:35 -06:00
Thomas S Hatch
1a241d326b Add master_tops option to the master config 2012-09-30 23:18:05 -06:00
Thomas S Hatch
ab07e39d20 Add initial master_top framework 2012-09-30 22:57:32 -06:00
Erik Johnson
975c5e3f9e remove unneeded lines that were used for debugging 2012-09-30 23:15:22 -05:00
Erik Johnson
d2fd77f132 Implement new cron.file state (#817)
To accomplish this, the templating logic from the file state was
abstracted, moving needed functions to the file module where they coule
be called from the cron state.
2012-09-30 23:11:14 -05:00
Thomas S Hatch
3e2ee756f9 Fix #2132 2012-09-30 16:08:59 -06:00
Thomas S Hatch
2f48e4c3e6 update debian changelog for 0.10.3 2012-09-30 16:05:48 -06:00
Thomas S Hatch
4b2d381cf2 Update man pages for 0.10.3 2012-09-30 15:58:27 -06:00
Thomas S Hatch
fff4a95b0d bump version 2012-09-30 15:55:24 -06:00
Pedro Algarvio
8d1411115d Merge branch 'develop' of github.com:saltstack/salt into issues/1959 2012-09-30 19:21:41 +01:00
Pedro Algarvio
0872852602 Add missing imports. 2012-09-30 18:41:44 +01:00
Pedro Algarvio
27bf64fbf3 Only root can run these tests. 2012-09-30 18:26:39 +01:00
Thomas S Hatch
dd076f910b Merge pull request #2138 from s0undt3ch/issues/2137
Include primary group into `user.info` groups. Fixes #2137.
2012-09-30 10:24:22 -07:00
Pedro Algarvio
73a679e070 Include primary group into user.info groups. Fixes #2137. 2012-09-30 18:01:47 +01:00
Thomas S Hatch
905f3b7fdf Merge pull request #2136 from s0undt3ch/develop
Improve/correct logging.
2012-09-30 08:57:04 -07:00
Pedro Algarvio
b962d90d19 The pip module did not have logging setup. Fix it and log to the right place. 2012-09-30 14:00:42 +01:00
Pedro Algarvio
793743e2ea The pip module did not have logging setup. Fix it and log to the right place. 2012-09-30 13:59:37 +01:00
Pedro Algarvio
00ed5ec51a Don't log the command repr, log the actual line. 2012-09-30 13:53:09 +01:00
Pedro Algarvio
b23509ad8e Properly handle runas on pip module. Refs #1959 and #1891. 2012-09-30 13:48:29 +01:00
Pedro Algarvio
4565d64cc6 Properly handle runas on pip module. Refs #1959 and #1891. 2012-09-30 13:40:02 +01:00
Pedro Algarvio
064b3a60c2 Add test case for #1959. 2012-09-30 12:20:38 +01:00
Pedro Algarvio
b93d2ca008 Fix log message. 2012-09-30 11:45:04 +01:00
Pedro Algarvio
d730892a69 Improve/correct logging.
* Change logging handler as per conversation on 25f9c5386a (commitcomment-1889286)
* Add some logging information to know who is the user starting the salt binaries.
2012-09-30 11:24:00 +01:00
Pedro Algarvio
3783d4bc1e Include the module changes for the previous commited test. 2012-09-30 11:13:12 +01:00
Pedro Algarvio
325902c169 Test to make sure we're outputting kwargs on the user.delete documentation. 2012-09-30 10:59:07 +01:00
Pedro Algarvio
905fb835cd Improve runtests.py logging and report output.
* All logging messages are now logged on a log file. If verbose is enabled, the log messages are also logged to the console.
 * The tests report now also let's us know if there were no glitches.
2012-09-30 10:40:06 +01:00
Pedro Algarvio
420bfe830b Mark destructive tests with the destructiveTest decorator. 2012-09-29 23:16:08 +01:00
Pedro Algarvio
0f7855e7fc Preserve environ when sudo'ing on Travis-CI 2012-09-29 22:34:09 +01:00
Pedro Algarvio
08503d10d2 Travis-CI should run the tests as root. 2012-09-29 22:21:16 +01:00
Thomas S Hatch
47221a4f98 Merge pull request #2135 from s0undt3ch/features/overall-tests-resume
Provide an overall tests report.
2012-09-29 13:52:21 -07:00
Pedro Algarvio
48b5e6a3c5 Travis should run the destructive tests. 2012-09-29 19:44:19 +01:00