salt: States that include other states is causing "conflicting IDs" errors.

Using salt 0.17 On my top.sls I have

base:
  '*'
    - github
    - openssh

The github state include openssh state. That is generating this error message:

Data failed to compile:
----------
    Detected conflicting IDs, SLS IDs need to be globally unique.

If I remove the includes, the highstate runs normaly.

About this issue

  • Original URL
  • State: closed
  • Created 11 years ago
  • Comments: 33 (18 by maintainers)

Commits related to this issue

Most upvoted comments

what if I have “mysql” in top.sls

  'L@serv01, serv02, serv03':
    - rabbitmq

Then in rabbitmq.sls I must ensure user and groups like this

# users and groups
rabbitmq:
  group.present:

rabbitmq:
  user.present:
    - groups:
      - rabbitmq

I will have three duplicate global IDs?

The weird thing is that it was working fine on 0.16.

It was very useful when running a single state that depended on other states.