Have you ever wished for your installation shell scripts to run reproducibly, without much programming fuzz, and even with optional logging enabled? Then give up shell programming, use Perl.
'Sysadm::Install' executes shell-like commands performing typical installation tasks: Copying files, extracting tarballs, calling 'make'. It has a 'fail once and die' policy, meticulously checking the result of every operation and calling 'die()' immediately if anything fails.
'Sysadm::Install' also supports a dry_run mode, in which it logs everything, but suppresses any write actions. Dry run mode is enabled by calling 'Sysadm::Install::dry_run(1)'. To switch back to normal, call 'Sysadm::Install::dry_run(0)'.
As of version 0.17, 'Sysadm::Install' supports a confirm mode, in which it interactively asks the user before running any of its functions (just like 'rm -i'). confirm mode is enabled by calling 'Sysadm::Install::confirm(1)'. To switch back to normal, call 'Sysadm::Install::confirm(0)'.
'Sysadm::Install' is fully Log4perl-enabled. To start logging, just initialize 'Log::Log4perl'. 'Sysadm::Install' acts as a wrapper class, meaning that file names and line numbers are reported from the calling program's point of view.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.48-bp156.3.1 info | GA Release | 2023-07-22 | 15 SP6 |
|
|
0.48-bp155.2.10 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
0.48-bp154.1.22 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.48-bp153.1.15 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
0.48-bp152.3.15 info | GA Release | 2020-04-16 | 15 SP2 |
|
|
0.48-bp151.3.1 info | GA Release | 2019-07-16 | 15 SP1 |
|
|
0.48-bp151.2.14 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
0.48-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|