Salt-stack error with state git.config -
i've run error while trying use git.config state saltstack version 2014.7.2 (helium). i'm using masterless setup.
---------- state: - git name: user.email function: config result: false comment: state git.config found in sls git unavailable changes:
the state generating error here:
git: pkg.installed gitconfigemail: git.config: - name: user.email - value: {{pillar['user']['email']}} - is_global: true - require: - pkg: git
what error mean , how fix it?
you want use git.config_set
state, not git.config module.
https://docs.saltstack.com/en/latest/ref/states/all/salt.states.git.html#salt.states.git.config_set
Comments
Post a Comment