Puppet Class: sap::config::common

Defined in:
manifests/config/common.pp

Summary

Trick SAP into thinking this host is running a supported RHEL

Overview

Overwrites the distro text file to trick SAP into thinking this is RHEL.



5
6
7
8
9
10
11
12
13
14
15
16
# File 'manifests/config/common.pp', line 5

class sap::config::common {

  # Replace distribution string if defined
  if ($sap::distro_text != undef) {
    $local_distro_text = "${sap::distro_text}\n"
    file { $sap::params::config_redhat_release_conf:
      ensure  => file,
      mode    => '0644',
      content => $local_distro_text;
    }
  }
}