1. stacklet
  2. stacklet

Source

stacklet / specs / distro / gel / 5 / cpanel / cpanel.xml

<?xml version="1.0"?>
<stk:spec xmlns:stk="http://stacklet.com/specfile/v1"
          xmlns:xi="http://www.w3.org/2001/XInclude">
  <imports>stacklet.task.image.core stacklet.task.distro.red</imports>
  <xi:include href="cpanel.properties.xml"/>
  <stk:spec>
    <stk:package proxy='_proxy_'>
      <update>all</update>
      <add>
        perl
      </add>
    </stk:package>    
    <stk:file>
      <loc>/etc/init.d</loc>
      <name>stkinstall</name>
      <exists>replace</exists>
      <stk:content>
        <loc>_build.assetLoc_</loc>
        <name>stkinstall</name>
      </stk:content>
    </stk:file>
    <stk:command>
      chmod a+x /etc/init.d/stkinstall;chown root:root /etc/init.d/stkinstall 
    </stk:command>
    <stk:file>
      <loc>/root</loc>
      <name>cpanel.sh</name>
      <exists>replace</exists>
      <stk:content>
        <loc>_build.assetLoc_</loc>
        <name>cpanel.sh</name>
      </stk:content>
    </stk:file>
    <stk:command>
      chmod a+x /root/cpanel.sh;
    </stk:command>
    <stk:service>
      <enable>
        stkinstall
      </enable>
    </stk:service>
  </stk:spec>
</stk:spec>