Commit Graph

12468 Commits

Author SHA1 Message Date
Thomas S Hatch
e0dcc08f98 Add docstring to master_pub method 2013-04-27 10:14:43 -06:00
Thomas S Hatch
473154f488 Add user reporting to the job cache reports
This fixes #4301, basically we already log the originating user,
and have done so for about a year, we just did not allow for the
standard way of reading the log to print out the user
2013-04-27 10:08:27 -06:00
Thomas S Hatch
7952ada1dc Change name to revoke_auth for consistency
Ref #4240
2013-04-27 10:01:36 -06:00
Thomas S Hatch
9623562b82 Fix #4240
saltutil.revoke_key will allow a minion to revoke its own key on the master
2013-04-27 09:57:16 -06:00
Thomas S Hatch
ae6068bf9b Add revoke key method to master controller 2013-04-27 09:49:30 -06:00
Thomas S Hatch
b855a7687e Merge pull request #4626 from s0undt3ch/develop
Improve logging logic in `salt/template.py`. Allow the test suite to set/handle more logging levels
2013-04-27 08:37:19 -07:00
Pedro Algarvio
3ce1226fd6 Merge pull request #4625 from terminalmage/apt_optimization
apt: replace aptitude with grep-available
2013-04-27 04:40:15 -07:00
Pedro Algarvio
a43e0132f1 Improve logging logic in salt/template.py. Allow the test suite to set more logging levels. 2013-04-27 09:56:24 +01:00
Erik Johnson
2f49680348 apt: replace aptitude with grep-available
This commit replaces the call to aptitude within list_pkgs with
grep-available, which dramatically speeds up virtual package detection.

