Puppet Class: opensearch_dashboards::repository

Defined in:
manifests/repository.pp

Summary

Handle OpenSearch Dashboards repository.

Overview



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'manifests/repository.pp', line 6

class opensearch_dashboards::repository {
  assert_private()

  case $facts['os']['family'] {
    'RedHat': {
      contain opensearch_dashboards::repository::redhat
    }
    'Debian': {
      contain opensearch_dashboards::repository::debian
    }
    default: {
      fail("Your OS ${facts['os']['family']} (${facts['os']['name']}) is not supported to use a repository for installing opensearch dashboards!")
    }
  }
}