{"action":"closed","issue":{"url":"https://api.github.com/repos/Esri/arcgis-cookbook/issues/125","repository_url":"https://api.github.com/repos/Esri/arcgis-cookbook","labels_url":"https://api.github.com/repos/Esri/arcgis-cookbook/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/Esri/arcgis-cookbook/issues/125/comments","events_url":"https://api.github.com/repos/Esri/arcgis-cookbook/issues/125/events","html_url":"https://github.com/Esri/arcgis-cookbook/issues/125","id":288356722,"number":125,"title":"Parameter Issue","user":{"login":"srinivas-anant","id":26644162,"avatar_url":"https://avatars0.githubusercontent.com/u/26644162?v=4","gravatar_id":"","url":"https://api.github.com/users/srinivas-anant","html_url":"https://github.com/srinivas-anant","followers_url":"https://api.github.com/users/srinivas-anant/followers","following_url":"https://api.github.com/users/srinivas-anant/following{/other_user}","gists_url":"https://api.github.com/users/srinivas-anant/gists{/gist_id}","starred_url":"https://api.github.com/users/srinivas-anant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srinivas-anant/subscriptions","organizations_url":"https://api.github.com/users/srinivas-anant/orgs","repos_url":"https://api.github.com/users/srinivas-anant/repos","events_url":"https://api.github.com/users/srinivas-anant/events{/privacy}","received_events_url":"https://api.github.com/users/srinivas-anant/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-01-13T20:17:22Z","updated_at":"2018-02-22T06:11:37Z","closed_at":"2018-02-22T06:11:37Z","author_association":"NONE","body":"I am trying to pass only the cookbook and the recipe in the run-list & nothing else. It throws the following error:\r\n\r\n`\r\nYou must supply a name when declaring a file resource\r\n`\r\n\r\nFor the recipe portal. I have created a wrapper cookbook which has the following recipes:\r\n- include_recipe 'arcgis-enterprise::system'\r\n- include_recipe 'esri-iis'\r\n- include_recipe 'arcgis-enterprise::portal'\r\n- include_recipe 'arcgis-enterprise::portal_wa'\r\n- include_recipe 'arcgis-enterprise::post_install'\r\n\r\nThe wrapper cookbook has a attribute file which has all the necessary parameters. But for the node['arcgis']['server']['authorization_file'] it throws an error when I don't mention it in the run-list but when I mention only the above parameter in the run-list the cookbook converges. \r\n\r\nHere is the run-list with the parameter:\r\n```\r\n{ \r\n \"arcgis\": {\r\n    \"portal\": {\r\n      \"authorization_file\":\"D:\\\\ArcGIS_License\\\\Portal.prvc\"\r\n    }\r\n},\r\n\"run_list\": [\r\n \"recipe[arcgis-portal-windows::default]\" \r\n  ] \r\n} \r\n```\r\n\r\nHere is the run-list without the parameter:\r\n```\r\n{ \r\n\"run_list\": [    \r\n \"recipe[arcgis-portal-windows::default]\" \r\n  ] \r\n} \r\n```\r\n\r\nWhen I use chef-client to converge the cookbook the run-list with the parameter converges but the run-list without the parameter fails to converge. Why is this so? "}}
{"actor":{"display_login":"srinivas-anant"}}