瀏覽代碼

Revised Pillar Example

Revising example pillar to add a minimal required values and a full
list of available values
lookup-fix-3
madflojo 10 年之前
父節點
當前提交
8785bc76af
共有 1 個檔案被更改,包括 19 行新增3 行删除
  1. +19
    -3
      pillar.example

+ 19
- 3
pillar.example 查看文件

@@ -1,11 +1,27 @@
users:
## Minimal required pillar values
auser:
sudouser: True
shell: /bin/zsh
groups:
- admin

## Full list of pillar values
buser:
fullname: B User
sudouser: True
sudo_rules:
- buser ALL=(root) /usr/bin/find
- buser ALL=(otheruser) /usr/bin/script.sh
shell: /bin/bash
prime_group:
- name: primarygroup
- gid: 500
groups:
- users
ssh_keys:
- privkey: PRIVATEKEY
- pubkey: PUBLICKEY
ssh_auth:
- ssh-rsa PUBLICKEYKEYKEY
- ssh-rsa: PUBLICKEYKEYKEY

absent_users:
- donald

Loading…
取消
儲存