top.sls:
base:
'*':
- core
'G@roles:target_role and environment:production':
- match: compound
- target_state
dev/top.sls
dev:
'G@roles:target_role and envirionment:dev':
- match: compound
- target_state
Detected conflicting IDs, SLS IDs need to be globally unique.
The conflicting ID is 'git' and is found in SLS 'base:core' and SLS 'dev:core'
Removing the wildcard targeting core to all machines from the base environment resolves the problem.
Is there a way to ensure that core is installed on our all production machines while still including it in states to ensure the pre-requisites are installed?
Cheers,
Tyler
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No matching sls found for 'core.sls' in env 'base'
└── salt
├── core
│ └── init.sls
├── dev
│ ├── state_b
│ │ └── init.sls
│ └── top.sls
├── target_state
│ └── init.sls
└── top.sls
file_roots:
base:
- /srv/salt
dev:
- /srv/salt/dev
- /srv/salt
You received this message because you are subscribed to a topic in the Google Groups "Salt-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/salt-users/DTSqH3xZyj8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to salt-users+...@googlegroups.com.