{"action":"created","issue":{"url":"https://api.github.com/repos/sous-chefs/dhcp/issues/6","repository_url":"https://api.github.com/repos/sous-chefs/dhcp","labels_url":"https://api.github.com/repos/sous-chefs/dhcp/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/sous-chefs/dhcp/issues/6/comments","events_url":"https://api.github.com/repos/sous-chefs/dhcp/issues/6/events","html_url":"https://github.com/sous-chefs/dhcp/issues/6","id":13918697,"node_id":"MDU6SXNzdWUxMzkxODY5Nw==","number":6,"title":"dhcpd.conf - communities cookbook issue","user":{"login":"bunchc","id":2540442,"node_id":"MDQ6VXNlcjI1NDA0NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/2540442?v=4","gravatar_id":"","url":"https://api.github.com/users/bunchc","html_url":"https://github.com/bunchc","followers_url":"https://api.github.com/users/bunchc/followers","following_url":"https://api.github.com/users/bunchc/following{/other_user}","gists_url":"https://api.github.com/users/bunchc/gists{/gist_id}","starred_url":"https://api.github.com/users/bunchc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bunchc/subscriptions","organizations_url":"https://api.github.com/users/bunchc/orgs","repos_url":"https://api.github.com/users/bunchc/repos","events_url":"https://api.github.com/users/bunchc/events{/privacy}","received_events_url":"https://api.github.com/users/bunchc/received_events","type":"User","site_admin":false},"labels":[{"id":9600169,"node_id":"MDU6TGFiZWw5NjAwMTY5","url":"https://api.github.com/repos/sous-chefs/dhcp/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2013-05-03T01:33:50Z","updated_at":"2018-07-24T09:59:14Z","closed_at":"2013-11-18T07:14:38Z","author_association":"NONE","body":"```\nerrror executing action `create` on resource 'template[/etc/dhcp/dhcpd.conf]'\n\n================================================================================\n\n\n\n\nChef::Mixin::Template::TemplateError\n\n------------------------------------\n\nundefined method `empty?' for nil:NilClass\n\n\n\n\nResource Declaration:\n---------------------\n# In /var/chef/cache/cookbooks/dhcp/recipes/_config.rb\n\n  8: template node[:dhcp][:config_file] do\n  9:   owner \"root\"\n 10:   group \"root\"\n 11:   mode 0644\n 12:   source \"dhcpd.conf.erb\"\n 13:   variables(\n 14:     :allows => node[:dhcp][:allows] || [],\n 15:     :parameters =>  node[:dhcp][:parameters] || [],\n 16:     :options =>  node[:dhcp][:options] || [],\n 17:     :masters => DHCP::DynaDns.masters,\n 18:     :keys => DHCP::DynaDns.keys,\n 19:     :my_ip => node[:ipaddress],\n 20:     :role => DHCP::Failover.role,\n 21:     :peer_ip => DHCP::Failover.peer,\n 22:     :failover => DHCP::Failover.enabled?\n 23:     )\n 24:   action :create\n 25:   notifies :restart, resources(:service => node[:dhcp][:service_name] ), :delayed\n 26: end\n 27:\n\n\n\nCompiled Resource:\n------------------\n# Declared in /var/chef/cache/cookbooks/dhcp/recipes/_config.rb:8:in `from_file'\n\ntemplate(\"/etc/dhcp/dhcpd.conf\") do\n  provider Chef::Provider::Template\n  action [:create]\n  retries 0\n  retry_delay 2\n  path \"/etc/dhcp/dhcpd.conf\"\n  backup 5\n  source \"dhcpd.conf.erb\"\n  variables {:allows=>[\"booting\", \"bootp\", \"unknown-clients\"], :parameters=>{\"default-lease-time\"=>\"6400\", \"ddns-domainname\"=>\"\\\"book\\\"\", \"ddns-update-style\"=>\"interim\", \"max-lease-time\"=>\"86400\", \"update-static-leases\"=>\"true\", \"one-lease-per-client\"=>\"true\", \"authoritative\"=>\"\", \"ping-check\"=>\"true\", \"next-server\"=>\"172.16.0.101\", \"filename\"=>\"\\\"pxelinux.0\\\"\"}, :options=>{\"domain-name\"=>\"\\\"book\\\"\", \"domain-name-servers\"=>\"8.8.8.8\", \"host-name\"=>\" = binary-to-ascii (16, 8, \\\"-\\\", substring (hardware, 1, 6))\"}, :masters=>nil, :keys=>nil, :my_ip=>\"192.168.211.165\", :role=>nil, :peer_ip=>nil, :failover=>false}\n  cookbook_name \"dhcp\"\n  recipe_name \"_config\"\n  owner \"root\"\n  group \"root\"\n  mode 420\nend\n\n\n\nTemplate Context:\n-----------------\non line #18\n 16: <% end -%>\n 17:\n 18: <% unless @keys.empty? -%>\n 19:   <% @keys.each do |key, data| -%>\n 20: key \"<%= key %>\" {\n```\n"},"comment":{"url":"https://api.github.com/repos/sous-chefs/dhcp/issues/comments/407351306","html_url":"https://github.com/sous-chefs/dhcp/issues/6#issuecomment-407351306","issue_url":"https://api.github.com/repos/sous-chefs/dhcp/issues/6","id":407351306,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzM1MTMwNg==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-07-24T09:59:14Z","updated_at":"2018-07-24T09:59:14Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.\n"}}
{"actor":{"display_login":"lock"}}