123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- #
- # APT
- #
- /etc/apt/sources.list:
- file.managed:
- - source: salt://apt/sources.list.{{ grains.os }}.{{ grains.oscodename }}
- /etc/cron.d/apt:
- file.managed:
- - source: salt://apt/update_apt.cron
- apt-transport-https:
- pkg.installed
- python-apt:
- pkg.installed
- ffpb-repo:
- pkgrepo.managed:
- - comments:
- - "# FFPB APT repo"
- - human_name: FFPB repository
- - name: deb http://apt.paderborn.freifunk.net/ wheezy main contrib non-free
- - dist: wheezy
- - file: /etc/apt/sources.list.d/freifunk.list
- - keyserver: keys.gnupg.net
- - keyid: 40FC1CE2
- - require:
- - pkg: python-apt
- {% if grains['oscodename'] == 'jessie' %}
- ffho-repo-jessie:
- pkgrepo.managed:
- - comments:
- - "# FFHO APT repo"
- - human_name: FFHO repository
- - name: deb http://apt.ffho.net/ jessie main contrib non-free
- - dist: jessie
- - file: /etc/apt/sources.list.d/ffho.list
- - keyserver: keys.gnupg.net
- - keyid: 40FC1CE2
- - require:
- - pkg: python-apt
- {% endif %}
- apt-neoraider:
- pkgrepo.managed:
- - comments:
- - "# Neoraiders APT repo"
- - human_name: Neoraiders APT repo
- - name: deb https://repo.universe-factory.net/debian/ sid main
- - dist: sid
- - file: /etc/apt/sources.list.d/universe-factory.list
- - keyserver: pgpkeys.mit.edu
- - keyid: 16EF3F64CB201D9C
- # APT preferences - Pin neoraiders packages to prio 900
- /etc/apt/preferences.d/ffho:
- file.managed:
- - source: salt://apt/ffho.preferences
|