update Readme

This commit is contained in:
Arne Teuke
2025-03-02 22:41:46 +01:00
parent a44765de4f
commit 2052861ac2
5 changed files with 7 additions and 74 deletions

View File

@@ -1,3 +0,0 @@
all
rule 'MD013', :line_length => 1000
exclude_rule 'MD036'

2
.mdlrc
View File

@@ -1,2 +0,0 @@
style '.mdl_style.rb'

View File

@@ -1,43 +0,0 @@
# markdown-spellcheck spelling configuration file
# Format - lines begining # are comments
# global dictionary is at the start, file overrides afterwards
# one word per line, to define a file override use ' - filename'
# where filename is relative to this configuration file
Readme.md
httpd
sudo
selinux
site.pp
nodes.pp
cd_apache
::
params
Foreman
cd_resources
CentOS
Puppet
ConfDroid
nagios
vHosts
vHost
phpMyAdmin
phpPgAdmin
parameterized
erb
Confdroid.com
UTF_Files
Elasticsearch
cd_firewall
puppetlabs
cd_elasticsearch
cd_fail2ban
Fail2Ban
intrusion
fail2ban
firewalld
prevention
management
CentOS7
auto-installed
ipv4
ipv6

23
Jenkinsfile vendored
View File

@@ -64,28 +64,11 @@ pipeline {
} }
} }
stage('markdown-lint') { stage('SonarScan') {
steps {
sh '''
source /opt/rh/rh-ruby27/enable
mdl README.md
'''
}
}
stage('spell check') {
steps {
sh '''
mdspell -r -n -a "**/*.md"
'''
}
}
stage('SonarScan') {
steps { steps {
sh ''' sh '''
/opt/sonar-scanner/bin/sonar-scanner \ /opt/sonar-scanner/bin/sonar-scanner \
-Dsonar.projectKey=cd_fail2ban \ -Dsonar.projectKey=fail2ban_cd \
-Dsonar.sources=. \ -Dsonar.sources=. \
-Dsonar.host.url=https://sonarqube.confdroid.com \ -Dsonar.host.url=https://sonarqube.confdroid.com \
-Dsonar.token=squ_af3fb66bbbcccf239ffe9393a5e70874f054be7a -Dsonar.token=squ_af3fb66bbbcccf239ffe9393a5e70874f054be7a
@@ -93,7 +76,7 @@ pipeline {
} }
} }
stage('create Puppet documention') { stage('create Puppet documentation') {
steps { steps {
sh '/opt/puppetlabs/bin/puppet strings' sh '/opt/puppetlabs/bin/puppet strings'
} }

View File

@@ -1,6 +1,6 @@
# Readme # Readme
[![Build Status](https://pipelines.confdroid.com/buildStatus/icon?job=cd_fail2ban)](https://pipelines.confdroid.com/job/cd_fail2ban/) [![Build Status](https://pipelines.confdroid.com/buildStatus/icon?job=fail2ban_cd)](https://pipelines.confdroid.com/job/fail2ban_cd/)
[[_TOC_]] [[_TOC_]]
@@ -27,7 +27,7 @@ Configuration
Service Service
* manage service status (running or stopped) * manage service status
## Dependencies ## Dependencies
@@ -68,8 +68,8 @@ All files and directories are configured with correct selinux context. If selinu
## Support ## Support
* OS: CentOS 7 * OS: Rocky 9
* Puppet 5 * Puppet 8
## Tests ## Tests
@@ -82,8 +82,6 @@ All files and directories are configured with correct selinux context. If selinu
* Puppet Parser * Puppet Parser
* ERB Template Parser * ERB Template Parser
* Test for unwanted UTF8 files in the Puppet code (see tests/UTF_Files) * Test for unwanted UTF8 files in the Puppet code (see tests/UTF_Files)
* Markdown-lint
* Spellcheck
* Sonar Quality Gate * Sonar Quality Gate
## Contact Us ## Contact Us