Sha256: 53a1b116d503ed7bfcab666d75d2122378ffbb4d35e7a1cb010e296c8e0f45c3

Contents?: true

Size: 823 Bytes

Versions: 8

Compression:

Stored size: 823 Bytes

Contents

class apt::params {
  $root           = '/etc/apt'
  $provider       = '/usr/bin/apt-get'
  $sources_list_d = "${root}/sources.list.d"
  $apt_conf_d     = "${root}/apt.conf.d"
  $preferences_d  = "${root}/preferences.d"

  case $::lsbdistid {
    'debian': {
      case $::lsbdistcodename {
        'squeeze': {
          $backports_location = 'http://backports.debian.org/debian-backports'
        }
        default: {
          $backports_location = 'http://ftp.debian.org/debian/'
        }
      }
    }
    'ubuntu': {
      case $::lsbdistcodename {
        'hardy','lucid','maverick','natty','oneiric','precise': {
          $backports_location = 'http://us.archive.ubuntu.com/ubuntu'
        }
        default: {
          $backports_location = 'http://old-releases.ubuntu.com/ubuntu'
        }
      }
    }
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/apt/manifests/params.pp
freighthop-0.6.0 modules/apt/manifests/params.pp
freighthop-0.5.2 modules/apt/manifests/params.pp
freighthop-0.5.1 modules/apt/manifests/params.pp
freighthop-0.5.0 modules/apt/manifests/params.pp
freighthop-0.4.1 modules/apt/manifests/params.pp
freighthop-0.4.0 modules/apt/manifests/params.pp
freighthop-0.0.1 modules/apt/manifests/params.pp