Skip to content

Instantly share code, notes, and snippets.

@azet
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azet/9891018 to your computer and use it in GitHub Desktop.
Save azet/9891018 to your computer and use it in GitHub Desktop.
debugging utilities for CentOS VMs
# additional packages for server vms
case $::operatingsystem {
'CentOS': {
# = package management:
# * yum changelog is needed e.g. for yum-security-check.pl
# = debugging:
# * kexec-tools in case it's needed
# * mtr
# * sysstat
# * perf
# * systemtap
# * blktrace
# * iotop
# * tcpdump
# = text utilities:
# * vim
$pkglist = [
"yum-plugin-changelog",
"kexec-tools",
"vim",
"mtr",
"sysstat",
"perf",
"systemtap",
"blktrace",
"iotop",
"tcpdump",
]
package { $pkglist: ensure => latest, provider => yum, }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment