Commit Graph

6752 Commits

Author SHA1 Message Date
Erik Johnson
8ed7e05ab4 Fix group-handling edge case
This commit fixes errors when either groups or optional_groups is not
specified in the user.present state.
2012-10-04 03:05:17 -05:00
Erik Johnson
618a8252fc remove unnecessary call to sorted() 2012-10-04 02:46:24 -05:00
Erik Johnson
f6908b90c5 Implement #2114, fix group-handling bugs
This commit accomplishes the following tasks:

1) #2114 is implemented, bringing an "optional_groups" parameter to the
   user.present state.

2) salt/modules/{groupadd,pw_group}.py had a bug in the "info" function
   which resulted in a traceback when called for a nonexistant group.
   This is now fixed.

3) A major bug with group handling in the user.present state has been
   fixed. See the below comment for a detailed explanation of the bug.

https://github.com/saltstack/salt/issues/2114#issuecomment-9132470
2012-10-04 02:32:52 -05:00
Thomas S Hatch
3430b4ede2 Fix external_auth to reflect current capabilities 2012-10-04 00:11:16 -06:00
Thomas S Hatch
73b654591d New vimrc needs some love... 2012-10-04 00:03:55 -06:00
Thomas S Hatch
283749d61a I do this too often... 2012-10-04 00:00:16 -06:00
Thomas S Hatch
039e367ebe Add external_auth to master default config 2012-10-03 23:55:28 -06:00
Thomas S Hatch
a1b67950ad Add eauth hook to use external auth calls 2012-10-03 23:52:30 -06:00
Thomas S Hatch
7ad4210ed1 Add safety to auth 2012-10-03 23:26:24 -06:00
Thomas S Hatch
01c3e3986b Add load_name method to auth 2012-10-03 23:24:23 -06:00
Thomas S Hatch
2fc9285302 Merge pull request #2159 from rentalita/0.10.3
0.10.3
2012-10-03 21:33:41 -07:00
Tom Vaughan
f7af7051f7 she who creates the debian package must be listed in the changelog 2012-10-04 01:19:20 -03:00
Tom Vaughan
88e2ad1e9c bump 2012-10-04 01:16:27 -03:00
Thomas S Hatch
f49ae7007e Merge pull request #2158 from KrisSaxton/develop
added LDAP module and ext_pillar backend
2012-10-03 17:14:18 -07:00
Kris Saxton
0c157c5ea4 added LDAP module and ext_pillar backend 2012-10-04 00:19:18 +01:00
Thomas S Hatch
9fc283b89b Merge pull request #2157 from s0undt3ch/issues/2151
Fix #2151
2012-10-03 16:10:25 -07:00
Pedro Algarvio
2b60f0f93c Log a message if neither dmidecode not lspci produce output. Refs #2151. 2012-10-03 23:34:24 +01:00
Pedro Algarvio
6db627a829 Fix bug from last commit, quiet not defined on run_all. 2012-10-03 22:20:26 +01:00
Pedro Algarvio
221e9dc11f Warn the user about grains not accurate in some situations and try to work around that. Fixes #2151.
* Worked around the egg and the chicken problem regarding imports so that we can log on the grains module.
* Added `salt.modules.cmdmod._run_all_quiet` which mimics `salt.modules.cmdmod._run_quiet` except it returns the whole command run info dict.
* If `dmidecode` is not executed properly, default to `lspci` instead of producing bad results.
2012-10-03 22:15:47 +01:00
Thomas S Hatch
ad6f2b84fb Merge branch 'develop' of github.com:saltstack/salt into develop 2012-10-03 14:04:59 -06:00
Thomas S Hatch
f75427b13e Add tops package to setup.py 2012-10-03 14:04:41 -06:00
Thomas S Hatch
dbed504d17 Add tops package to setup.py 2012-10-03 13:58:08 -06:00
Thomas S Hatch
dca280a232 Add auth package to setup.py 2012-10-03 13:57:36 -06:00
Thomas S Hatch
06d1bf52fd Merge pull request #2156 from herlo/develop
moved salt.spec to 0.10.3 and added systemd scriptlets
2012-10-03 09:56:41 -07:00
Clint Savage
0086c9d48c moved salt.spec to 0.10.3 and added systemd scriptlets 2012-10-03 10:29:00 -06:00
Thomas S Hatch
ea23a6db6a Merge pull request #2155 from herlo/develop
salt should pass numbers appropriately, but just in case
2012-10-03 09:27:31 -07:00
Thomas S Hatch
66e89045f5 Add new auth object to clearfuncs in the master 2012-10-02 16:33:57 -06:00
Thomas S Hatch
38dca085a8 Initial conf for external auth (no worky yet) 2012-10-02 15:03:30 -06:00
Thomas S Hatch
9d50e7d659 Add initial token support 2012-10-02 14:51:04 -06:00
Thomas S Hatch
c6c3091892 Add mk_token method 2012-10-02 14:21:10 -06:00
Thomas S Hatch
39ef42bf98 Add auth interface 2012-10-02 13:37:55 -06:00
Thomas S Hatch
858d086995 Args got flipped in eventlisten 2012-10-02 13:26:23 -06:00
Thomas S Hatch
b801f86bfe Merge branch 'develop' of github.com:saltstack/salt into develop 2012-10-02 12:36:49 -06:00
Thomas S Hatch
91efb21fba Add format_call function to utils 2012-10-02 12:35:09 -06:00
Thomas S Hatch
a883207d84 change auth to use gen_functions 2012-10-02 12:07:24 -06:00
Thomas S Hatch
498e112b65 Merge pull request #2154 from archtaku/develop
fix function definition for _check_recurse
2012-10-02 10:56:18 -07:00
Thomas S Hatch
8ced9ac731 Merge branch 'develop' of github.com:saltstack/salt into develop 2012-10-02 11:55:48 -06:00
Thomas S Hatch
05985b89cf Change name to token_dir 2012-10-02 11:55:19 -06:00
Thomas S Hatch
5511857758 add tokens dir to master opts 2012-10-02 11:54:15 -06:00
Erik Johnson
e88de2a6df fix function definition for _check_recurse
I had initially moved this to the file module along with other pieces
that were moved to implement issue #817, but moved it back to the file
state and did not put the leading underscore back in the function
definition.
2012-10-02 12:52:20 -05:00
Thomas S Hatch
353aa16919 Merge pull request #2153 from archtaku/develop
Fix references to __manage_mode()
2012-10-02 10:31:34 -07:00
Erik Johnson
e510916acf Fix references to __manage_mode() 2012-10-02 12:22:45 -05:00
Thomas S Hatch
70ec8677b0 Merge pull request #2140 from archtaku/develop
Implement new cron.file state (#817)
2012-10-02 09:50:20 -07:00
Thomas S Hatch
f7f053b3b2 Merge pull request #2152 from alejandrogomez/typo
Fix typo in states tutorial part 3
2012-10-02 09:33:33 -07:00
Thomas S Hatch
6a1a17ee2d Merge pull request #2150 from anentropic/patch-1
Update doc/topics/tutorials/bootstrap_ec2.rst
2012-10-02 09:26:27 -07:00
Thomas S Hatch
3deb9ceead Merge pull request #2149 from s0undt3ch/develop
Improve our tests runner.
2012-10-02 09:22:14 -07:00
Thomas S Hatch
8ca7e8368f Merge pull request #2148 from romeotheriault/update-solaris-docs-for-0.10.3
Update solaris docs for 0.10.3
2012-10-02 09:04:49 -07:00
Alejandro Gómez
0112549c00 Fix typo in states tutorial part 3 2012-10-02 18:01:44 +02:00
Clint Savage
28ee396aa1 salt should pass numbers appropriately, but just in case 2012-10-02 08:34:40 -06:00
anentropic
ee2f597c95 Update doc/topics/tutorials/bootstrap_ec2.rst
'E: Unable to locate package salt'

I think you have to install `salt-master` and `salt-minion` packages as shown on the Ubuntu install page: http://docs.saltstack.org/en/latest/topics/installation/ubuntu.html

(I assume we're on Ubuntu since we're also using Canonical CloudInit and the `apt-get` command is used)
2012-10-02 14:27:29 +02:00