Puppet Class: artifactory::repo

Defined in:
manifests/repo.pp

Summary

Pull in the platform specific repo classes

Overview



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

class artifactory::repo () {
  assert_private()

  if $artifactory::manage_repo {
    case $facts['os']['family'] {
      'RedHat', 'Linux': {
        contain artifactory::repo::yum
      }

      'Debian': {
        contain artifactory::repo::apt
      }

      default: {
        fail( "Unsupported OS family: ${facts['os']['family']}" )
      }
    }
  }
}