dicos/99_one-frontend.xml: Ajout de la variable activer_market_views

Déclaration du template sunstone-appmarket.conf.
Conditionnement de la variable appmarket_endpoint et du template
sur la variagble activer_market_views.

ref #9377 @30m
This commit is contained in:
Philippe Caseiro 2014-11-05 10:57:44 +01:00
parent 09a814fb48
commit 1d19ec94a3
1 changed files with 7 additions and 0 deletions

View File

@ -9,6 +9,7 @@
<file filelist='onefrontend' name='/etc/one/sunstone-views/cloud.yaml' rm='True' mkdir='True'/> <file filelist='onefrontend' name='/etc/one/sunstone-views/cloud.yaml' rm='True' mkdir='True'/>
<file filelist='onefrontend' name='/etc/one/sunstone-views/vdcadmin.yaml' rm='True' mkdir='True'/> <file filelist='onefrontend' name='/etc/one/sunstone-views/vdcadmin.yaml' rm='True' mkdir='True'/>
<file filelist='onefrontend' name='/etc/one/auth/ldap_auth.conf' source='sunstone-ldap_auth.conf' rm='True' mkdir='True'/> <file filelist='onefrontend' name='/etc/one/auth/ldap_auth.conf' source='sunstone-ldap_auth.conf' rm='True' mkdir='True'/>
<file filelist='appmarket' name='/etc/one/sunstone-appmarket.conf' rm='True' mkdir='True'/>
<service_access service='sunstone'> <service_access service='sunstone'>
<port port_type="SymLinkOption">port_sunstone</port> <port port_type="SymLinkOption">port_sunstone</port>
<port port_type="SymLinkOption">vnc_proxy_port_sunstone</port> <port port_type="SymLinkOption">vnc_proxy_port_sunstone</port>
@ -33,6 +34,7 @@
<value>fr_FR</value> <value>fr_FR</value>
</variable> </variable>
<variable name='sunstone_auth_modes' type='string' description="Modes supplémentaires d'authentification des utilisateurs" mode='expert'/> <variable name='sunstone_auth_modes' type='string' description="Modes supplémentaires d'authentification des utilisateurs" mode='expert'/>
<variable name='activer_market_views' type='oui/non' description="Activer l'intégration appmarket dans Sunstone" mode="expert"/>
<variable name='appmarket_endpoint' type='web_address' description="Adresse du serveur appmarket" mode='expert'/> <variable name='appmarket_endpoint' type='web_address' description="Adresse du serveur appmarket" mode='expert'/>
</family> </family>
</variables> </variables>
@ -60,6 +62,11 @@
<target type='variable'>ip_sunstone</target> <target type='variable'>ip_sunstone</target>
<target type='variable'>langue_sunstone</target> <target type='variable'>langue_sunstone</target>
</condition> </condition>
<condition name='disabled_if_in' source='activer_market_views'>
<param>non</param>
<target type='variable'>appmarket_endpoint</target>
<target type='filelist'>appmarket</target>
</condition>
</constraints> </constraints>
<help> <help>
<variable name='activer_onefrontend'>Interface d'administration du Cluster OpenNebula.</variable> <variable name='activer_onefrontend'>Interface d'administration du Cluster OpenNebula.</variable>