{"action":"opened","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/48245","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/48245/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/48245/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/48245/events","html_url":"https://github.com/saltstack/salt/issues/48245","id":334528766,"node_id":"MDU6SXNzdWUzMzQ1Mjg3NjY=","number":48245,"title":"How to find the conflicts in salt pillars for avoiding conflicts between different states used same config","user":{"login":"sam0104","id":27223479,"node_id":"MDQ6VXNlcjI3MjIzNDc5","avatar_url":"https://avatars2.githubusercontent.com/u/27223479?v=4","gravatar_id":"","url":"https://api.github.com/users/sam0104","html_url":"https://github.com/sam0104","followers_url":"https://api.github.com/users/sam0104/followers","following_url":"https://api.github.com/users/sam0104/following{/other_user}","gists_url":"https://api.github.com/users/sam0104/gists{/gist_id}","starred_url":"https://api.github.com/users/sam0104/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam0104/subscriptions","organizations_url":"https://api.github.com/users/sam0104/orgs","repos_url":"https://api.github.com/users/sam0104/repos","events_url":"https://api.github.com/users/sam0104/events{/privacy}","received_events_url":"https://api.github.com/users/sam0104/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-21T14:47:47Z","updated_at":"2018-06-21T14:47:47Z","closed_at":null,"author_association":"NONE","body":"### Description of Issue/Question\r\nWe are using salt states by different teams like OS , network , DB and Application. We have individual directories under /srv/salt and /srv/pillar . For few states different teams using configuration which are coming from different pillar to make the same changes on minions. Like changing /etc/hosts /etc/resolv.conf  where OS team modify some parameter but DB team execute another state and again change those configuration made by OS team. Which leads to outage and issues.\r\n\r\nWe have pillar coming from internal github where different team update their pillar files and we merge and built as a rpm package , which goes to install on Salt master. \r\n\r\nIs there any best practices or tool from Saltstack we can use to find the conflicts in states which are coming from pillar data ( example : hostname , IP address , OS config ) and resolve it before execution. This will help us to find any similar configurations changes which are going to be executed inside states.\r\n\r\nPlease advise.  \r\n\r\nexample  : /srv/salt/OS , /srv/salt/DB , /srv/salt/ APP and /srv/pillar/OS , /srv/pillar/DB , /srv/pillar/APP\r\n### Setup\r\n(Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).)\r\n\r\n### Steps to Reproduce Issue\r\n(Include debug logs if possible and relevant.)\r\nGeneral to Salt . We are using Salt open source version but  going for Salt Enterprise soon\r\n### Versions Report\r\n(Provided by running `salt --versions-report`. Please also mention any differences in master/minion versions.)\r\n"}}
{"actor":{"display_login":"sam0104"}}