{"action":"closed","issue":{"url":"https://api.github.com/repos/cloudfoundry/bosh-lite/issues/308","labels_url":"https://api.github.com/repos/cloudfoundry/bosh-lite/issues/308/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/bosh-lite/issues/308/comments","events_url":"https://api.github.com/repos/cloudfoundry/bosh-lite/issues/308/events","html_url":"https://github.com/cloudfoundry/bosh-lite/issues/308","id":112540959,"number":308,"title":"ignore_missing_gateway is not a JSON object, why use JSON.dump to read it?","user":{"login":"Gary-Xie","id":2617308,"avatar_url":"https://avatars.githubusercontent.com/u/2617308?v=3","gravatar_id":"","url":"https://api.github.com/users/Gary-Xie","html_url":"https://github.com/Gary-Xie","followers_url":"https://api.github.com/users/Gary-Xie/followers","following_url":"https://api.github.com/users/Gary-Xie/following{/other_user}","gists_url":"https://api.github.com/users/Gary-Xie/gists{/gist_id}","starred_url":"https://api.github.com/users/Gary-Xie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gary-Xie/subscriptions","organizations_url":"https://api.github.com/users/Gary-Xie/orgs","repos_url":"https://api.github.com/users/Gary-Xie/repos","events_url":"https://api.github.com/users/Gary-Xie/events{/privacy}","received_events_url":"https://api.github.com/users/Gary-Xie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-21T08:56:00Z","updated_at":"2015-10-22T17:54:26Z","closed_at":"2015-10-22T17:54:26Z","body":"There is a new field name ignore_missing_gateway in bosh/release/jobs/director/templates/director.yml.erb.erb.\r\nIt is a key-value pair in the manifest file, please refer bosh-lite/templates/bosh_lite_manifest_template.yml in https://github.com/cloudfoundry/bosh-lite/.\r\nAnd in bosh-provisioner the key-value will be read into erb-context.json. It's still key-value pair.\r\nSo I don't know which makes this mistake. Please help me to figure out.\r\nIt results when I build a vm with bosh by packer. I met the error below.\r\n\r\n```\r\n[Log] 2015/10/15 03:51:39 ERROR - Error occurred: Provisioning deployment: Starting instance: Updating instance 0: Applying: Compiling templates bosh: Compiling templates: Rendering config/director.yml.erb ERB: Running ruby: Running command: 'ruby /tmp/erb-render.rb /tmp/erb-context.json /opt/bosh-provisioner/tmp/tar-CmdExtractor678637406/templates/director.yml.erb.erb /opt/bosh-provisioner/tmp/instance-templatescompiler-RenderedArchivesCompiler417614915/director/config/director.yml.erb', stdout: '', stderr: '/tmp/erb-render.rb:140:in rescue in render': Error filling in template '/opt/bosh-provisioner/tmp/tar-CmdExtractor678637406/templates/director.yml.erb.erb' for bosh/0 (line 134: #<JSON::GeneratorError: only generation of JSON objects or arrays allowed>) (RuntimeError) from /tmp/erb-render.rb:126:inrender'\r\nfrom /tmp/erb-render.rb:151:in `\r\n\r\n'\r\n': exit status 1\r\n```\r\n\r\nThere are 3 possibilities.\r\n1.Bosh makes the mistake. It is not a JSON object.\r\n2.Bosh-lite makes the mistake. It is a JSON object.\r\n3.bosh-provisioner makes the mistake. It should be transfered to a JSON object.\r\n\r\nThe another field named trusted_certs has the same issue "}}