{"action":"created","issue":{"url":"https://api.github.com/repos/hw-cookbooks/chef-server-populator/issues/64","repository_url":"https://api.github.com/repos/hw-cookbooks/chef-server-populator","labels_url":"https://api.github.com/repos/hw-cookbooks/chef-server-populator/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/hw-cookbooks/chef-server-populator/issues/64/comments","events_url":"https://api.github.com/repos/hw-cookbooks/chef-server-populator/issues/64/events","html_url":"https://github.com/hw-cookbooks/chef-server-populator/issues/64","id":114062711,"number":64,"title":"Version evaluating to 0.0, causing the wrong commands to run","user":{"login":"adam-carbone","id":5400020,"avatar_url":"https://avatars.githubusercontent.com/u/5400020?v=3","gravatar_id":"","url":"https://api.github.com/users/adam-carbone","html_url":"https://github.com/adam-carbone","followers_url":"https://api.github.com/users/adam-carbone/followers","following_url":"https://api.github.com/users/adam-carbone/following{/other_user}","gists_url":"https://api.github.com/users/adam-carbone/gists{/gist_id}","starred_url":"https://api.github.com/users/adam-carbone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam-carbone/subscriptions","organizations_url":"https://api.github.com/users/adam-carbone/orgs","repos_url":"https://api.github.com/users/adam-carbone/repos","events_url":"https://api.github.com/users/adam-carbone/events{/privacy}","received_events_url":"https://api.github.com/users/adam-carbone/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-29T14:34:24Z","updated_at":"2016-05-10T19:15:49Z","closed_at":"2016-05-10T16:13:07Z","body":"node['chef-server'][:version].to_f is used in the recipes to determine whether or not it is running in a chef server >= 12.1. This determines which commands are run when creating users, clients, organizations. I have an issue where the --public-key is not being passed in the command so the public key is not being used. \r\n\r\nI'm willing to do the work to fix the issue if you can point me in the direction as to where the node['chef-server'][:version] is being set! \r\n\r\nlogging from inside the recipe \r\nChef-version: 0.0\r\nAdd client key command 'chef-server-ctl add-client-key lmid acarbone-dev /var/chef/cache/acarbone-dev.pub --key-name populator'\r\n"},"comment":{"url":"https://api.github.com/repos/hw-cookbooks/chef-server-populator/issues/comments/218260998","html_url":"https://github.com/hw-cookbooks/chef-server-populator/issues/64#issuecomment-218260998","issue_url":"https://api.github.com/repos/hw-cookbooks/chef-server-populator/issues/64","id":218260998,"user":{"login":"adam-carbone","id":5400020,"avatar_url":"https://avatars.githubusercontent.com/u/5400020?v=3","gravatar_id":"","url":"https://api.github.com/users/adam-carbone","html_url":"https://github.com/adam-carbone","followers_url":"https://api.github.com/users/adam-carbone/followers","following_url":"https://api.github.com/users/adam-carbone/following{/other_user}","gists_url":"https://api.github.com/users/adam-carbone/gists{/gist_id}","starred_url":"https://api.github.com/users/adam-carbone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam-carbone/subscriptions","organizations_url":"https://api.github.com/users/adam-carbone/orgs","repos_url":"https://api.github.com/users/adam-carbone/repos","events_url":"https://api.github.com/users/adam-carbone/events{/privacy}","received_events_url":"https://api.github.com/users/adam-carbone/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T19:15:49Z","updated_at":"2016-05-10T19:15:49Z","body":"That is great news, I had largely re-written the internals to get around\nthis but I will definitely check it out again.\n\n\n\nSenior Managing Partner\nVillage Rock Investment Group, LLC\nwww.villagerockinvestments.com\nadam.carbone@villagerockinvestments.com\n(774) 260-2011\n\nwww.linkedin.com/in/adamjcarbone\nwww.facebook.com/adam.j.carbone.1\ntwitter.com/AdamCarbone\n\n*Building a brighter future for America one family at a time!*\n\n\n*add contact\n<https://sites.google.com/a/villagerockinvestments.com/contacts/vcf/adam-carbone.vcf?attredirects=0&d=1>*\n\nThis email and any files transmitted with it are confidential information\nand is intended only for the individual or entity to whom they are addressed.\nIf you are not the named addressee, you should not disseminate, distribute\nor copy this email. Please notify the sender immediately by email if you\nhave received this email by mistake and delete this email from your system.\nEmail transmission cannot be guaranteed to be secure or error-free, as\ninformation could be intercepted, corrupted, lost, destroyed, arrive late\nor incomplete, or contain viruses. The sender, therefore, does not accept\nliability for any errors or omissions in the contents of this message which\narise as a result of email transmission. If verification is required,\nplease request a hard-copy version. Please note that any views or opinions\npresented in this email are solely those of the author and do not\nnecessarily represent those of the organization.\n\n\nOn Tue, May 10, 2016 at 12:13 PM, Cameron Johnston <notifications@github.com\n> wrote:\n\n> Closed #64\n> <https://github.com/hw-cookbooks/chef-server-populator/issues/64> via #68\n> <https://github.com/hw-cookbooks/chef-server-populator/pull/68>.\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/hw-cookbooks/chef-server-populator/issues/64#event-655996194>\n>\n"}}