Defined Type: opensips::install::packages
- Defined in:
- manifests/install/packages.pp
Summary
A short summary of the purpose of this defined type.Overview
A description of what this defined type does
7 8 9 10 11 12 13 14 15 16 |
# File 'manifests/install/packages.pp', line 7
define opensips::install::packages (
$package = $title,
) {
exec { "installing ${package} for opensips":
command => "yum install -y ${package}",
unless => "rpm -qa --qf \"%{NAME}\\n\"| egrep -q \"^${package}$\"",
path => '/usr/bin:/usr/sbin:/bin:/usr/local/bin',
# refreshonly => true,
}
}
|