{"action":"closed","issue":{"url":"https://api.github.com/repos/hashicorp/consul-template/issues/579","repository_url":"https://api.github.com/repos/hashicorp/consul-template","labels_url":"https://api.github.com/repos/hashicorp/consul-template/issues/579/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/consul-template/issues/579/comments","events_url":"https://api.github.com/repos/hashicorp/consul-template/issues/579/events","html_url":"https://github.com/hashicorp/consul-template/issues/579","id":141016136,"number":579,"title":"-config directory doesn't follow symlinks","user":{"login":"jippi","id":22841,"avatar_url":"https://avatars.githubusercontent.com/u/22841?v=3","gravatar_id":"","url":"https://api.github.com/users/jippi","html_url":"https://github.com/jippi","followers_url":"https://api.github.com/users/jippi/followers","following_url":"https://api.github.com/users/jippi/following{/other_user}","gists_url":"https://api.github.com/users/jippi/gists{/gist_id}","starred_url":"https://api.github.com/users/jippi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jippi/subscriptions","organizations_url":"https://api.github.com/users/jippi/orgs","repos_url":"https://api.github.com/users/jippi/repos","events_url":"https://api.github.com/users/jippi/events{/privacy}","received_events_url":"https://api.github.com/users/jippi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/consul-template/labels/bug","name":"bug","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-15T15:50:59Z","updated_at":"2016-04-30T00:23:44Z","closed_at":"2016-04-30T00:23:44Z","body":"when having a -config directory to scan recursively, consul-template seem to error out on symlinks\r\n\r\nI'm getting the following error\r\n\r\n```\r\nconfig: walk error: error reading config at \"/etc/consul-template/config/frontend\": read /etc/consul-template/config/frontend: is a directory\r\n```\r\n\r\na `ls`\r\n\r\n```\r\nroot @ local.bownty.net [ /etc/consul-template/config ] [ 15:49:26 ]  (master *%)\r\n-> ls -al\r\n4 -rw-r--r-- 1 root root   62 Mar  4 14:38 config.hcl\r\n4 lrwxrwxrwx 1 root root   68 Mar 15 15:46 frontend -> /var/www/frontend/htdocs/_infrastructure/dist/consul-template/config\r\n```\r\n\r\na `ls` on the symlink\r\n\r\n```\r\nroot @ local.bownty.net [ /etc/consul-template/config ] [ 15:49:27 ]  (master *%)\r\n-> ll /var/www/frontend/htdocs/_infrastructure/dist/consul-template/config\r\ntotal 20\r\n4 drwxr-xr-x 2 root root 4096 Mar 15 15:27 .\r\n4 drwxr-xr-x 4 root root 4096 Mar 15 15:27 ..\r\n4 -rw-r--r-- 1 root root  226 Mar 15 15:46 nginx.hcl\r\n4 -rw-r--r-- 1 root root  217 Mar 15 15:46 php-fpm.hcl\r\n4 -rw-r--r-- 1 root root  219 Mar 15 15:46 supervisor.hcl\r\n```\r\n\r\nit works perfectly if i remove the symlink and move the folders inside the directory \r\n\r\ncommand executed:\r\n\r\n```\r\n/usr/local/bin/consul-template -config /etc/consul-template/config/\r\n```"}}