Commit 905d7e17 authored by Arkadiusz Dzięgiel's avatar Arkadiusz Dzięgiel Committed by Raphaël Pinson
Browse files

added support for Alpine Linux

parent 96b74f9f
Loading
Loading
Loading
Loading
+15 −1
Changes for manifests/params.pp: 15 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -53,7 +53,21 @@ class postfix::params {
    }

    default: {
      fail "Unsupported OS family '${::osfamily}'"
      case $::operatingsystem {
        'Alpine': {
            $aliasesseltype = undef
            $seltype = undef

            $restart_cmd = '/etc/init.d/postfix reload'

            $mailx_package = 'mailx'

            $master_os_template = "${module_name}/master.cf.debian.erb"
        }
        default: {
          fail "Unsupported OS family '${::osfamily}' and OS '${::operatingsystem}'"
        }
      }
    }
  }
}