Skip to content

Commit

Permalink
Standardize the var ordering (#251)
Browse files Browse the repository at this point in the history
Now the vars for these OS are in the same order. This makes it much
easier to see the differences

Signed-off-by: Dustin Miller <dustin@packet.com>
  • Loading branch information
dustinmiller authored and rndmh3ro committed Nov 25, 2019
1 parent e674a6d commit a0e7d0f
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 14 deletions.
13 changes: 8 additions & 5 deletions vars/Debian.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
---

os_packages_pam_ccreds: 'libpam-ccreds'
os_packages_pam_passwdqc: 'libpam-passwdqc'
os_packages_pam_cracklib: 'libpam-cracklib'
passwdqc_path: '/usr/share/pam-configs/passwdqc'
tally2_path: '/usr/share/pam-configs/tally2'
os_nologin_shell_path: '/usr/sbin/nologin'

auditd_package: 'auditd'
modprobe_package: 'kmod'

# Different distros use different standards for /etc/shadow perms, e.g.
# RHEL derivatives use root:root 0000, whereas Debian-based use root:shadow 0640.
# You must provide key/value pairs for owner, group, and mode if overriding.
Expand All @@ -29,3 +26,9 @@ os_auth_sys_uid_min: 100
os_auth_sys_uid_max: 999
os_auth_sys_gid_min: 100
os_auth_sys_gid_max: 999

modprobe_package: 'kmod'
auditd_package: 'auditd'

tally2_path: '/usr/share/pam-configs/tally2'
passwdqc_path: '/usr/share/pam-configs/passwdqc'
6 changes: 3 additions & 3 deletions vars/Fedora.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---

modprobe_package: 'module-init-tools'
auditd_package: 'audit'

os_packages_pam_ccreds: 'pam_ccreds'
os_packages_pam_passwdqc: 'pam_passwdqc'
os_packages_pam_cracklib: 'pam_cracklib'
Expand All @@ -29,3 +26,6 @@ os_auth_sys_uid_min: 201
os_auth_sys_uid_max: 999
os_auth_sys_gid_min: 201
os_auth_sys_gid_max: 999

modprobe_package: 'module-init-tools'
auditd_package: 'audit'
8 changes: 5 additions & 3 deletions vars/Oracle Linux.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
os_packages_pam_ccreds: 'pam_ccreds'
os_packages_pam_passwdqc: 'pam_passwdqc'
os_packages_pam_cracklib: 'pam_cracklib'
---

os_packages_pam_ccreds: 'pam_ccreds'
os_packages_pam_passwdqc: 'pam_passwdqc'
os_packages_pam_cracklib: 'pam_cracklib'
os_nologin_shell_path: '/sbin/nologin'

# Different distros use different standards for /etc/shadow perms, e.g.
Expand Down
6 changes: 3 additions & 3 deletions vars/RedHat.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---

modprobe_package: 'module-init-tools'
auditd_package: 'audit'

os_packages_pam_ccreds: 'pam_ccreds'
os_packages_pam_passwdqc: 'pam_passwdqc'
os_packages_pam_cracklib: 'pam_cracklib'
Expand All @@ -29,3 +26,6 @@ os_auth_sys_uid_min: 201
os_auth_sys_uid_max: 999
os_auth_sys_gid_min: 201
os_auth_sys_gid_max: 999

modprobe_package: 'module-init-tools'
auditd_package: 'audit'

0 comments on commit a0e7d0f

Please sign in to comment.