Puppet Class: opensearch::repository

Defined in:
manifests/repository.pp

Summary

Handle opensearch 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::repository {
  assert_private()

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