Sha256: cee1ab6734cea3462bddac37659652818bbf0422b0c212af9f7731f339e02303

Contents?: true

Size: 896 Bytes

Versions: 27

Compression:

Stored size: 896 Bytes

Contents

# Declare the apt class to manage /etc/apt/sources.list and /etc/sources.list.d
class { 'apt': }

# Install the puppetlabs apt source
# Release is automatically obtained from lsbdistcodename fact if available.
apt::source { 'puppetlabs':
  location   => 'http://apt.puppetlabs.com',
  repos      => 'main',
  key        => '4BD6EC30',
  key_server => 'pgp.mit.edu',
}

# test two sources with the same key
apt::source { 'debian_testing':
  location   => 'http://debian.mirror.iweb.ca/debian/',
  release    => 'testing',
  repos      => 'main contrib non-free',
  key        => '55BE302B',
  key_server => 'subkeys.pgp.net',
  pin        => '-10',
}
apt::source { 'debian_unstable':
  location   => 'http://debian.mirror.iweb.ca/debian/',
  release    => 'unstable',
  repos      => 'main contrib non-free',
  key        => '55BE302B',
  key_server => 'subkeys.pgp.net',
  pin        => '-10',
}

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
freighthop-0.6.1 modules/apt/tests/source.pp
freighthop-0.6.0 modules/apt/tests/source.pp
freighthop-0.5.2 modules/apt/tests/source.pp
freighthop-0.5.1 modules/apt/tests/source.pp
freighthop-0.5.0 modules/apt/tests/source.pp
freighthop-0.4.1 modules/apt/tests/source.pp
freighthop-0.4.0 modules/apt/tests/source.pp
freighthop-0.3.3 modules/apt/tests/source.pp
freighthop-0.3.2 modules/apt/tests/source.pp
freighthop-0.3.1 modules/apt/tests/source.pp
freighthop-0.3.0 modules/apt/tests/source.pp
freighthop-0.2.1 modules/apt/tests/source.pp
freighthop-0.2.0 modules/apt/tests/source.pp
freighthop-0.1.0 modules/apt/tests/source.pp
freighthop-0.0.6 modules/apt/tests/source.pp
freighthop-0.0.5 modules/apt/tests/source.pp
freighthop-0.0.4 modules/apt/tests/source.pp
freighthop-0.0.3 modules/apt/tests/source.pp
freighthop-0.0.2 modules/apt/tests/source.pp
freighthop-0.0.1 modules/apt/tests/source.pp