review fixes

This commit is contained in:
Andrey Abramov 2019-07-04 15:18:07 +03:00
parent d887ef05c1
commit 9bc34d360b
2 changed files with 9 additions and 3 deletions

View File

@ -2,9 +2,6 @@ include:
- gentoo.portage - gentoo.portage
- gentoo.eix - gentoo.eix
- gentoo.repos.gentoo - gentoo.repos.gentoo
{% if pillar.get('overlay', False) %}
- gentoo.repos.{{ pillar.get('overlay') }}
{% endif %}
- gentoo.profile - gentoo.profile
- gentoo.makeconf - gentoo.makeconf

View File

@ -3,14 +3,23 @@ include:
- vcs.git - vcs.git
- gentoo.portage.packages - gentoo.portage.packages
- gentoo.repos.gentoo - gentoo.repos.gentoo
{% if pillar.get('overlay', False) %}
- gentoo.repos.{{ pillar.get('overlay') }}
{% endif %}
sys-apps/portage: sys-apps/portage:
pkg.latest: pkg.latest:
- reload_modules: True - reload_modules: True
- refresh: True
- pkgs: - pkgs:
- {{ pkg.gen_atom('sys-apps/portage') }} - {{ pkg.gen_atom('sys-apps/portage') }}
- require: - require:
- file: gentoo.portage.packages - file: gentoo.portage.packages
{# need both repos here since 'refresh' of pkg module is executed once per run #}
- git: gentoo
{% if pillar.get('overlay', False) %}
- git: {{ pillar.get('overlay') }}
{% endif %}
app-portage-purged: app-portage-purged:
pkg.purged: pkg.purged: