Puppet Class: ibm_profile::iib_machine
- Inherits:
- ibm_profile
- Defined in:
- manifests/iib_machine.pp
Summary
Besides setting up MQ, the `ibm_profile` module also has support for setting up IBM Integration Bus (IIB).Overview
--
ibm_profile::iib_machine
The ‘ibm_profile::iib_machine` class allows you to get a full fledged IIB setup on your system in a minute. It contains all default settings needed, but you can also tweak it in a lot of ways. It contains the following stages (These are not puppet stages):
-
[‘sysctl`](/docs/ibm_profile/iib_machine/sysctl.html) (Set all required sysctl parameters)
-
[‘limits`](/docs/ibm_profile/iib_machine/limits.html) (Set all required OS limits)
-
[‘packages`](/docs/ibm_profile/iib_machine/packages.html) (Install all required packages
-
[‘groups_and_users`](/docs/ibm_profile/iib_machine/groups_and_users.html) (Create required groups and users)
-
[‘firewall`](/docs/ibm_profile/iib_machine/firewall.html) (Open required firewall rules)
-
[‘software`](/docs/ibm_profile/iib_machine/software.html) (Install required IBM MQ software)
-
[‘broker_setup`](/docs/ibm_profile/iib_machine/broker_setup.html) (Setup the IIB broker(s))
-
[‘server_setup`](/docs/ibm_profile/iib_machine/server_setup.html) (Setup ths IIB server(s))
-
[‘deployments`](/docs/ibm_profile/iib_machine/deployments.html) (Manage the deployments)
-
[‘autostart`](/docs/ibm_profile/iib_machine/autostart.html) (Ensure autostart for the IIB brokers)
All these stages have a default implementation. This implementation is suitable to get started with. These classed all have parameters you can customize through hiera values. The defaults are specified in the module’s ‘data/default.yaml` file.
But sometimes this is not enough and you would like to add some extra definitions, you can, for example, add a Puppet class to be executed after the ‘systctl` stage is done and before the `limits` is done. You can do this by adding the next line to your yaml data:
“‘yaml ibm_profile::iib_machine::before_sysctl: my_profile::my_extra_class “` or after:
“‘yaml ibm_profile::iib_machine::after_sysctl: my_profile::my_extra_class “`
If you want to, you can also skip this provided class:
“‘yaml ibm_profile::iib_machine::sysctl: skip “`
Or provide your own implementation:
“‘yaml ibm_profile::iib_machine::sysctl: my_profile::my_own_implementation “`
This mechanism can be used for all named stages and makes it easy to move from an easy setup with a running standard database to a fully customized setup using a lot of your own classes plugged in.
–++–
317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 |
# File 'manifests/iib_machine.pp', line 317
class ibm_profile::iib_machine(
Optional[String] $before_sysctl = undef,
Optional[String] $before_limits = undef,
Optional[String] $before_groups_and_users = undef,
Optional[String] $before_packages = undef,
Optional[String] $before_firewall = undef,
Optional[String] $before_software = undef,
Optional[String] $before_broker_setup = undef,
Optional[String] $before_server_setup = undef,
Optional[String] $before_deployments = undef,
Optional[String] $before_autostart = undef,
Optional[String] $sysctl = undef,
Optional[String] $limits = undef,
Optional[String] $groups_and_users = undef,
Optional[String] $packages = undef,
Optional[String] $firewall = undef,
Optional[String] $software = undef,
Optional[String] $server_setup = undef,
Optional[String] $broker_setup = undef,
Optional[String] $deployments = undef,
Optional[String] $autostart = undef,
Optional[String] $after_sysctl = undef,
Optional[String] $after_limits = undef,
Optional[String] $after_groups_and_users = undef,
Optional[String] $after_packages = undef,
Optional[String] $after_firewall = undef,
Optional[String] $after_software = undef,
Optional[String] $after_broker_setup = undef,
Optional[String] $after_server_setup = undef,
Optional[String] $after_deployments = undef,
Optional[String] $after_autostart = undef,
) inherits ibm_profile {
easy_type::ordered_steps([
'ibm_profile::iib_machine::sysctl',
'ibm_profile::iib_machine::limits',
'ibm_profile::iib_machine::groups_and_users',
'ibm_profile::iib_machine::packages',
'ibm_profile::iib_machine::firewall',
'ibm_profile::iib_machine::software',
'ibm_profile::iib_machine::broker_setup',
'ibm_profile::iib_machine::server_setup',
'ibm_profile::iib_machine::deployments',
'ibm_profile::iib_machine::autostart',
])
}
|