no native snapd package on Centos

This commit is contained in:
noelmcloughlin 2018-03-20 16:42:42 +00:00
parent 57843d3ffd
commit 3a302bdee9
3 changed files with 12 additions and 1 deletions

View file

@ -139,6 +139,10 @@ You can specify:
* ``required states`` on which any of the ``wanted`` packages depend for their
correct installation (ie, ``epel`` for RedHat families).
.. note::
Centos has no native ``snapd`` package at this time.
``packages.remote_pkgs``
------------------------

View file

@ -13,3 +13,8 @@ Fedora:
snaps:
collides: ['snap',]
symlink: True
Centos:
snaps:
package:

View file

@ -6,7 +6,8 @@
{% set wanted_snaps = packages.snaps.wanted %}
{% set unwanted_snaps = packages.snaps.unwanted %}
{% if packages.snaps.wanted or packages.snaps.unwanted %}
{%- if packages.snaps.package %}
{% if packages.snaps.wanted or packages.snaps.unwanted %}
### REQ PKGS (without this, SNAPS can fail to install/uninstall)
include:
@ -81,4 +82,5 @@ packages-snapd-{{ snap }}-unwanted:
- pkg: unwanted_pkgs
{% endfor %}
{% endif %}
{% endif %}