Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
users-formula
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
salt
users-formula
Commits
c3b5b87f
Commit
c3b5b87f
authored
10 years ago
by
Bohdan Kmit
Browse files
Options
Downloads
Patches
Plain Diff
google auth example pillar config add; forgotten gauth state file add
parent
89d66728
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
pillar.example
+12
-0
12 additions, 0 deletions
pillar.example
users/googleauth.sls
+15
-0
15 additions, 0 deletions
users/googleauth.sls
with
27 additions
and
0 deletions
pillar.example
+
12
−
0
View file @
c3b5b87f
...
...
@@ -28,6 +28,18 @@ users:
- PUBLICKEY
ssh_auth.absent:
- 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
cuser:
...
...
This diff is collapsed.
Click to expand it.
users/googleauth.sls
0 → 100644
+
15
−
0
View file @
c3b5b87f
# 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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment