Browse Source

fix(freebsd): fix package names [skip ci]

Resolves issues introduced in 24ebbb4e0c.
tags/v1.8.2
Imran Iqbal 3 years ago
parent
commit
a30f124485
No account linked to committer's email address
6 changed files with 28 additions and 34 deletions
  1. +0
    -3
      salt/master.sls
  2. +0
    -3
      salt/minion.sls
  3. +9
    -9
      salt/osmap.yaml
  4. +1
    -1
      test/integration/v3002-py3/controls/pkgs_spec.rb
  5. +9
    -9
      test/integration/v3002-py3/files/_mapdata/freebsd-11.yaml
  6. +9
    -9
      test/integration/v3002-py3/files/_mapdata/freebsd-12.yaml

+ 0
- 3
salt/master.sls View File

{%- if salt_settings.version is defined %} {%- if salt_settings.version is defined %}
- version: {{ salt_settings.version }} - version: {{ salt_settings.version }}
{%- endif %} {%- endif %}
{%- if grains.os_family == 'FreeBSD' %}
- unless: pkg info | grep {{ salt_settings.salt_master }}
{%- endif %}
{% if salt_settings.master_service_details.state != 'ignore' %} {% if salt_settings.master_service_details.state != 'ignore' %}
- require_in: - require_in:
- service: salt-master - service: salt-master

+ 0
- 3
salt/minion.sls View File

{%- if salt_settings.version %} {%- if salt_settings.version %}
- version: {{ salt_settings.version }} - version: {{ salt_settings.version }}
{%- endif %} {%- endif %}
{%- if grains.os_family == 'FreeBSD' %}
- unless: pkg info | grep {{ salt_settings.salt_master }}
{%- endif %}
{% if salt_settings.minion_service_details.state != 'ignore' %} {% if salt_settings.minion_service_details.state != 'ignore' %}
- require_in: - require_in:
- service: salt-minion - service: salt-minion

+ 9
- 9
salt/osmap.yaml View File

salt_minion_macos_plist_hash: 26b33da12e0d8960ee96b488c8352002c22a377c19bf3df3f986a1e49eca8b20 salt_minion_macos_plist_hash: 26b33da12e0d8960ee96b488c8352002c22a377c19bf3df3f986a1e49eca8b20


FreeBSD: FreeBSD:
salt_master: py37-salt-3002.6
salt_minion: py37-salt-3002.6
salt_syndic: py37-salt-3002.6
salt_cloud: py37-salt-3002.6
salt_api: py37-salt-3002.6
salt_ssh: py37-salt-3002.6
python_git: py37-GitPython-3.1.11
pygit2: py37-pygit2-1.3.0
python_dulwich: py37-dulwich-0.19.16
salt_master: py37-salt
salt_minion: py37-salt
salt_syndic: py37-salt
salt_cloud: py37-salt
salt_api: py37-salt
salt_ssh: py37-salt
python_git: py37-GitPython
pygit2: py37-pygit2
python_dulwich: py37-dulwich


# If `osfingermap.yaml` is introduced in the future, perhaps better to move to there, # If `osfingermap.yaml` is introduced in the future, perhaps better to move to there,
# since this is probably specific to `OpenBSD-6` # since this is probably specific to `OpenBSD-6`

+ 1
- 1
test/integration/v3002-py3/controls/pkgs_spec.rb View File

when 'arch' when 'arch'
%w[salt] %w[salt]
when /bsd$/ when /bsd$/
%w[py37-salt-3002.6]
%w[py37-salt]
when 'windows' when 'windows'
%w[Salt\ Minion] %w[Salt\ Minion]
else else

+ 9
- 9
test/integration/v3002-py3/files/_mapdata/freebsd-11.yaml View File

pin_version: false pin_version: false
pkgrepo: '' pkgrepo: ''
py_ver: py3 py_ver: py3
pygit2: py37-pygit2-1.3.0
python_dulwich: py37-dulwich-0.19.16
python_git: py37-GitPython-3.1.11
pygit2: py37-pygit2
python_dulwich: py37-dulwich
python_git: py37-GitPython
release: '3002' release: '3002'
restart_via_at: false restart_via_at: false
retry_options: retry_options:
until: true until: true
rootgroup: wheel rootgroup: wheel
rootuser: root rootuser: root
salt_api: py37-salt-3002.6
salt_cloud: py37-salt-3002.6
salt_master: py37-salt-3002.6
salt_api: py37-salt
salt_cloud: py37-salt
salt_master: py37-salt
salt_master_macos_plist_hash: '' salt_master_macos_plist_hash: ''
salt_minion: py37-salt-3002.6
salt_minion: py37-salt
salt_minion_macos_plist_hash: '' salt_minion_macos_plist_hash: ''
salt_ssh: py37-salt-3002.6
salt_syndic: py37-salt-3002.6
salt_ssh: py37-salt
salt_syndic: py37-salt
ssh_roster: {} ssh_roster: {}
syndic_service: salt_syndic syndic_service: salt_syndic
use_pip: false use_pip: false

+ 9
- 9
test/integration/v3002-py3/files/_mapdata/freebsd-12.yaml View File

pin_version: false pin_version: false
pkgrepo: '' pkgrepo: ''
py_ver: py3 py_ver: py3
pygit2: py37-pygit2-1.3.0
python_dulwich: py37-dulwich-0.19.16
python_git: py37-GitPython-3.1.11
pygit2: py37-pygit2
python_dulwich: py37-dulwich
python_git: py37-GitPython
release: '3002' release: '3002'
restart_via_at: false restart_via_at: false
retry_options: retry_options:
until: true until: true
rootgroup: wheel rootgroup: wheel
rootuser: root rootuser: root
salt_api: py37-salt-3002.6
salt_cloud: py37-salt-3002.6
salt_master: py37-salt-3002.6
salt_api: py37-salt
salt_cloud: py37-salt
salt_master: py37-salt
salt_master_macos_plist_hash: '' salt_master_macos_plist_hash: ''
salt_minion: py37-salt-3002.6
salt_minion: py37-salt
salt_minion_macos_plist_hash: '' salt_minion_macos_plist_hash: ''
salt_ssh: py37-salt-3002.6
salt_syndic: py37-salt-3002.6
salt_ssh: py37-salt
salt_syndic: py37-salt
ssh_roster: {} ssh_roster: {}
syndic_service: salt_syndic syndic_service: salt_syndic
use_pip: false use_pip: false

Loading…
Cancel
Save