Commit 99c69e8b authored by Scotty Logan's avatar Scotty Logan
Browse files

removed repo definitions - now using hiera for those

parent 4da3812a
Loading
Loading
Loading
Loading
+2 −83
Original line number Diff line number Diff line
@@ -39,87 +39,6 @@ class base::apt(

  # force apt-get update before package installation
  Class['apt::update'] -> Package<| |>
  /*
  apt::source { 'nodesource':
    comment  => 'NodeSource APT Repo',
    location => 'https://deb.nodesource.com/node_4.x',
    release  => $::lsbdistcodename,
    repos    => 'main',
    key      => {
      'id'     => '9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280',
      'server' => 'keyserver.ubuntu.com',
    },
    include  => {
      'deb' => true,
      'src' => false,
    },
    require  => Package['apt-transport-https'],
  }

  apt::source { 'puppetlabs':
    location  => 'http://apt.puppetlabs.com',
    repos     => 'main',
    key       => {
      'id'      => '47B320EB4C7C375AA9DAE1A01054B7A24BD6EC30',
      'server'  => 'pgp.mit.edu',
    },
    include   => {
      'deb' => true,
      'src' => false,
    },
  }

  apt::source { 'itlab':
    location  => 'http://repo.itlab.stanford.edu',
    repos     => 'main',
    key       => {
      id      => '9A559486A1F8A1DA93809EA37CBDD8B10F39DA6C',
      source  => 'http://repo.itlab.stanford.edu/keys/itlab.stanford.edu.key',
    },
    include   => {
      'deb' => true,
      'src' => false,
    },
  }

  if $::architecture == 'armv7l' {

    apt::source { 'docker':
      comment  => 'Docker APT Repo',
      location => 'https://packagecloud.io/Hypriot/Schatzkiste/debian/',
      release  => $::lsbdistcodename,
      repos    => 'main',
      key      => {
        'id'     => '418A7F2FB0E1E6E7EABF6FE8C2E73424D59097AB',
        'server' => 'keyserver.ubuntu.com',
      },
      include  => {
        'deb' => true,
        'src' => false,
      },
      require  => Package['apt-transport-https'],
    }

  } else {

    apt::source { 'docker':
      comment  => 'Docker APT Repo',
      location => 'https://apt.dockerproject.org/repo/',
      release  => downcase("${::operatingsystem}-${::lsbdistcodename}"),
      repos    => 'main',
      key      => {
        'id'     => '58118E89F3A912897C070ADBF76221572C52609D',
        'server' => 'keyserver.ubuntu.com',
      },
      include  => {
        'deb' => true,
        'src' => false,
      },
      require  => Package['apt-transport-https'],
    }

  }
*/

  apt::setting { 'conf-itlab':
    priority => 50,