Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portal Web Styles not removed with enterprise_uninstalled recipe #303

Closed
ramtechjoe opened this issue Mar 12, 2022 · 2 comments
Closed

Portal Web Styles not removed with enterprise_uninstalled recipe #303

ramtechjoe opened this issue Mar 12, 2022 · 2 comments
Assignees

Comments

@ramtechjoe
Copy link

Running the enterprise_uninstalled recipe does not remove Portal Web Styles . Could this be added?

Thanks

@cameronkroeker
Copy link
Contributor

Hi @ramtechjoe,

This is a great suggestion! We will look to get this feature added.

Thanks,
Cameron K.

@cameronkroeker
Copy link
Contributor

Hi @ramtechjoe,

The enterprise_uninstalled.rb recipe now includes uninstalling Portal for ArcGIS WebStyles in Chef Cookbooks for ArcGIS v4.0.0.

https://github.com/Esri/arcgis-cookbook/releases/tag/v4.0.0

arcgis_enterprise_webstyles 'Uninstall ArcGIS Web Styles' do
install_dir node['arcgis']['portal']['install_dir']
product_code node['arcgis']['webstyles']['product_code']
run_as_user node['arcgis']['run_as_user']
if node['platform'] == 'windows'
only_if { Utils.product_installed?(node['arcgis']['webstyles']['product_code']) }
else
only_if { EsriProperties.product_installed?(node['arcgis']['run_as_user'],
node['hostname'],
node['arcgis']['version'],
:ArcGISPortal_WebStyles) }
end
action :uninstall
end

Thanks,
Cameron K.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants