
_osfamily               = fact('osfamily')
_operatingsystem        = fact('operatingsystem')
_operatingsystemrelease = fact('operatingsystemrelease').to_f

case _osfamily
when 'RedHat'
  $packagename     = 'httpd'
  $servicename     = 'httpd'
  $baseconf        = '/etc/httpd'
  $generalconf     = '/etc/httpd/conf/httpd.conf'
  $defaultsiteconf = '/etc/httpd/conf.d/00_default.conf'
  $et2blogconf     = '/etc/httpd/conf.d/sites/00-et2blog-80.conf'
  $et2blogconfssl  = '/etc/httpd/conf.d/sites/00-et2blog_ssl-443.conf'
  $systemadminconf = '/etc/httpd/conf.d/sites/10-systemadmin.es-81.conf'
  $testingconf     = '/etc/httpd/conf.d/sites/77-testing.lol-80.conf'
  $defaultvhconf   = '/etc/httpd/conf.d/00_default.conf'
  $modulesconf     = '/etc/httpd/conf.d/modules.conf'
  $includesconf    = '/etc/httpd/conf.d/includes.conf'
  $deflateconf     = '/etc/httpd/conf.d/deflate.conf'
  $reqtimeoutconf  = '/etc/httpd/conf.d/reqtimeout.conf'
  $nssvhostconf    = '/etc/httpd/conf.d/sites/11-ZnVja3RoYXRiaXRjaAo.com-443.conf'

when 'Debian'
  $packagename     = 'apache2'
  $servicename     = 'apache2'
  $baseconf        = '/etc/apache2'
  $generalconf     = '/etc/apache2/apache2.conf'
  $defaultsiteconf = '/etc/apache2/conf.d/00_default.conf'
  $et2blogconf     = '/etc/apache2/conf.d/sites/00-et2blog-80.conf'
  $et2blogconfssl  = '/etc/apache2/conf.d/sites/00-et2blog_ssl-443.conf'
  $systemadminconf = '/etc/apache2/conf.d/sites/10-systemadmin.es-81.conf'
  $testingconf     = '/etc/apache2/conf.d/sites/77-testing.lol-80.conf'
  $defaultvhconf   = '/etc/apache2/conf.d/00_default.conf'
  $modulesconf     = '/etc/apache2/conf.d/modules.conf'
  $includesconf    = '/etc/apache2/conf.d/includes.conf'
  $deflateconf     = '/etc/apache2/conf.d/deflate.conf'
  $reqtimeoutconf  = '/etc/apache2/conf.d/reqtimeout.conf'
  $nssvhostconf    = '/etc/apache2/conf.d/sites/11-ZnVja3RoYXRiaXRjaAo.com-443.conf'

else
  $packagename     = '-_-'
  $servicename     = '-_-'
  $baseconf        = '-_-'
  $defaultsiteconf = '-_-'
  $et2blogconf     = '-_-'
  $et2blogconfssl  = '-_-'
  $systemadminconf = '-_-'
  $defaultvhconf   = '-_-'
  $modulesconf     = '-_-'
  $includesconf    = '-_-'
  $deflateconf     = '-_-'
  $reqtimeoutconf  = '-_-'
  $nssvhostconf    = '-_-'

end
