Puppet Class: sap::params

Inherited by:
sap
Defined in:
manifests/params.pp

Summary

This module contains the parameters for SAP Netweaver

Overview

General parameter definitions for the SAP Netweaver environment are defined within this module. Note that OS and Architecture specific variants are actually pulled from defaults in Hiera.

Parameters:

  • config_redhat_release_conf (String) (defaults to: undef)

    This should point to the path of the desired redhat release config file.

  • service_uuidd (String) (defaults to: undef)

    Name of the uuidd service. This is used to enable the daemon after the installation completes.

  • service_scc (String) (defaults to: undef)

    SAP Cloud Connector service name used for enabling the service.

  • service_saprouter (String) (defaults to: undef)

    Name of the service corresponding to the SAP router process.

  • config_saproutetab (String) (defaults to: undef)

    File target for the sap router route-table should it be configure.

  • config_saproutetab_template (String) (defaults to: undef)

    Path within the module to the appropriate erb template to apply for the saproutetab.

  • config_saprouter_sysconfig (String) (defaults to: undef)

    Target /etc/sysconfig file for the saprouter service

  • config_saprouter_sysconfig_template (String) (defaults to: undef)

    Embedded ruby template to be applied to the sysconfig file

  • config_saprouter_sysconfig_template (defaults to: undef)

    Embedded ruby template to be applied to the sysconfig file

  • config_sysctl (Hash[ String, Hash[ String, Variant[ String, Integer, Array[String], Hash[ String, Variant[ Hash[ String, Variant[ String, Integer, Array[ Variant[ String, Hash[ String, Variant[ String, Integer, ] ], ] ] ] ] ] ] ] ] ]) (defaults to: {})

    Similar to config_limits this provides a configurable set of directives to include in /etc/sysctl.d/ on a per component basis.

  • config_limits (Hash[ String, Hash[ String, Variant[ String, Boolean, Array[String], Hash[ String, Hash[ String, Hash[ String, Variant[ String, Integer, ] ] ] ] ] ] ]) (defaults to: {})

    A deeply nested hash containing the target /etc/security/limits.d/ entries for a given system. This is currently defined for baseline sap instances and db2. The hash has the following structure

    “‘puppet ’component-name’ => {

    path           => '/etc/security/limits.d', # this should be left alone - limits directory
    sequence       => '00', # string ID prepended to the limits file. e.g.
                            # /etc/security/limits.d/00-sap-base.conf
    per_sid        => true, # Indicates whether the domain has a _sid_
                            # substring that will need to be substituted with the actual system ID.
    header_comment => [ # An array of comment lines which will appear at the
                        #start of the file
      'Comment line 1',
      'Comment line 2',
    ],
    entries => { # Hash containing the actual
    }
    

    “‘

  • config_default_mount_options (Hash[ String, Hash[ String, String, ] ]) (defaults to: {})

    Default options to provide to provide for the mount operation in the case that they are not overridden locally. See puppet.com/docs/puppet/latest/types/mount.html#mount-attribute-options for details. Note that this is a hash of hashes with an entry for each supported resource type.



67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# File 'manifests/params.pp', line 67

class sap::params (
  String $config_redhat_release_conf                          = undef,
  String $config_saproutetab                                  = undef,
  String $config_saproutetab_template                         = undef,
  String $config_saprouter_sysconfig                          = undef,
  String $config_saprouter_sysconfig_template                 = undef,
  String $service_uuidd                                       = undef,
  String $service_scc                                         = undef,
  String $service_saprouter                                   = undef,
  Hash[
    String,
    Hash[
      String,
      Variant[
        String,
        Integer,
        Array[String],
        Hash[
          String,
          Variant[
            Hash[
              String,
              Variant[
                String,
                Integer,
                Array[
                  Variant[
                    String,
                    Hash[
                      String,
                      Variant[
                        String,
                        Integer,
                      ]
                    ],
                  ]
                ]
              ]
            ]
          ]
        ]
      ]
    ]
  ] $config_sysctl = {},
  Hash[
    String,
    Hash[
      String,
      Variant[
        String,
        Boolean,
        Array[String],
        Hash[
          String,
          Hash[
            String,
            Hash[
              String,
              Variant[
                String,
                Integer,
              ]
            ]
          ]
        ]
      ]
    ]
  ] $config_limits = {},
  Hash[
    String,
    Hash[
      String,
      String,
    ]
  ] $config_default_mount_options            = {},
){

  # These components depend on 'base' and 'base_extendend'
  $requires_base = [ 'base_extended', 'bo', 'ads', 'hana' ]
  $requires_base_extended = ['bo', 'ads', 'hana']

  # RHEL 7 only componetns
  $rhel7_components = ['bo', 'cloudconnector', 'hana']
}