Commit Graph

6849 Commits

Author SHA1 Message Date
Thomas S Hatch
1fc20e6677 Merge pull request #2200 from FireHost/fix_windows_meminfo
Fix windows meminfo
2012-10-08 12:44:25 -07:00
Thomas S Hatch
a2f15d6bfa Merge pull request #2199 from whiteinge/salt-runnerclient
Created a RunnerClient class and altered Runner to use it instead
2012-10-08 12:38:15 -07:00
Aaron Tygart
447ffe4d5b Switch to a mapreduce for Windows mem_total 2012-10-08 14:37:36 -05:00
Seth House
fc54870279 Created a RunnerClient class and altered Runner to use it instead
Refs #2198
2012-10-08 13:35:58 -06:00
Thomas S Hatch
0d2d9318ea Merge pull request #2197 from seanchannel/develop
typo in "code-block" tag
2012-10-08 12:32:29 -07:00
Aaron Tygart
1d97e6bcbb Switch to WMI call for mem_total on Windows 2012-10-08 14:18:50 -05:00
Sean Channel
3c7d4a815f typo in "code-block" tag 2012-10-08 12:00:37 -07:00
Thomas S Hatch
77e7e86991 Merge pull request #2191 from uggedal/develop
Ability to enable/disable and start/stop templated systemd service units...
2012-10-08 09:35:55 -07:00
Thomas S Hatch
310adfe5cf Merge pull request #2194 from seanchannel/develop
typo in code_blck
2012-10-08 09:29:29 -07:00
Sean Channel
1b20fb5880 typo in code_blck 2012-10-08 09:22:38 -07:00
Eivind Uggedal
7716f1afa7 Ability to enable/disable and start/stop templated systemd service units.
Introduces the service.available function which checks that
the given service is available without checking for existance
in service.get_all.
2012-10-08 16:32:50 +02:00
Thomas S Hatch
756e6cd594 clean up some stragglers from the check_minions change 2012-10-07 23:10:49 -06:00
Thomas S Hatch
aa00565412 Reject expired tokens 2012-10-07 22:42:35 -06:00
Thomas S Hatch
84a4ab4cdd Add token_expire to master default config 2012-10-07 22:40:41 -06:00
Thomas S Hatch
2b412553d2 Add checks for passing a token 2012-10-07 22:13:49 -06:00
Thomas S Hatch
40e90d644a Add to access control 2012-10-07 21:40:35 -06:00
Thomas S Hatch
529d9796f4 Merge pull request #2189 from seanchannel/develop
remove generated files and directories on package purge
2012-10-07 20:11:22 -07:00
Thomas S Hatch
4ce3264a31 Merge pull request #2188 from romeotheriault/add-solaris-package-module
solaris package module
2012-10-07 20:08:33 -07:00
Sean Channel
04fc649ebc remove generated files and directories on package purge 2012-10-07 18:32:26 -07:00
Romeo Theriault
d8253f6db1 solaris package module 2012-10-07 15:28:52 -10:00
Thomas S Hatch
97c60e1e2c Start access control doc 2012-10-07 15:35:18 -06:00
Thomas S Hatch
2970570ce0 Fix old ref to check_minions in the local client 2012-10-07 14:19:31 -06:00
Thomas S Hatch
9f1bb48d00 hook peer system into the new minion checker 2012-10-07 12:41:55 -06:00
Thomas S Hatch
a556a44707 fix jobs runner test for new exception return 2012-10-07 10:20:03 -06:00
Thomas S Hatch
49fc4c11d1 Allow compound commands to be validated
This still need a cross check, since it will still deny some
compound commands that need to be accepted.
2012-10-07 01:38:44 -06:00
Thomas S Hatch
c80de7ead6 Make client_acl use the new system, fix #2006 2012-10-07 01:13:46 -06:00
Thomas S Hatch
d5f462e104 move the checks to an external location 2012-10-07 01:05:18 -06:00
Thomas S Hatch
b09e988202 don't need valid in the args 2012-10-07 01:04:59 -06:00
Thomas S Hatch
8aa6ebc030 Pull out the auth checks to a central location 2012-10-07 00:59:21 -06:00
Thomas S Hatch
8c9caee309 repair issue in list iteration for functions 2012-10-07 00:44:33 -06:00
Thomas S Hatch
704f9d8611 Fix case where all minions were matched 2012-10-07 00:39:00 -06:00
Thomas S Hatch
aaf6240bb9 Fix confusing opts with pre-opts structure config 2012-10-07 00:24:04 -06:00
Thomas S Hatch
e8498fc963 Update to handle "where" in eauth systems 2012-10-07 00:18:21 -06:00
Thomas S Hatch
1f9b2bfa9a Merge branch 'develop' of github.com:saltstack/salt into develop 2012-10-06 23:57:03 -06:00
Thomas S Hatch
08f6441a56 Add a basic system to prevalidate minion subsets 2012-10-06 23:56:10 -06:00
Thomas S Hatch
5f1afe8bed Merge pull request #2187 from archtaku/develop
Fix #2131
2012-10-06 22:41:04 -07:00
Thomas S Hatch
bd041c31f6 sp 2012-10-06 23:39:25 -06:00
Erik Johnson
3c835a0e49 Fix #2131
The --no-legend option is unnecessary, as each line is matched against a
regex to determine if it contains data about a unit file. The legend
does not match the regex and is therefore ignored.

