{"action":"created","issue":{"url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/556","labels_url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/556/labels{/name}","comments_url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/556/comments","events_url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/556/events","html_url":"https://github.com/test-kitchen/test-kitchen/issues/556","id":51047804,"number":556,"title":"How to pass a symbol instead of string in .kitchen.yml","user":{"login":"lyrua","id":7294790,"avatar_url":"https://avatars.githubusercontent.com/u/7294790?v=3","gravatar_id":"","url":"https://api.github.com/users/lyrua","html_url":"https://github.com/lyrua","followers_url":"https://api.github.com/users/lyrua/followers","following_url":"https://api.github.com/users/lyrua/following{/other_user}","gists_url":"https://api.github.com/users/lyrua/gists{/gist_id}","starred_url":"https://api.github.com/users/lyrua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyrua/subscriptions","organizations_url":"https://api.github.com/users/lyrua/orgs","repos_url":"https://api.github.com/users/lyrua/repos","events_url":"https://api.github.com/users/lyrua/events{/privacy}","received_events_url":"https://api.github.com/users/lyrua/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/test-kitchen/test-kitchen/labels/Enhancement","name":"Enhancement","color":"59b6b2"},{"url":"https://api.github.com/repos/test-kitchen/test-kitchen/labels/ready","name":"ready","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"fnichol","id":261548,"avatar_url":"https://avatars.githubusercontent.com/u/261548?v=3","gravatar_id":"","url":"https://api.github.com/users/fnichol","html_url":"https://github.com/fnichol","followers_url":"https://api.github.com/users/fnichol/followers","following_url":"https://api.github.com/users/fnichol/following{/other_user}","gists_url":"https://api.github.com/users/fnichol/gists{/gist_id}","starred_url":"https://api.github.com/users/fnichol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fnichol/subscriptions","organizations_url":"https://api.github.com/users/fnichol/orgs","repos_url":"https://api.github.com/users/fnichol/repos","events_url":"https://api.github.com/users/fnichol/events{/privacy}","received_events_url":"https://api.github.com/users/fnichol/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/test-kitchen/test-kitchen/milestones/6","html_url":"https://github.com/test-kitchen/test-kitchen/milestones/1.4","labels_url":"https://api.github.com/repos/test-kitchen/test-kitchen/milestones/6/labels","id":955549,"number":6,"title":"1.4","description":"","creator":{"login":"fnichol","id":261548,"avatar_url":"https://avatars.githubusercontent.com/u/261548?v=3","gravatar_id":"","url":"https://api.github.com/users/fnichol","html_url":"https://github.com/fnichol","followers_url":"https://api.github.com/users/fnichol/followers","following_url":"https://api.github.com/users/fnichol/following{/other_user}","gists_url":"https://api.github.com/users/fnichol/gists{/gist_id}","starred_url":"https://api.github.com/users/fnichol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fnichol/subscriptions","organizations_url":"https://api.github.com/users/fnichol/orgs","repos_url":"https://api.github.com/users/fnichol/repos","events_url":"https://api.github.com/users/fnichol/events{/privacy}","received_events_url":"https://api.github.com/users/fnichol/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":7,"state":"open","created_at":"2015-01-28T20:23:11Z","updated_at":"2015-03-23T19:06:03Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2014-12-05T00:17:52Z","updated_at":"2015-03-23T19:11:07Z","closed_at":null,"body":"Hi, with the new chef client 12, I ran into issue with SSL, I'm tryng to disable the SSL check by adding ssl_verify_mode in the .kitchen.yml for testing purpose at the moment:\r\n\r\n.kitchen.yml\r\n\r\n.......\r\nsuites:\r\n  -name: default\r\n    provisioner:\r\n      client_rb:\r\n        ssl_verify_mode: :verify_none\r\n    run_list:\r\n      - recipe[tomcat]\r\n......\r\n\r\nEither I pass it with or without double quotes, it still writes it as a string:\r\n\r\nclient.rb\r\nnode_name \"default-centos\"\r\n.......\r\nssl_verify_mode \":verify_none\"\r\n\r\nI removed the double quotes in client.rb and it ran successfully locally. Is there a way to pass it as a symbol in .kitchen.yml or is there a workaround?"},"comment":{"url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/comments/85153332","html_url":"https://github.com/test-kitchen/test-kitchen/issues/556#issuecomment-85153332","issue_url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/556","id":85153332,"user":{"login":"tyler-ball","id":2481463,"avatar_url":"https://avatars.githubusercontent.com/u/2481463?v=3","gravatar_id":"","url":"https://api.github.com/users/tyler-ball","html_url":"https://github.com/tyler-ball","followers_url":"https://api.github.com/users/tyler-ball/followers","following_url":"https://api.github.com/users/tyler-ball/following{/other_user}","gists_url":"https://api.github.com/users/tyler-ball/gists{/gist_id}","starred_url":"https://api.github.com/users/tyler-ball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyler-ball/subscriptions","organizations_url":"https://api.github.com/users/tyler-ball/orgs","repos_url":"https://api.github.com/users/tyler-ball/repos","events_url":"https://api.github.com/users/tyler-ball/events{/privacy}","received_events_url":"https://api.github.com/users/tyler-ball/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T19:11:07Z","updated_at":"2015-03-23T19:11:07Z","body":"[SafeYaml](https://github.com/dtao/safe_yaml) keeps us from marshalling yaml into objects, but it also prevents creating symbols (a potential DDoS-like attack).\r\n\r\nThe plan right now is to keep that behavior and modify the provisioners to un-serialize symbol-like-objects (strings that start with `:`) into symbols when writing out configs."}}