0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2024-11-30 21:45:43 +01:00

google auth example pillar config add; forgotten gauth state file add

This commit is contained in:
Bohdan Kmit 2015-01-15 13:28:51 +00:00
parent 89d6672887
commit c3b5b87fb2
2 changed files with 27 additions and 0 deletions

View File

@ -28,6 +28,18 @@ users:
- PUBLICKEY - PUBLICKEY
ssh_auth.absent: ssh_auth.absent:
- PUBLICKEY_TO_BE_REMOVED - PUBLICKEY_TO_BE_REMOVED
google_auth:
ssh: |
SOMEGAUTHHASHVAL
" RESETTING_TIME_SKEW 46956472+2 46991595-2
" RATE_LIMIT 3 30 1415800560
" DISALLOW_REUSE 47193352
" TOTP_AUTH
11111111
22222222
33333333
44444444
55555555
## Absent user ## Absent user
cuser: cuser:

15
users/googleauth.sls Normal file
View File

@ -0,0 +1,15 @@
# vim: sts=2 ts=2 sw=2 et ai
{% from "users/map.jinja" import users with context %}
googleauth-package:
pkg.installed:
- name: {{ users.googleauth_package }}
- require:
- file: {{ users.googleauth_dir }}
{{ users.googleauth_dir }}:
file:
- directory
- user: root
- group: {{ users.root_group }}
- mode: 600