This replaces the dependency on aptitude for virtual package detection
with a dependency on dctrl-tools.
2013-04-27 01:45:23 -05:00
Joseph Hall
65a6cb06da Merge pull request #4624 from s0undt3ch/develop
Fix indentation, again. Apparently I lost this change somehow.
2013-04-26 21:11:58 -07:00
Pedro Algarvio
e15712efb1 Fix indentation, again. Apparently I lost this change somehow. 2013-04-27 02:00:27 +01:00
Thomas S Hatch
d9affa67e6 Moved render log data to better location 2013-04-26 16:56:50 -06:00
Thomas S Hatch
4e037467a8 Log rendered output at each stage 2013-04-26 16:56:09 -06:00
Thomas S Hatch
d67b686713 Merge pull request #4608 from s0undt3ch/develop
Fix issues with salt's file state and file module
2013-04-26 15:46:11 -07:00
David Boucha
6c1dba116a Merge pull request #4619 from UtahDave/develop
fix missing letter in module name
2013-04-26 15:22:48 -07:00
David Boucha
b4f65d338e fix missing letter in module name 2013-04-26 16:20:56 -06:00
Thomas S Hatch
1c41c5e159 Add debug output for jinja templates 2013-04-26 16:06:05 -06:00
Thomas S Hatch
e46180f1e8 untested fix for windows multiproc minion 2013-04-26 13:32:31 -06:00
Thomas S Hatch
b7f6becdc8 Fix spelling error 2013-04-26 13:03:37 -06:00
Thomas S Hatch
3b9b831875 Check the gitpython version, fix #4595 2013-04-26 12:58:28 -06:00
Thomas S Hatch
23f5eb4f96 Fix #4510 2013-04-26 12:28:01 -06:00
Thomas S Hatch
f22118e3ae Merge pull request #4603 from geops/postgres.owner_to
Command to change the ownership of all relations in a database
2013-04-26 11:10:08 -07:00
Thomas S Hatch
54eb32f664 cover the case of a ./../ expose in the fileserver 2013-04-26 11:14:35 -06:00
Thomas S Hatch
70704213d9 Fix security issue where minions can access any file on the master 2013-04-26 10:30:28 -06:00
Joseph Hall
698a109d5c Merge pull request #4616 from UtahDave/develop
Bump windows installer version
2013-04-26 09:07:56 -07:00
David Boucha
c0aef8bccd Bump windows installer version 2013-04-26 10:03:28 -06:00
Seth House
23f52b5b2b Revert "Added sanity-check that requested path lives inside file_roots"
This reverts commit 843fb62884.
2013-04-26 09:51:44 -06:00
Pedro Algarvio
89884a0c11 Merge pull request #4615 from kinware/versions-report-2
Add test.versions_information(). Fix stray print() call in version.py.
2013-04-26 06:59:19 -07:00
Kinware AB
03f3de00bc Move imports to top level in test module. 2013-04-26 15:57:20 +02:00
Kinware AB
d71afa107a Add test.versions_information(). Fix stray print() call in version.py. 2013-04-26 13:42:20 +02:00
Seth House
843fb62884 Added sanity-check that requested path lives inside file_roots 2013-04-26 00:34:25 -06:00
Colton Myers
87ab11e8ee Merge pull request #4612 from basepi/jinjafix4236
Clean up some PEP8 stuff
2013-04-25 19:02:51 -07:00
Thomas S Hatch
7d25b5ed42 Merge pull request #4604 from ranl/develop
enable the quiet argument in cmd state and module
2013-04-25 18:27:49 -07:00
Thomas S Hatch
0072cb951c Merge pull request #4601 from terminalmage/version_wildcards
Add glob support to pkg.version
2013-04-25 18:25:11 -07:00
Pedro Algarvio
e02f6d5b3d Fix salt.states.file.directory(). The logic was not accurate. 2013-04-25 21:00:12 +01:00
Pedro Algarvio
a4e9e196a3 Improve information available and handle IndexError in our salt asserts mix-in. 2013-04-25 20:59:34 +01:00
Joseph Hall
4ea130b03c Merge pull request #4609 from UtahDave/fix_cmd.script_windows
Fix cmd.script on Windows.
2013-04-25 12:59:13 -07:00
Pedro Algarvio
abd2dc23f1 Handle publish tests a little better. Still not fixed though. 2013-04-25 20:58:54 +01:00
Pedro Algarvio
2c24252d3c Handle SaltReqTimeoutError in a cleaner way. 2013-04-25 20:55:52 +01:00
David Boucha
726e12d735 Fixed a couple logic errors 2013-04-25 13:53:09 -06:00
David Boucha
7a9c98c155 just cache the script on windows 2013-04-25 12:00:08 -06:00
Pedro Algarvio
224dd33bf1 We want to create path not dirname(path). 2013-04-25 18:20:27 +01:00
Pedro Algarvio
7ea5557893 Fix my wrong interpretation of salt.modules.file.makedirs(). 2013-04-25 18:19:17 +01:00
David Boucha
523b0ef409 Merge pull request #4607 from techhat/gcel
Adding GCE Linux to grains
2013-04-25 09:36:44 -07:00
Joseph Hall
05af539cd4 Adding Google Compute Engine Linux to grains 2013-04-25 10:34:38 -06:00
Pedro Algarvio
55b166f38c Fix issues around salt.modules.file, salt.states.files and respective tests.
* Updated `salt.modules.file.makedirs` to properly work. Any path passed to this function should be a directory, ie, if `/tmp/foo/bar` is passed, `/tmp/foo/bar` should be a directory, not `/tmp/foo`.
* Since `salt.modules.file.makedirs` was updated, `salt.states.file.append` needed to be updated to pass the proper directory to create.
* Minor formatting change
2013-04-25 16:36:19 +01:00
ran
3b37248d96 enable the quiet argument in cmd state and module 2013-04-25 09:50:25 +03:00
Nico Mandery
f4e96cd455 Merge branch 'develop' of git://github.com/saltstack/salt into postgres.owner_to
* 'develop' of git://github.com/saltstack/salt: (101 commits)
  Finish the required support for #4587
  Fix pip requirements file issue. Refs #4446, #4361 and probably #1615.
  Join the processes in order to wait for them to finish.
  disable default service module on Arch ARM
  A faster approach to the same problem.
  Make sure proper number of parameters
  Catch returns that do not have hosts
  Another spot where we don't need os.sep
  Don't use os.sep here. Always / on master
  Clean up very old string concatination
  Provide the necessary code changes to support #4587. Again, sorry @kinware for my rudeness.
  Fix doc string in test.versions_report(). Cosmetic fix.
  Add support in test module for getting versions report from minions.
  Clean up 'salt --versions-report' after patch from s0undt3ch (thanks!).
  Add libzmq version to --versions-report output.
  Modified nginx module
  Fix version
  move the aes key location so that the correct NEW key is sent
  enable pacman pkg module for Arch ARM
  Style updates for cmdmod execution module
  ...
2013-04-25 08:45:08 +02:00
Pedro Algarvio
ebcc005c66 Remove stray print. 2013-04-25 07:15:03 +01:00
Erik Johnson
8afbe9ca39 Add glob support to pkg.version
This commit will allow one to use wildcards in the argument(s) to
pkg.version, which will enable one to get the version of all packages
that match the pattern. Multiple arguments to pkg.version are still
allowed.
2013-04-24 21:07:42 -05:00