mirror of
https://github.com/saltstack-formulas/packages-formula.git
synced 2025-04-17 10:10:27 +00:00
Merge pull request #16 from noelmcloughlin/snapd_support
no native snapd package on Centos
This commit is contained in:
commit
e9b9e4c208
3 changed files with 12 additions and 1 deletions
|
@ -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``
|
||||
------------------------
|
||||
|
||||
|
|
|
@ -13,3 +13,8 @@ Fedora:
|
|||
snaps:
|
||||
collides: ['snap',]
|
||||
symlink: True
|
||||
|
||||
Centos:
|
||||
snaps:
|
||||
package:
|
||||
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Reference in a new issue