Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DirectiveDescriptionExampleMandatory
Repository Variables
repo.[0..9]*A Git repository that will be fetched on the target host being installed. Note: Repos are processed in order according to the numeric value.

[repo.1]

[repo.2]

Yes. At least one repo is required.
REPO_URI

The URI of the repository that will be exported.

e.g. git archive --remote=${REPO_URI} ${theBranch} | tar -x -C /tmp/

git@bitbucket.org:zibernetics/zinet.gitYes
REPO_BRANCHThe branch that will be fetchedmasterNo. If not provided the HEAD branch of the Git repo will be exported
REPO_ROOT

The root of the git repo that will be fetched. e.g.

git archive --remote=${REPO_URI} ${theBranch}:${REPO_ROOT} | tar -x -C /tmp/

prodNo. If not provided the root of the Git branch will be exported.
Global Variables
globalA single entry containing global variables that are applied to each server entry.[global]Yes
ziDThe ziNet identifier for the site.zId=ziberneticsYes
ziTenantIdThe tenant ID used by the OpenDJ module and SSHLDAP module.ziTenantId=acmeYes
CA_HOST_NAMEThe host name for the server running the CACA_HOST_NAME=ca.ops.zibernetics.ioNo. If not defined, then server certificate requests can't be signed. i.e. no certs for SSL config.
REPO_KEY_SCANThe host name for the Git server. This will be used to perform a ssh-keyscan so that unattended Git exports can be performed.REPO_KEY_SCAN=bitbucket.orgNo
DIR_MGR_DNThe OpenDJ module Directory Manager DNDIR_MGR_DN="cn=Directory Manager"Yes
SEARCH_DOMAINSA list of DNS search domains to configure servers with quoted and separated by spaces if more than one search domain.SEARCH_DOMAINS="ops.zibernetics.io "zibernetics.io"No
Server Variables
server.[0..9]*A server that will be setup with one or more ziNet module. The directives for a module are here.[server.10]Yes
INSTALL_ZINETInstall the core ziNet moduleINSTALL_ZINET=[ true | false ]Yes
ZINET_TARGET_HOSTNAMEThe host name to configure the server with. Note: DNS should be able to resolve the server. This merely set the Linux host name.ZINET_TARGET_HOSTNAME=prod-itops1.ops.zibernetics.ioNo
ZINET_STORAGE_DEVThis is a file system device attached to the server that may be used for storing ziNet configuration (i.e. the /etc/${ziD} directory). This must be known and is specific for the server being installed.ZINET_STORAGE_DEV=/dev/xvdbNo
    

 

 

Script: deploy-sshldap.sh

...