Mantis - Resin
Viewing Issue Advanced Details
5004 minor always 03-28-12 00:57 06-14-12 19:01
rickHigh  
ferg  
normal  
closed  
fixed  
none    
none 4.0.29  
0005004: Seems Resin does not pick up xml config deployed to /etc/resin/app-inf/
I tried deploying a configuration file called ec2.xml to /etc/resin/app-inf/ec2.xml, but Resin does not pick it up. When I copy it to /etc/resin/resin-inf/ec2.xml, it does work.

The below is why I think you can define xml files into /etc/resin/app-inf/.


/etc/resin/cluster-default.xml

...
 <resin:import fileset="${__DIR__}/${cluster.id}-inf/**/*.xml"/>
 ...
/etc/resin/resin.xml

...
 <cluster id="app">
    ...


EC2.xml file that I created

<resin xmlns="http://caucho.com/ns/resin" [^]
      xmlns:resin="urn:java:com.caucho.resin">

  <resin:properties path="http://169.254.169.254/latest/user-data" [^]
                    optional="true" recover="true"/>

</resin>

Notes
(0005849)
ferg   
06-14-12 18:29   
server/0751
(0005850)
ferg   
06-14-12 19:01   
server/6e0h