Closed jesa-esrich closed 2 years ago
@jesa-esrich Great catch! As a workaround you can extract the cookbooks to C:\Chef
when using cinc-client or cinc-solo.
You can pass in the path to the cookbook by using the following commands:
chef-client -z --config-option "cookbook_path=C:\chef\cookbooks" -j C:\path_to\your_json_config_file.json
or
cinc-solo --config-option "cookbook_path=C:\chef\cookbooks" -j C:\path_to\your_json_config_file.json
Hi @jesa-esrich,
I looked into this a bit more. You can actually still use C:\cinc
as your cookbook directory and C:\cinc\misc_scripts
(or any directory of your choice). To do this you will need to define the node['arcgis']['misc']['scripts_dir']
attribute within your json config file so that it overrides the default value:
For example:
{
"arcgis": {
"version": "10.9.1",
"server": {
},
"datasources": {
},
"misc": {
"scripts_dir": "C:\\cinc\\misc_scripts"
}
},
"run_list": [
"recipe[arcgis-enterprise::datasources]"
]
}
Thanks, Cameron K.
Hi @cameronkroeker
Thanks, that is good to know.
Updated the recipe to include node['arcgis']['misc']['scripts_dir']
attribute.
https://github.com/Esri/arcgis-cookbook/wiki/arcgis%E2%80%90enterprise-Cookbook-Recipes#datasources
The registering of datasources does not work when using the cinc-client in ArcGIS Chef Cookbooks 10.9.1.
Main cause:
Expected Behavior: