{"action":"reopened","issue":{"url":"https://api.github.com/repos/opscode-cookbooks/iis/issues/125","labels_url":"https://api.github.com/repos/opscode-cookbooks/iis/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/opscode-cookbooks/iis/issues/125/comments","events_url":"https://api.github.com/repos/opscode-cookbooks/iis/issues/125/events","html_url":"https://github.com/opscode-cookbooks/iis/issues/125","id":57075618,"number":125,"title":"Compile error for site resource","user":{"login":"znunez","id":7630884,"avatar_url":"https://avatars.githubusercontent.com/u/7630884?v=3","gravatar_id":"","url":"https://api.github.com/users/znunez","html_url":"https://github.com/znunez","followers_url":"https://api.github.com/users/znunez/followers","following_url":"https://api.github.com/users/znunez/following{/other_user}","gists_url":"https://api.github.com/users/znunez/gists{/gist_id}","starred_url":"https://api.github.com/users/znunez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/znunez/subscriptions","organizations_url":"https://api.github.com/users/znunez/orgs","repos_url":"https://api.github.com/users/znunez/repos","events_url":"https://api.github.com/users/znunez/events{/privacy}","received_events_url":"https://api.github.com/users/znunez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-09T19:14:22Z","updated_at":"2015-02-09T19:39:02Z","closed_at":null,"body":"\r\n\r\nRecipe Compile Error in c:/chef/cache/cookbooks/iis/resources/site.rb\r\n\r\nNameError\r\n\r\nundefined local variable or method `iis' for #<Class:0x51b8098>\r\n\r\nCookbook Trace:\r\n\r\n  c:/chef/cache/cookbooks/iis/resources/site.rb:32:in `class_from_file'\r\n\r\nRelevant File Content:\r\n\r\nc:/chef/cache/cookbooks/iis/resources/site.rb:\r\n\r\n 25:  attribute :port, :kind_of => Integer, :default => 80\r\n 26:  attribute :path, :kind_of => String\r\n 27:  attribute :protocol, :kind_of => Symbol, :default => :http, :equal_to => [:http, :https]\r\n 28:  attribute :host_header, :kind_of => String, :default => nil\r\n 29:  attribute :bindings, :kind_of => String, :default => nil\r\n 30:  attribute :application_pool, :kind_of => String, :default => nil\r\n 31:  attribute :options, :kind_of => String, :default => ''\r\n 32>> attribute :log_directory, :kind_of => String, :default => \"#{iis['pubroot']}\\\\logs\\\\LogFiles\"\r\n 33:  attribute :log_period, :kind_of => Symbol, :default => :Daily, :equal_to => [:Daily, :Hourly, :MaxSize, :Monthly,\r\n:Weekly]\r\n 34:  attribute :log_truncsize, :kind_of => Integer, :default => 1048576\r\n 35:\r\n 36:  attr_accessor :exists, :running\r\n 37:\r\n 38:  def initialize(*args)\r\n 39:    super\r\n 40:    @action = :add\r\n 41:  end\r\n\r\n\r\nMy attributes from the node are:\r\n\r\n\"iis\": {\r\n  \"home\": \"C:\\\\Windows\\\\System32\\\\inetsrv\",\r\n  \"conf_dir\": \"C:\\\\Windows\\\\System32\\\\inetsrv\\\\config\",\r\n  \"pubroot\": \"C:\\\\inetpub\",\r\n  \"docroot\": \"C:\\\\inetpub\\\\wwwroot\",\r\n  \"log_dir\": \"C:\\\\inetpub\\\\logs\\\\LogFiles\",\r\n  \"cache_dir\": \"C:\\\\inetpub\\\\temp\",\r\n\r\n\r\nIs there something I am missing?\r\n\r\nChef-client version = 11.12.4\r\niis cookbook version = 3.0.12"}}