Skip to content

Commit

Permalink
Updated readme. Moved updating pam.d to it's own state.sls
Browse files Browse the repository at this point in the history
  • Loading branch information
fintanmm committed Oct 5, 2015
1 parent 8fe49ef commit b7a8b86
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 8 deletions.
17 changes: 16 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,19 @@ Available states
``pam.ldap``
------------

Configure ldap authentication.
Configures mkhomedir module.

``pam.mkhomedir``

Enable user home creation.

``pam.ccreds``
------------

Configures pam module to cache authentication credentials.

``pam.update``
------------

Updates pam.d files.

7 changes: 0 additions & 7 deletions pam/mkhomedir.sls
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,3 @@
- source: salt://pam/files/mkhomedir
- user: root
- group: root
pam-auth-update:
cmd.run:
- name: DEBIAN_FRONTEND=noninteractive pam-auth-update --force
#TODO: pam-config
#TODO: authconfig
10 changes: 10 additions & 0 deletions pam/update.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{% from "pam/map.jinja" import pam with context %}
{% if grains.os_family == 'Debian' %}
pam-auth-update:
cmd.run:
- name: DEBIAN_FRONTEND=noninteractive pam-auth-update --force
{% endif %}
#TODO: pam-config
#TODO: authconfig

0 comments on commit b7a8b86

Please sign in to comment.