heavy repo refactoring
This commit is contained in:
@@ -2,5 +2,4 @@
|
||||
|
||||
|
||||
include:
|
||||
- .repo
|
||||
- .pkgs
|
||||
@@ -1,15 +0,0 @@
|
||||
#!jinja|yaml|gpg
|
||||
|
||||
{%-
|
||||
set cache_url = salt['pillar.get'](
|
||||
'services:apt-cache',
|
||||
default=''
|
||||
)
|
||||
%}
|
||||
|
||||
repo_armbian:
|
||||
pkgrepo.managed:
|
||||
- name: 'deb http://{{ cache_url }}mirrors.dotsrc.org/armbian-apt {{ grains['oscodename'] }} main {{ grains['oscodename'] }}-utils {{ grains['oscodename'] }}-desktop'
|
||||
- dist: {{ grains['oscodename'] }}
|
||||
- file: /etc/apt/sources.list.d/armbian.list
|
||||
- clean_file: True
|
||||
@@ -4,9 +4,9 @@ include:
|
||||
- .raspberrypi
|
||||
{% endif %}
|
||||
|
||||
{% if grains['hardware'] == 'Pine64' %}
|
||||
- .pine64
|
||||
{% endif %}
|
||||
#{% if grains['hardware'] == 'Pine64' %}
|
||||
# - .pine64
|
||||
#{% endif %}
|
||||
|
||||
{% if grains['hardware'] == 'Espressobin' %}
|
||||
- .espressobin
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
|
||||
include:
|
||||
- .repo
|
||||
@@ -1,15 +0,0 @@
|
||||
#!jinja|yaml|gpg
|
||||
|
||||
{%-
|
||||
set cache_url = salt['pillar.get'](
|
||||
'services:apt-cache',
|
||||
default=''
|
||||
)
|
||||
%}
|
||||
|
||||
repo_armbian:
|
||||
pkgrepo.managed:
|
||||
- name: 'deb http://{{ cache_url }}mirrors.dotsrc.org/armbian-apt {{ grains['oscodename'] }} main {{ grains['oscodename'] }}-utils #{{ grains['oscodename'] }}-desktop'
|
||||
- dist: {{ grains['oscodename'] }}
|
||||
- file: /etc/apt/sources.list.d/armbian.list
|
||||
- clean_file: True
|
||||
Reference in New Issue
Block a user