1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #
- # 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
- {% if (grains.oscodename == 'jessie' or grains.oscodename == 'stretch') %}
- apt-transport-https:
- pkg.installed
- {% endif %}
- python-apt:
- pkg.installed
- # FFHO APT
- /etc/apt/trusted.gpg.d/ffho.gpg:
- file.managed:
- - source: salt://apt/ffho.gpg.{{ grains.os }}.{{ grains.oscodename }}
- /etc/apt/sources.list.d/ffho.list:
- file.managed:
- - source: salt://apt/ffho.list.{{ grains.os }}.{{ grains.oscodename }}
- - require:
- - file: /etc/apt/trusted.gpg.d/ffho.gpg
- # APT preferences
- /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
|