/etc/diamond/collectors.salt/RabbitMQCollector.conf
file.managed: <======================
- source: salt://metrics/diamond/files/diamond/collectors/RabbitMQCollector.conf
I think you are missing a colon after your id.
/etc/diamond/collectors.salt/RabbitMQCollector.conf: <<-------- here
file.managed:
I would also recommend putting this logic in the top file. As our states have grown the complexity keeps increasing. It also make it easier to test (I use a vagrant vm for testing and development of states), since you can just apply it directly without setting up any grains first, on the other hand you have to be careful when calling state.sls.
Nicholas
> an email to salt-users+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
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+unsubscribe@googlegroups.com.
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/jZWBwTAlkBk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to salt-users+...@googlegroups.com.