Additionally, on my Fedora 16 VM I noticed that, even on a wide
terminal, unit names were being shortened with ellipses if they were
longer than a certain number of characters. Adding "--full" to the
systemctl command in _get_all_unit_files() fixed this.
2012-10-07 00:31:28 -05:00
Thomas S Hatch
af03feecee Update jobs runner to check for valid exception type 2012-10-06 23:30:11 -06:00
Thomas S Hatch
3942fa6af3 Accept the args if they are speified in the client config 2012-10-06 23:18:41 -06:00
Thomas S Hatch
58737cec56 Add a token to the data sent to the master from the client 2012-10-06 23:14:58 -06:00
Thomas S Hatch
9a59b76c21 update cmd parser to use the client config func 2012-10-06 23:11:30 -06:00
Thomas S Hatch
fa2c84317d update to new bad jid return data 2012-10-06 23:01:34 -06:00
Thomas S Hatch
7a5cead786 this is 5 now... 2012-10-06 22:59:42 -06:00
Thomas S Hatch
5aa1e847b6 update tests for changes in directory perms 2012-10-06 22:53:04 -06:00
Thomas S Hatch
3961d213f7 Change localclient to use the new client_config function 2012-10-06 22:47:10 -06:00
Thomas S Hatch
4b566dd733 Merge pull request #2186 from archtaku/develop
Add FreeBSD GECOS field support, fix Linux GECOS
2012-10-06 21:43:24 -07:00
Thomas S Hatch
aca3f507c8 Merge pull request #2185 from seanchannel/develop
backout previous auto-start change
2012-10-06 21:37:05 -07:00
Erik Johnson
d5b5914ca3 Use pwd module instead of parsing passwd entry
More pythonic to do it this way :)
2012-10-06 22:11:19 -05:00
Erik Johnson
daaa6cf350 Add FreeBSD GECOS field support, fix Linux GECOS
Modification of GECOS fields in Linux was being done with the chfn
command, part of the util-linux project. However, util-linux is not
consistent across distributions as it was forked (see util-linux-ng) and
then re-merged. The chfn command has changed in recent versions,
resulting in different command line arguments, as well as the dropping
of the "other" field.

In order to make GECOS support work across the widest range of
Linux distributions, the following has been changed:

1) Support for the "other" field has been dropped.
2) The GECOS field is manually parsed and modified using "usermod -c",
   rather than chfn.
2012-10-06 21:44:31 -05:00