2 Replies Latest reply on Jun 12, 2013 3:53 PM by Mark Jeffery

    Most efficient way to deploy one of n files to a server based on property?

      I have a requirement like this (that has come from use of puppet in the past).

       

      There are 37 different possible host files, and the right one needs to be deployed to a group of servers.

       

      e.g.

       

      /store/appserver_qa.host

      /store/webserver_qa.host

      /store/webserver_prod.host

      /store/appserver_prod.host

       

      If we assume that there is an environment_name property with values appserver_qa, webserver_qa, webserver_prod, appserver_prod, then I want a BlPackage to deploy one of those files automatically.

       

      My current approach deploys all files, and copies in the one I need, but I don't like the fact that it deploys all the host files onto the target server first.

      Is there another possibility that I am missing?

       

      Mark.