Puppet Class: ibm_profile::mq_machine
- Inherits:
- ibm_profile
- Defined in:
- manifests/mq_machine.pp
Summary
## The `ibm_profile::mq_machine` classOverview
--
ibm_profile::mq_machine
The ‘ibm_profile::mq_machine` class allows you to get a full fledged MQ 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/mq_machine/sysctl.html) (Set all required sysctl parameters)
-
[‘limits`](/docs/ibm_profile/mq_machine/limits.html) (Set all required OS limits)
-
[‘packages`](/docs/ibm_profile/mq_machine/packages.html) (Install all required packages)
-
[‘groups_and_users`](/docs/ibm_profile/mq_machine/groups_and_users.html) (Create required groups and users)
-
[‘firewall`](/docs/ibm_profile/mq_machine/firewall.html) (Open required firewall rules)
-
[‘software`](/docs/ibm_profile/mq_machine/software.html) (Install required IBM MQ software)
-
[‘manager_setup`](/docs/ibm_profile/mq_machine/manager_setup.html) (Configure one or more MQ managers)
-
[‘autostart`](/docs/ibm_profile/mq_machine/autostart.html) (Ensure autostart for the MQ managers)
-
[‘authorization_setup`](/docs/ibm_profile/mq_machine/authorization_setup.html) (Setup MQ authorization)
-
[‘messaging_setup`](/docs/ibm_profile/mq_machine/messaging_setup.html) (Setup MQ messaging including queues, topics etc.)
-
[‘mq_web`](/docs/ibm_profile/mq_machine/mq_web.html) (Enable MQ Web)
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::mq_machine::before_sysctl: my_profile::my_extra_class “` or after:
“‘yaml ibm_profile::mq_machine::after_sysctl: my_profile::my_extra_class “`
If you want to, you can also skip this provided class:
“‘yaml ibm_profile::mq_machine::sysctl: skip “`
Or provide your own implementation:
“‘yaml ibm_profile::mq_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.
–++–
345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 |
# File 'manifests/mq_machine.pp', line 345
class ibm_profile::mq_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_fixpack = undef,
Optional[String] $before_manager_setup = undef,
Optional[String] $before_autostart = undef,
Optional[String] $before_authorization_setup = undef,
Optional[String] $before_messaging_setup = undef,
Optional[String] $before_mq_web = 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] $fixpack = undef,
Optional[String] $manager_setup = undef,
Optional[String] $autostart = undef,
Optional[String] $authorization_setup = undef,
Optional[String] $messaging_setup = undef,
Optional[String] $mq_web = 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_fixpack = undef,
Optional[String] $after_manager_setup = undef,
Optional[String] $after_autostart = undef,
Optional[String] $after_authorization_setup = undef,
Optional[String] $after_messaging_setup = undef,
Optional[String] $after_mq_web = undef,
) inherits ibm_profile {
easy_type::ordered_steps([
'ibm_profile::mq_machine::sysctl',
'ibm_profile::mq_machine::limits',
'ibm_profile::mq_machine::groups_and_users',
'ibm_profile::mq_machine::packages',
'ibm_profile::mq_machine::firewall',
'ibm_profile::mq_machine::software',
'ibm_profile::mq_machine::fixpack',
'ibm_profile::mq_machine::manager_setup',
'ibm_profile::mq_machine::autostart',
'ibm_profile::mq_machine::authorization_setup',
'ibm_profile::mq_machine::messaging_setup',
'ibm_profile::mq_machine::mq_web',
])
}
|