Class BootstrapConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • environment

        public BootstrapConfig.Builder environment​(String environment)
        Sets the environment where the nodes in the group will be deployed.
      • sslCAFile

        public BootstrapConfig.Builder sslCAFile​(String sslCAFile)
        The file in which the OpenSSL key is saved. To be used by the Chef client to verify the certificate of the Chef Server.
      • sslCAPath

        public BootstrapConfig.Builder sslCAPath​(String sslCAPath)
        The path to where the OpenSSL keys that are used by the Chef client are located.
      • sslVerifyMode

        public BootstrapConfig.Builder sslVerifyMode​(BootstrapConfig.SSLVerifyMode sslVerifyMode)
        The verify mode for HTTPS requests.
        • NONE - to do no validation of SSL certificates.
        • PEER - to do validation of all SSL certificate, including the Chef server connections
      • verifyApiCert

        public BootstrapConfig.Builder verifyApiCert​(boolean verifyApiCert)
        Use to only do SSL validation of the Chef server connection; may be needed if the Chef client needs to talk to other services that have broken SSL certificates.