Commit ed6407c4 authored by mh's avatar mh
Browse files

linting

parent 7cad4433
class mod_removeip::base {
package{'mod_removeip':
ensure => 'present',
package { 'mod_removeip':
ensure => 'present',
require => Package['apache'],
notify => Service['apache'],
notify => Service['apache'],
}
}
class mod_removeip::debian inherits mod_removeip::base {
Package['mod_removeip']{
Package['mod_removeip'] {
name => 'libapache2-mod-removeip'
}
}
class mod_removeip::disable inherits mod_removeip {
case $::operatingsystem {
case $facts['os']['name'] {
'debian': { include mod_removeip::disable::debian }
default: { include mod_removeip::disable::base }
}
......
class mod_removeip::disable::base inherits mod_removeip::base {
Package['mod_removeip']{
Package['mod_removeip'] {
ensure => 'absent'
}
}
class mod_removeip::disable::debian inherits mod_removeip::debian {
Package['mod_removeip']{
Package['mod_removeip'] {
ensure => 'absent'
}
}
\ No newline at end of file
}
class mod_removeip {
case $::operatingsystem {
case $facts['os']['name'] {
'debian': { include mod_removeip::debian }
default: { include mod_removeip::base }
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment