clear environment cache for PE console
I had created 3 environments dev earlier as dev, test and prod. Now, dev is renamed to puppetdev but at PE console still dev is available. I am using code-manager and filesync as well and many times PE console is not able to list out the latest code/class pushed by code manager.
Are there any PE console setting? I saw there are API's available and I tried one but it's failing(probably I am not picking up the correct keys).
#curl -i --cert /etc/puppetlabs/puppet/ssl/certs --key /etc/puppetlabs/puppet/ssl/ca/ca_key.pem --cacert /etc/puppetlabs/puppet/ssl/ca/ca_crt.pem -X DELETE httpnyc-inf//mypu01ractivehealth.loc:net:8140/puppet-admin-api/v1/environment-cache
I also made one setting in hiera common.yaml but it's certainly not related to environment cache but to make all classes available instantly to console as soon as copied by filesync. Is this correct?
Please let me know if there is any setting for above issues or if I am going in wrong direction. Thanks in advance.