To use the Deployment Manager feature, you must configure the Policy Editor to publish policies to a deployment package store in the options file’s deploymentPackageStores section.

For more information, see About the Deployment Manager.

  1. Make a copy of the default options file.
    $ cp config/options.yml my-options.yml
  2. To define a deployment package store or stores for the Policy Editor to publish policies to, edit the new options file in the deploymentPackageStores section.

    The file contains commented out examples of different deployment package store types.

    1. Duplicate the desired deployment package store type, uncomment, and modify its values according to your deployment.
    Important:

    The use of indentation in the options.yml file is important. When removing comment hashes, ensure that you are retaining valid YAML file indentation structure.

    deploymentPackageStores: 
      # Define deployment package store publishing targets here. 
      # 
      # - name: Filesystem store 
      #   description: File system directory store 
      #   type: filesystem 
      #   path: /path/to/deployment-package-store/ 
      # - name: Signed filesystem store 
      #   description: Signed file system directory store 
      #   type: filesystem # path: /path/to/signed-deployment-package-store/
      #  Other deployment package store types omitted for brevity...
    
    
  3. Stop the Policy Editor.
    $ bin/stop-server
  4. Run setup using the --optionsFile argument.
    
    $ bin/setup demo \
      --adminUsername admin \
      --generateSelfSignedCertificate \
      --decisionPointSharedSecret pingauthorize \
      --hostname  <pap-hostname> \
      --port  <pap-port> \
      --adminPort  <admin-port> \
      --licenseKeyFile  <path-to-license> \
      --optionsFile my-options.yml
    
  5. Start the Policy Editor.
    $ bin/start-server
  6. To verify that your deployment package store or stores are available in the Policy Editor, go to Branch Manager > Deployment Manager.