# == Class: vigie::params
#
# Parameters for puppet-vigie
#
class vigie::params {
  include openstacklib::defaults

  $client_package      = 'python3-vigieclient'
  $db_sync_command     = 'vigie-manage db_sync'
  $user                = 'vigie'
  $group               = 'vigie'

  case $facts['os']['family'] {
    'Debian': {
      $common_package_name        = 'vigie-common'
      $api_package_name           = 'vigie-api'
      $api_service_name           = 'vigie-api'
      $worker_package_name        = 'vigie-worker'
      $worker_service_name        = 'vigie-worker'
    }
    default: {
      fail("Unsupported osfamily: ${facts['os']['family']}")
    }
  }
}
