Filip Pytloun | a189857 | 2016-01-25 22:35:13 +0100 | [diff] [blame] | 1 | linux: |
| 2 | system: |
| 3 | enabled: true |
| 4 | cluster: default |
Petr Michalec | 1c4c8d8 | 2017-02-28 19:09:21 +0100 | [diff] [blame] | 5 | name: linux |
Filip Pytloun | a189857 | 2016-01-25 22:35:13 +0100 | [diff] [blame] | 6 | domain: local |
| 7 | environment: prd |
Petr Michalec | 1c4c8d8 | 2017-02-28 19:09:21 +0100 | [diff] [blame] | 8 | hostname: system.pillar.local |
Filip Pytloun | a189857 | 2016-01-25 22:35:13 +0100 | [diff] [blame] | 9 | apparmor: |
| 10 | enabled: false |
Filip Pytloun | 8296bb9 | 2016-02-19 18:42:09 +0100 | [diff] [blame] | 11 | haveged: |
| 12 | enabled: true |
Filip Pytloun | a189857 | 2016-01-25 22:35:13 +0100 | [diff] [blame] | 13 | prompt: |
Petr Michalec | 1c4c8d8 | 2017-02-28 19:09:21 +0100 | [diff] [blame] | 14 | default: "linux.ci.local$" |
Jakub Pavlik | b148c8c | 2017-02-12 21:30:48 +0100 | [diff] [blame] | 15 | kernel: |
Jakub Pavlik | 6c9ead1 | 2017-02-16 21:53:13 +0100 | [diff] [blame] | 16 | isolcpu: 1,2,3,4 |
Filip Pytloun | a189857 | 2016-01-25 22:35:13 +0100 | [diff] [blame] | 17 | motd: |
| 18 | - warning: | |
| 19 | #!/bin/sh |
| 20 | printf "WARNING: This is tcpcloud network.\n" |
| 21 | printf " Unauthorized access is strictly prohibited.\n" |
| 22 | printf "\n" |
| 23 | - info: | |
| 24 | #!/bin/sh |
| 25 | printf -- "--[tcp cloud]---------------------------\n" |
| 26 | printf " Hostname | ${linux:system:name}\n" |
| 27 | printf " Domain | ${linux:system:domain}\n" |
| 28 | printf " System | %s\n" "$(lsb_release -s -d)" |
| 29 | printf " Kernel | %s\n" "$(uname -r)" |
| 30 | printf -- "----------------------------------------\n" |
| 31 | printf "\n" |
| 32 | user: |
| 33 | root: |
| 34 | enabled: true |
| 35 | home: /root |
| 36 | name: root |
| 37 | test: |
| 38 | enabled: true |
| 39 | name: test |
| 40 | sudo: true |
| 41 | uid: 9999 |
| 42 | full_name: Test User |
| 43 | home: /home/test |
Petr Michalec | 1c4c8d8 | 2017-02-28 19:09:21 +0100 | [diff] [blame] | 44 | groups: |
| 45 | - root |
| 46 | salt_user1: |
| 47 | enabled: true |
| 48 | name: saltuser1 |
| 49 | sudo: false |
| 50 | uid: 9991 |
| 51 | full_name: Salt User1 |
| 52 | home: /home/saltuser1 |
| 53 | salt_user2: |
| 54 | enabled: true |
| 55 | name: saltuser2 |
| 56 | sudo: false |
| 57 | uid: 9992 |
| 58 | full_name: Salt Sudo User2 |
| 59 | home: /home/saltuser2 |
Filip Pytloun | a189857 | 2016-01-25 22:35:13 +0100 | [diff] [blame] | 60 | group: |
| 61 | test: |
| 62 | enabled: true |
| 63 | name: test |
| 64 | gid: 9999 |
| 65 | system: true |
Petr Michalec | 1c4c8d8 | 2017-02-28 19:09:21 +0100 | [diff] [blame] | 66 | db-ops: |
| 67 | enabled: true |
| 68 | name: testgroup |
| 69 | salt-ops: |
| 70 | enabled: true |
| 71 | name: sudogroup0 |
| 72 | sudogroup1: |
| 73 | enabled: true |
| 74 | name: sudogroup1 |
| 75 | sudogroup2: |
| 76 | enabled: true |
| 77 | name: sudogroup2 |
| 78 | sudogroup3: |
| 79 | enabled: false |
| 80 | name: sudogroup3 |
Filip Pytloun | a189857 | 2016-01-25 22:35:13 +0100 | [diff] [blame] | 81 | job: |
| 82 | test: |
| 83 | enabled: true |
| 84 | command: "/bin/sleep 3" |
| 85 | user: test |
| 86 | minute: 0 |
| 87 | hour: 13 |
| 88 | package: |
| 89 | htop: |
| 90 | version: latest |
| 91 | repo: |
| 92 | opencontrail: |
| 93 | source: "deb http://ppa.launchpad.net/tcpcloud/contrail-2.20/ubuntu trusty main" |
| 94 | architectures: amd64 |
Filip Pytloun | c49445a | 2016-04-04 14:23:20 +0200 | [diff] [blame] | 95 | locale: |
| 96 | en_US.UTF-8: |
| 97 | enabled: true |
| 98 | default: true |
Filip Pytloun | ee1745f | 2016-04-04 17:39:41 +0200 | [diff] [blame] | 99 | "cs_CZ.UTF-8 UTF-8": |
Filip Pytloun | c49445a | 2016-04-04 14:23:20 +0200 | [diff] [blame] | 100 | enabled: true |
Filip Pytloun | c665ee2 | 2017-02-17 12:17:32 +0100 | [diff] [blame] | 101 | autoupdates: |
| 102 | enabled: true |
Petr Michalec | 1c4c8d8 | 2017-02-28 19:09:21 +0100 | [diff] [blame] | 103 | sudo: |
| 104 | enabled: true |
| 105 | alias: |
| 106 | runas: |
| 107 | DBA: |
| 108 | - postgres |
| 109 | - mysql |
| 110 | SALT: |
| 111 | - root |
| 112 | host: |
| 113 | LOCAL: |
| 114 | - localhost |
| 115 | PRODUCTION: |
| 116 | - db1 |
| 117 | - db2 |
| 118 | command: |
| 119 | SUDO_RESTRICTED_SU: |
| 120 | - /bin/vi /etc/sudoers |
| 121 | - /bin/su - root |
| 122 | - /bin/su - |
| 123 | - /bin/su |
| 124 | - /usr/sbin/visudo |
| 125 | SUDO_SHELLS: |
| 126 | - /bin/sh |
| 127 | - /bin/ksh |
| 128 | - /bin/bash |
| 129 | - /bin/rbash |
| 130 | - /bin/dash |
| 131 | - /bin/zsh |
| 132 | - /bin/csh |
| 133 | - /bin/fish |
| 134 | - /bin/tcsh |
| 135 | - /usr/bin/login |
| 136 | - /usr/bin/su |
| 137 | - /usr/su |
| 138 | SUDO_SALT_SAFE: |
| 139 | - /usr/bin/salt state* |
| 140 | - /usr/bin/salt service* |
| 141 | - /usr/bin/salt pillar* |
| 142 | - /usr/bin/salt grains* |
| 143 | - /usr/bin/salt saltutil* |
| 144 | - /usr/bin/salt-call state* |
| 145 | - /usr/bin/salt-call service* |
| 146 | - /usr/bin/salt-call pillar* |
| 147 | - /usr/bin/salt-call grains* |
| 148 | - /usr/bin/salt-call saltutil* |
| 149 | SUDO_SALT_TRUSTED: |
| 150 | - /usr/bin/salt* |
| 151 | users: |
| 152 | saltuser1: {} |
| 153 | saltuser2: |
| 154 | hosts: |
| 155 | - LOCAL |
| 156 | # User Alias: |
| 157 | DBA: |
| 158 | hosts: |
| 159 | - ALL |
| 160 | commands: |
| 161 | - SUDO_SALT_SAFE |
| 162 | groups: |
| 163 | db-ops: |
| 164 | hosts: |
| 165 | - ALL |
| 166 | - '!PRODUCTION' |
| 167 | runas: |
| 168 | - DBA |
| 169 | commands: |
| 170 | - /bin/cat * |
| 171 | - /bin/less * |
| 172 | - /bin/ls * |
| 173 | - SUDO_SALT_SAFE |
| 174 | - '!SUDO_SHELLS' |
| 175 | - '!SUDO_RESTRICTED_SU' |
| 176 | salt-ops: |
| 177 | hosts: |
| 178 | - 'ALL' |
| 179 | runas: |
| 180 | - SALT |
| 181 | commands: |
| 182 | - SUDO_SALT_TRUSTED |
| 183 | salt-ops2: |
| 184 | name: salt-ops |
| 185 | runas: |
| 186 | - DBA |
| 187 | commands: |
| 188 | - SUDO_SHELLS |
| 189 | sudogroup1: |
| 190 | commands: |
| 191 | - ALL |
| 192 | sudogroup2: |
| 193 | commands: |
| 194 | - ALL |
| 195 | hosts: |
| 196 | - localhost |
| 197 | users: |
| 198 | - test |
| 199 | nopasswd: false |
| 200 | sudogroup3: |
| 201 | commands: |
| 202 | - ALL |