{"action":"opened","issue":{"url":"https://api.github.com/repos/saltstack-formulas/salt-formula/issues/83","labels_url":"https://api.github.com/repos/saltstack-formulas/salt-formula/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/saltstack-formulas/salt-formula/issues/83/comments","events_url":"https://api.github.com/repos/saltstack-formulas/salt-formula/issues/83/events","html_url":"https://github.com/saltstack-formulas/salt-formula/issues/83","id":53976264,"number":83,"title":"formula fails on CentOS when run from gitfs","user":{"login":"saxonww","id":5296001,"avatar_url":"https://avatars.githubusercontent.com/u/5296001?v=3","gravatar_id":"","url":"https://api.github.com/users/saxonww","html_url":"https://github.com/saxonww","followers_url":"https://api.github.com/users/saxonww/followers","following_url":"https://api.github.com/users/saxonww/following{/other_user}","gists_url":"https://api.github.com/users/saxonww/gists{/gist_id}","starred_url":"https://api.github.com/users/saxonww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saxonww/subscriptions","organizations_url":"https://api.github.com/users/saxonww/orgs","repos_url":"https://api.github.com/users/saxonww/repos","events_url":"https://api.github.com/users/saxonww/events{/privacy}","received_events_url":"https://api.github.com/users/saxonww/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-11T00:03:49Z","updated_at":"2015-01-11T00:03:49Z","closed_at":null,"body":"I've recently converted a bunch of formulas I cloned and then referenced via file_roots to local git repos referenced from gitfs_remotes. A couple of formulas now break whenever a dictionary item can't be resolved.\r\n\r\nI am using CentOS, and this formula fails because it can't resolve salt.pkrepo.centos. Since this was working fine when pulled from file_roots I am not sure what to say, although wrapping the contents of salt/pkgrepo/init.sls in an if checking for `os_family == 'Debian'` eliminates the problem for me."}}