Commit f6d0c1c5 authored by A U Thor's avatar A U Thor Committed by Adam Lewenberg
Browse files

committing everything for branch master

parent ee141ad4
Loading
Loading
Loading
Loading

manifests/init.pp

0 → 100644
+22 −0
Original line number Diff line number Diff line
#
# Red-Hat-specific class to provide the PowerPath package, used for SAN
# redundancy.

class powerpath {
    case $operatingsystem {
        'redhat': {
            $license = 'B2PZ-MB4E-AF42-Q6K3-MM9C-Y2WM'
            $file = '/etc/emcp_registration'

            package {
                'EMCpower.LINUX': ensure => present;
                'lun_scan':       ensure => present;
            }
            exec { 'install powerpath license':
                command => "/sbin/emcpreg -f $file -a $license",
                require => Package['EMCpower.LINUX'],
                creates => $file,
            }
        }
    }
}
 No newline at end of file