1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- #
- # 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-icinga2:
- pkgrepo.managed:
- - comments:
- - "# Icinga2 repo"
- - human_name: Icinga2 repo
- - name: deb http://packages.icinga.org/debian icinga-jessie main
- - file: /etc/apt/sources.list.d/icinga2.list
- - key_url: http://packages.icinga.org/icinga.key
- # APT preferences - Pin neoraiders packages to prio 900
- /etc/apt/preferences.d/ffho:
- file.managed:
- - source: salt://apt/ffho.preferences
- /etc/apt/apt.conf.d/ffho:
- file.managed:
- - source: salt://apt/ffho.apt.conf
|