Skip to content

Commit

Permalink
fix small issues found by @myii
Browse files Browse the repository at this point in the history
  • Loading branch information
aboe76 committed Jan 26, 2019
1 parent 7fdba98 commit 66c0699
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions salt/map.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@

{# merge the osfamilymap #}
{% set osfamily = salt['grains.filter_by'](osfamilymap, grain='os_family') or{} %}
{% do defaults.salt.update(osfamily) %}
{% do salt['defaults.merge'](defaults['salt'], osfamily) %}

{# merge the osmap #}
{% set osmap = salt['grains.filter_by'](osmap, grain='os') or{} %}
{% do defaults.salt.update(osmap) %}
{% do salt['defaults.merge'](defaults['salt'], osmap) %}

{## Merge in salt pillar ##}
{% set salt_settings = salt['pillar.get']('salt', default=defaults['salt'], merge=True) %}
Expand Down
2 changes: 1 addition & 1 deletion salt/osmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Ubuntu:
install_from_source: False
git:
require_state: False
install_from_package: None
install_from_package: Null

Raspbian:
pkgrepo: 'deb http://repo.saltstack.com/apt/{{ os_lower }}/{{ osmajorrelease }}/armhf/{{ salt_release }} {{ oscodename }} main'
Expand Down

0 comments on commit 66c0699

Please sign in to comment.