{"action":"created","issue":{"url":"https://api.github.com/repos/ployground/bsdploy/issues/56","labels_url":"https://api.github.com/repos/ployground/bsdploy/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/ployground/bsdploy/issues/56/comments","events_url":"https://api.github.com/repos/ployground/bsdploy/issues/56/events","html_url":"https://github.com/ployground/bsdploy/issues/56","id":57563646,"number":56,"title":"enable gateway in rc.conf fails","user":{"login":"thallian","id":3416920,"avatar_url":"https://avatars.githubusercontent.com/u/3416920?v=3","gravatar_id":"","url":"https://api.github.com/users/thallian","html_url":"https://github.com/thallian","followers_url":"https://api.github.com/users/thallian/followers","following_url":"https://api.github.com/users/thallian/following{/other_user}","gists_url":"https://api.github.com/users/thallian/gists{/gist_id}","starred_url":"https://api.github.com/users/thallian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thallian/subscriptions","organizations_url":"https://api.github.com/users/thallian/orgs","repos_url":"https://api.github.com/users/thallian/repos","events_url":"https://api.github.com/users/thallian/events{/privacy}","received_events_url":"https://api.github.com/users/thallian/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-13T06:15:33Z","updated_at":"2015-02-13T11:46:46Z","closed_at":"2015-02-13T10:16:32Z","body":"While running `ploy configure` I get an error at the `Enable gateway in rc.conf` step (using the latest master build):\r\n\r\n```\r\ngateway does not exist in /etc/rc.d or the local startup\r\ndirectories (/usr/local/etc/rc.d)\r\n\r\nmsg: unable to determine rcvar\r\n```\r\n\r\nI am a complete beginner in FreeBSD (and in BSD systems in general) so my findings may be obvious to you.\r\n\r\nThe ansible service module tries to get the service status before enabling/disabling it and as there is no gateway file in `/etc/rc.d/` this fails.\r\n\r\nThis happens only after the recent change to [pf.yml](/ployground/bsdploy/blob/master/bsdploy/roles/jails_host/tasks/pf.yml) as seen in this [changeset](/ployground/bsdploy/commit/8a75ba0c6af8e8129751f13932fcd0a15c901b67).\r\n\r\nAfter resetting to this commit everything works as described."},"comment":{"url":"https://api.github.com/repos/ployground/bsdploy/issues/comments/74242261","html_url":"https://github.com/ployground/bsdploy/issues/56#issuecomment-74242261","issue_url":"https://api.github.com/repos/ployground/bsdploy/issues/56","id":74242261,"user":{"login":"thallian","id":3416920,"avatar_url":"https://avatars.githubusercontent.com/u/3416920?v=3","gravatar_id":"","url":"https://api.github.com/users/thallian","html_url":"https://github.com/thallian","followers_url":"https://api.github.com/users/thallian/followers","following_url":"https://api.github.com/users/thallian/following{/other_user}","gists_url":"https://api.github.com/users/thallian/gists{/gist_id}","starred_url":"https://api.github.com/users/thallian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thallian/subscriptions","organizations_url":"https://api.github.com/users/thallian/orgs","repos_url":"https://api.github.com/users/thallian/repos","events_url":"https://api.github.com/users/thallian/events{/privacy}","received_events_url":"https://api.github.com/users/thallian/received_events","type":"User","site_admin":false},"created_at":"2015-02-13T11:46:46Z","updated_at":"2015-02-13T11:46:46Z","body":"Perfect, thanks!  \r\nYeah, I am only testing for the moment ;)"}}