mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2026-10-24 05:59:09 +02:00
Merge pull request #1 from stp-ip/new_structure
Restructure according to new guidelines.
This commit is contained in:
commit
28a5bde105
4 files changed
+26
-15
No files matched your search
@@ -0,0 +1,14 @@
|
|||||||
|
Copyright (c) 2013 Salt Stack Formulas
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
users
|
|
||||||
=====
|
|
||||||
|
|
||||||
Configure users via pillar
|
|
||||||
|
|
||||||
Using this state, you can configure users entirely via pillar:
|
|
||||||
|
|
||||||
users:
|
|
||||||
auser:
|
|
||||||
sudouser: True
|
|
||||||
shell: /bin/zsh
|
|
||||||
groups:
|
|
||||||
- admin
|
|
||||||
ssh_auth:
|
|
||||||
- ssh-rsa PUBLICKEYKEYKEY
|
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
users
|
||||||
|
=====
|
||||||
|
|
||||||
|
Configure users via pillar
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
users:
|
||||||
|
auser:
|
||||||
|
sudouser: True
|
||||||
|
shell: /bin/zsh
|
||||||
|
groups:
|
||||||
|
- admin
|
||||||
|
ssh_auth:
|
||||||
|
- ssh-rsa PUBLICKEYKEYKEY
|
||||||
Reference in new issue
Block a user