update Readme
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
all
|
|
||||||
rule 'MD013', :line_length => 1000
|
|
||||||
exclude_rule 'MD036'
|
|
||||||
43
.spelling
43
.spelling
@@ -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
|
|
||||||
21
Jenkinsfile
vendored
21
Jenkinsfile
vendored
@@ -64,28 +64,11 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('markdown-lint') {
|
|
||||||
steps {
|
|
||||||
sh '''
|
|
||||||
source /opt/rh/rh-ruby27/enable
|
|
||||||
mdl README.md
|
|
||||||
'''
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('spell check') {
|
|
||||||
steps {
|
|
||||||
sh '''
|
|
||||||
mdspell -r -n -a "**/*.md"
|
|
||||||
'''
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('SonarScan') {
|
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'
|
||||||
}
|
}
|
||||||
|
|||||||
10
README.md
10
README.md
@@ -1,6 +1,6 @@
|
|||||||
# Readme
|
# Readme
|
||||||
|
|
||||||
[](https://pipelines.confdroid.com/job/cd_fail2ban/)
|
[](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
|
||||||
|
|||||||
Reference in New Issue
Block a user