ZCS Administrator's Guide 7.2.3
ZCS Administrator's Guide 7.2.3
Open Source Edition


Managing Zimlets > Deploying Zimlets

Deploying Zimlets
When a Zimlet is deployed, it is immediately available to everyone in the default COS. If a Zimlet is not deployed to another COS directly, the COS displays the Zimlets but they are not enabled. You can deploy Zimlets from the admin console, as described in this section.
Deploying a Zimlet from the Admin Console
1.
From the Configuration>Zimlets view, click Deploy. The Deploying a zimlet or an extension view displays.
2.
Browse to the Zimlet zip file you want to upload and deploy. Click Deploy. In the example below, we are deploying com_zimbra_apptsummary.zip.
3.
4.
Deploying a Zimlet from the CLI
You can deploy Zimlets from the CLI, including first modifying the COS before deploying to the default COS, or granting access to a COS other than the default COS.
1.
Copy the Zimlet zip file to /tmp folder on your Zimbra server.
2.
su – zimbra
3.
zmzimletctl deploy /tmp/<zimlet>.zip
Adding Proxy Allowed Domains to a Zimlet
To add proxy allowed domains to a Zimlet:
1.
From the Configuration>default view, click the Advanced tab.
2.
Scroll down to the Proxy Allowed Domains section.
3.
Adding Proxy Allowed Domains to a Zimlet using the CLI
When deploying a Zimlet, the COS attribute, zimbraProxyAllowedDomains must be set for the domain address that the Zimlet might call to get information.
1.
zmprov mc <COSname> +zimbraProxyAllowedDomains  <*. domain.com>
The * must be added before the domain.com.
This must be applied to all COSs that have your Zimlet enabled.
Deploying a Zimlet and Granting Access to a COS
To deploy a Zimlet to one or more COSs other than the default:
1.
2.
su – zimbra
3.
Copy the Zimlet zip file from Gallery to /tmp folder. Or, select a zimlet from
/opt/zimbra/zimlets-extra directory.
4.
Run zmzimletctl deploy <path-to-zimlet.zip>. For example:
zmzimletctl deploy /tmp/<zimlet>.zip
This will install the Zimlet just to default COS.
5.
zmzimletctl acl <zimletname> <cosname1> grant
This will grant permission to cosname1. You can also grant access to more than one COS on the same command line. Enter as:
zmzimletctl acl <zimletname> <cosname1> grant <cosname2> grant
6.
Finally, add zimbraproxyalloweddomain information by running the following for each COS:
zmprov mc <COSname1> +zimbraProxyAllowedDomains <*. domain.com>
zmprov mc <COSname2> +zimbraProxyAllowedDomains <*. domain.com>
Copyright © 2013 VMware Inc.