exclude some script from element included in element-deps

asked 2016-01-15 08:48:18 -0600

animae gravatar image

Hi,

Lets suppose that we have the above structure of the service-nova element:

elements/
   service-nova/
      source-repository-nova - register a source repository
      pre-install.d/
         50-my-ppa           - add a PPA
      install.d/
         10-user             - common Nova user accts
         50-my-pack          - install packages from my PPA
         60-nova             - install nova and some dependencies

Is there a way where i can create new_element, add service-nova in its element-deps, but at the same time to exclude a specific script included in service-nova? Eg exclude 50-my-pack. Example of the target conf:

elements/
       service-nova/
          source-repository-nova - register a source repository
          pre-install.d/
             50-my-ppa           - add a PPA
          install.d/
             10-user             - common Nova user accts
             50-my-pack          - install packages from my PPA
             60-nova             - install nova and some dependencies

        new_element/
            pre-install.d/
                77-something
            install.d/
                88-something-else
            element-debs -> service-nova 
            exclude-list-from-element-debs ->50-my-pack

So that way i can re-use the first element, but at the same time exclude something that bothers the new_element.

Thanks!

edit retag flag offensive close merge delete