-
Notifications
You must be signed in to change notification settings - Fork 5.6k
saltenv not used from roster with salt-ssh state.apply #50011
Copy link
Copy link
Open
Labels
Corerelates to code central or existential to Saltrelates to code central or existential to SaltSalt-SSHbugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behaviorseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
Corerelates to code central or existential to Saltrelates to code central or existential to SaltSalt-SSHbugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behaviorseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around3rd level, incorrect or bad functionality, confusing and lacks a work around
Description of Issue/Question
I am trying to define saltenv in my roster files and have the correct environment applied when salt-ssh is called. What I observe is state.apply always seems to default to "base" environment, which pillar.items uses the correct saltenv defined in the roster.
Setup
roster
/etc/salt/master
test.sls
top.sls
Steps to Reproduce Issue
salt-ssh localhost state.apply testsalt-ssh localhost state.apply test saltenv=cloud_localsalt-call state.apply testVersions Report
(master, minion and ssh are all the same version)