Documentation by YARD 0.9.26
-Alphabetic Index
- -Puppet Class Listing A-Z
- - -
-
-
-
|
-
File Listing
--
-
-
-
- README - - -
diff --git a/Jenkinsfile b/Jenkinsfile index 644af72..199be3d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -51,16 +51,9 @@ pipeline { stage('puppet-lint') { steps { - sh '''find . -iname *.pp -exec /usr/local/rvm/gems/ruby-2.5.0/wrappers/puppet-lint \\ - --no-class_inherits_from_params_class-check \\ - --no-variable_scope-check \\ - --no-80chars-check \\ - --no-arrow_alignment-check \\ - --no-autoloader_layout-check \\ - --no-140chars-check \\ - --log-format "%{path}:%{line}:%{check}:%{KIND}:%{message}" {} \\; + sh '''/usr/local/bin/puppet-lint . \\ + --no-variable_scope-check \\ ''' - recordIssues aggregatingResults: true, tool: puppetLint() } } diff --git a/README.md b/README.md index 5f64cb4..4aec106 100644 --- a/README.md +++ b/README.md @@ -60,10 +60,7 @@ All files and directories are configured with correct selinux context. If selinu * Puppet Lint * excluded tests: - * `--no-class_inherits_from_params_class-check`:relevant only to non-supported outdated puppet versions * `--no-variable_scope-check`: not applicable as we are inheriting parameters from params class. the lint check does not distinguish between facts and inherited parameters. - * `--no-80chars-check`: it is not always possible to stay within 80 characters, although typically only occurring on the parameter vault `params.pp`. - * `--no-arrow_alignment-check`: this check leads to actually not having am easily readable arrow alignment, as this checks `per block`, not per class. * Puppet Parser * ERB Template Parser * Sonar Quality Gate diff --git a/doc/_index.html b/doc/_index.html deleted file mode 100644 index 1c334b6..0000000 --- a/doc/_index.html +++ /dev/null @@ -1,138 +0,0 @@ - - -
- - -
-
-
-
|
-
| t |
- - - -6 -7 -8- |
-
- # File 'manifests/init.pp', line 6
-
-class resources_cd {
- include resources_cd::params
-}
- |
-
resources_cd::main::config.pp Module name: resources_cd Author: Arne Teuke -(arne_teuke@confdroid.com)
- -
- - - -6 -7 -8 -9 -10- |
-
- # File 'manifests/main/config.pp', line 6
-
-class resources_cd::main::config (
-
-) inherits resources_cd::params {
- include resources_cd::main::install
-}
- |
-
resources_cd::main::epel.pp Module name: resources_cd Author: Arne Teuke -(arne_teuke@confdroid.com)
- -
- - - -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30- |
-
- # File 'manifests/main/epel.pp', line 6
-
-class resources_cd::main::epel (
-
-) inherits resources_cd::params {
- if $facts['os']['name'] == 'Rocky' and $facts['os']['release']['major'] == '9' {
- yumrepo { 'crb':
- enabled => '1',
- }
-
- exec { 'install EPEL RPM':
- command => "dnf install -y ${epel_from_url}",
- path => '/usr/bin',
- unless => 'rpm -q epel-release-9-9.el9.noarch',
- require => Yumrepo['crb'],
- }
-
- yumrepo {
- 'epel':
- descr => "Extra Packages for Enterprise Linux 9 - \$basearch",
- mirrorlist => 'https://mirrors.fedoraproject.org/metalink?repo=epel-9&arch=$basearch&infra=$infra&content=$contentdir',
- enabled => '1',
- gpgcheck => '0',
- require => Exec['install EPEL RPM'],
- }
- }
-}
- |
-
resources_cd::main::install.pp Module name: resources_cd Author: Arne Teuke -(arne_teuke@confdroid.com)
- -
- - - -6 -7 -8 -9 -10 -11 -12- |
-
- # File 'manifests/main/install.pp', line 6
-
-class resources_cd::main::install (
-
-) inherits resources_cd::params {
- package { $reqpackages:
- ensure => $pkg_ensure,
- }
-}
- |
-
resources_cd::main::service.pp Module name: resources_cd Author: Arne Teuke -(arne_teuke@confdroid.com)
- -
- - - -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23- |
-
- # File 'manifests/main/service.pp', line 6
-
-class resources_cd::main::service (
-
-) inherits resources_cd::params {
- if $rs_autoupdate == true {
- service { $rs_cron_service:
- ensure => running,
- hasstatus => true,
- hasrestart => true,
- enable => true,
- }
- }
- if $rs_autoupdate == false {
- service { $rs_cron_service:
- ensure => stopped,
- enable => false,
- }
- }
-}
- |
-
resources_cd::main::yumrepo.pp Module name: resources_cd Author: Arne Teuke -(arne_teuke@confdroid.com)
- -
- - - -6 -7 -8 -9 -10- |
-
- # File 'manifests/main/yumrepo.pp', line 6
-
-class resources_cd::main::yumrepo (
-
-) inherits resources_cd::params {
-#
-}
- |
-
resources_cd::params.pp Module name: resources_cd Author: Arne Teuke -(arne_teuke@confdroid.com)
- -
- - - -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21- |
-
- # File 'manifests/params.pp', line 9
-
-class resources_cd::params (
-
- Array $reqpackages = $facts['os']['name'] ? {
- 'Rocky' => ['yum', 'yum-utils'],
- },
- String $pkg_ensure = 'present',
- Boolean $rs_enable_epel = false,
-
-) {
- $epel_from_url = 'https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm'
- # includes must be last
- include resources_cd::main::config
-}
- |
-