Skip to content

Commit c9c69e7

Browse files
authored
Merge pull request #306 from dev-sec/codespell
add spellchecking with codespell
2 parents 145abdf + 52768d1 commit c9c69e7

File tree

7 files changed

+21
-9
lines changed

7 files changed

+21
-9
lines changed

.github/workflows/codespell.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: Codespell - Spellcheck
3+
4+
on: # yamllint disable-line rule:truthy
5+
push:
6+
branches: [master]
7+
pull_request:
8+
branches: [master]
9+
10+
jobs:
11+
codespell:
12+
uses: "dev-sec/.github/.github/workflows/codespell.yml@main"

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Changes in v2.3.3
66

7-
- fix CI: use docker driver for transfering files \(\#290\)
7+
- fix CI: use docker driver for transferring files \(\#290\)
88
- Disable new check 'os-14' for automated testing \(\#291\)
99
- Restore ability to override /etc/shadow file permissions and group owner \(\#293\)
1010
- move to CentOS 8 Stream from quay.io \(\#295\)
@@ -290,7 +290,7 @@
290290
**Implemented enhancements:**
291291

292292
- Use type checking by defining data types [\#114](https://github.com/dev-sec/puppet-os-hardening/pull/114) ([mcgege](https://github.com/mcgege))
293-
- Make paramater USERGROUPS\_ENAB in login.defs configurable [\#113](https://github.com/dev-sec/puppet-os-hardening/pull/113) ([mcgege](https://github.com/mcgege))
293+
- Make parameter USERGROUPS\_ENAB in login.defs configurable [\#113](https://github.com/dev-sec/puppet-os-hardening/pull/113) ([mcgege](https://github.com/mcgege))
294294

295295
**Fixed bugs:**
296296

@@ -422,7 +422,7 @@
422422
* improvement: add travis testing for lint+specs
423423
* improvement: use file resource instead of exec for access minimization
424424
* bugfix: fix typo dry_run_on_unkown -> dry_run_on_unknown
425-
* bugfix: don't run update initramfs on each run, only when requiered
425+
* bugfix: don't run update initramfs on each run, only when required
426426
* bugfix: deactivation of kernel module loading wasn't implemented
427427
* bugfix: ip_forwarding wasn't activated correctly
428428

HISTORY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
* improvement: add travis testing for lint+specs
5050
* improvement: use file resource instead of exec for access minimization
5151
* bugfix: fix typo dry_run_on_unkown -> dry_run_on_unknown
52-
* bugfix: don't run update initramfs on each run, only when requiered
52+
* bugfix: don't run update initramfs on each run, only when required
5353
* bugfix: deactivation of kernel module loading wasn't implemented
5454
* bugfix: ip_forwarding wasn't activated correctly
5555

lib/facter/home_users.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Try to read UID_MIN from /etc/login.defs to caluclate SYS_UID_MAX
1+
# Try to read UID_MIN from /etc/login.defs to calculate SYS_UID_MAX
22
# if that fails set some predefined values based on os_family fact.
33
logindefs = '/etc/login.defs'
44

lib/facter/retrieve_system_users.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Try to read UID_MIN from /etc/login.defs to caluclate SYS_UID_MAX
1+
# Try to read UID_MIN from /etc/login.defs to calculate SYS_UID_MAX
22
# if that fails set some predefined values based on os_family fact.
33
logindefs = '/etc/login.defs'
44

manifests/pam.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
# if passwdqc is enabled
5757
if $passwdqc_enabled == true {
58-
# remove pam_cracklib, because it does not play nice wiht passwdqc
58+
# remove pam_cracklib, because it does not play nice with passwdqc
5959
package { 'pam-cracklib':
6060
ensure => absent,
6161
name => $pam_cracklib,

templates/login.defs.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ GID_MAX 60000
118118
SYS_GID_MIN <%= @sys_gid_min %>
119119
SYS_GID_MAX 999
120120

121-
# Max number of login retries if password is bad. This will most likely be overriden by PAM, since the default pam_unix module has it's own built in of 3 retries. However, this is a safe fallback in case you are using an authentication module that does not enforce PAM_MAXTRIES.
121+
# Max number of login retries if password is bad. This will most likely be overridden by PAM, since the default pam_unix module has it's own built in of 3 retries. However, this is a safe fallback in case you are using an authentication module that does not enforce PAM_MAXTRIES.
122122
LOGIN_RETRIES <%= @login_retries.to_s %>
123123

124124
# Max time in seconds for login
@@ -138,7 +138,7 @@ DEFAULT_HOME <%= @allow_login_without_home ? "yes" : "no" %>
138138
# the user to be removed (passed as the first argument).
139139
#USERDEL_CMD /usr/sbin/userdel_local
140140

141-
# Instead of the real user shell, the program specified by this parameter will be launched, although its visible name (`argv[0]`) will be the shell's. The program may do whatever it wants (logging, additional authentification, banner, ...) before running the actual shell.
141+
# Instead of the real user shell, the program specified by this parameter will be launched, although its visible name (`argv[0]`) will be the shell's. The program may do whatever it wants (logging, additional authentication, banner, ...) before running the actual shell.
142142
#FAKE_SHELL /bin/fakeshell
143143

144144
# If defined, either full pathname of a file containing device names or a ":" delimited list of device names. Root logins will be allowed only upon these devices.

0 commit comments

Comments
 (0)