2020-03-03 17:24:56 +01:00
|
|
|
deb http://httpredir.debian.org/debian {{ salt['grains.get']('oscodename', 'buster') }} main:
|
|
|
|
pkgrepo.absent
|
|
|
|
|
|
|
|
debian-repo:
|
2016-09-24 23:52:37 +02:00
|
|
|
pkgrepo.managed:
|
2020-03-03 17:24:56 +01:00
|
|
|
- humanname: Debian
|
|
|
|
- name: deb http://deb.debian.org/debian/ {{ salt['grains.get']('oscodename', 'buster') }} main
|
|
|
|
- file: /etc/apt/sources.list
|
|
|
|
|
|
|
|
debian-updates-repo:
|
|
|
|
pkgrepo.managed:
|
|
|
|
- humanname: Debian updates
|
|
|
|
- name: deb http://deb.debian.org/debian/ {{ salt['grains.get']('oscodename', 'buster') }}-updates main
|
|
|
|
- file: /etc/apt/sources.list
|
|
|
|
|
|
|
|
debian-security-repo:
|
|
|
|
pkgrepo.managed:
|
|
|
|
- humanname: Debian security
|
|
|
|
- name: deb http://security.debian.org/ {{ salt['grains.get']('oscodename', 'buster') }}/updates main
|
|
|
|
- file: /etc/apt/sources.list
|
|
|
|
|
|
|
|
backports-repo:
|
|
|
|
pkgrepo.managed:
|
|
|
|
- humanname: Debian backports
|
|
|
|
- name: deb http://deb.debian.org/debian/ {{ salt['grains.get']('oscodename', 'buster') }}-backports main
|
2016-09-24 23:52:37 +02:00
|
|
|
- file: /etc/apt/sources.list.d/backports.list
|
|
|
|
|
2020-03-03 17:24:56 +01:00
|
|
|
salt-repo:
|
|
|
|
pkgrepo.managed:
|
|
|
|
- humanname: Saltstack Repository
|
|
|
|
- name: deb https://repo.saltstack.com/py3/debian/{{ salt['grains.get']('osmajorrelease') }}/amd64/latest {{ salt['grains.get']('oscodename', 'buster') }} main
|
|
|
|
- dist: {{ salt['grains.get']('oscodename', 'buster') }}
|
|
|
|
- file: /etc/apt/sources.list.d/saltstack.list
|
|
|
|
- key_url: https://repo.saltstack.com/py3/debian/{{ salt['grains.get']('osmajorrelease') }}/amd64/latest/SALTSTACK-GPG-KEY.pub
|
|
|
|
|
|
|
|
/etc/apt/apt.conf.d/02norecommends:
|
|
|
|
file.managed:
|
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
- mode: 0644
|
|
|
|
- contents: 'Apt::Install-Recommends "false";'
|
|
|
|
|
|
|
|
/etc/apt/apt.conf.d/03translations:
|
|
|
|
file.managed:
|
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
- mode: 0644
|
|
|
|
- contents: 'Acquire::Languages "none";'
|
|
|
|
|
|
|
|
/etc/apt/apt.conf.d/04compression:
|
|
|
|
file.managed:
|
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
- mode: 0644
|
|
|
|
- contents: 'Acquire::CompressionTypes::Order {"xz"; "gz"; "bz2"; "uncompressed"};'
|
|
|
|
|
|
|
|
base:
|
2015-10-04 14:20:44 +02:00
|
|
|
pkg.installed:
|
2016-01-26 13:24:22 +01:00
|
|
|
- pkgs:
|
2020-03-03 17:24:56 +01:00
|
|
|
- apt-transport-https
|
|
|
|
- bash-completion
|
|
|
|
- bsdmainutils
|
|
|
|
- ca-certificates
|
|
|
|
- debconf-utils
|
|
|
|
- etckeeper
|
2015-10-04 14:20:44 +02:00
|
|
|
- git
|
2020-03-03 17:24:56 +01:00
|
|
|
- less
|
2016-01-31 16:34:53 +01:00
|
|
|
- locales-all
|
2020-03-03 17:24:56 +01:00
|
|
|
- lsb-release
|
|
|
|
- tmux
|
|
|
|
- virt-what
|
|
|
|
|
|
|
|
sudo:
|
|
|
|
pkg.installed
|
|
|
|
|
|
|
|
/etc/sudoers.d/sudonopasswd:
|
|
|
|
file:
|
|
|
|
- managed
|
|
|
|
- mode: 0440
|
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
- source: salt://base/sudonopasswd
|
|
|
|
- require:
|
|
|
|
- pkg: sudo
|
2015-10-11 12:02:22 +02:00
|
|
|
|
2016-09-25 17:27:42 +02:00
|
|
|
/etc/salt/grains:
|
|
|
|
file.managed:
|
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
- mode: 0600
|
|
|
|
- replace: False
|
|
|
|
|
2020-03-03 17:24:56 +01:00
|
|
|
nano:
|
|
|
|
pkg.purged
|
2016-01-26 13:24:22 +01:00
|
|
|
|
|
|
|
update-system:
|
|
|
|
pkg.uptodate:
|
|
|
|
- refresh: True
|