default for managerupdate should be int not a string

This commit is contained in:
m0duspwnens
2022-01-28 12:50:58 -05:00
parent 905ca35e93
commit e82c6a2393

View File

@@ -1,7 +1,7 @@
{% from 'repo/client/map.jinja' import ABSENTFILES with context %}
{% from 'repo/client/map.jinja' import REPOPATH with context %}
{% set ISAIRGAP = salt['pillar.get']('global:airgap', False) %}
{% set managerupdates = salt['pillar.get']('global:managerupdate', '0') %}
{% set managerupdates = salt['pillar.get']('global:managerupdate', 0) %}
{% set role = grains.id.split('_') | last %}
# from airgap state