Skip to content

Airgapped Automate Instsaller Bundle with Chef Server and Workflow Removed

Notifications You must be signed in to change notification settings

chef-cft/smol-aib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Removing Chef Infra Server and Workflow from the AIB

What you need

To build the Chef Automate AIB you will need:

  • Linux machine with internet access
  • Ruby
  • Git

Creating a reduced AIB without Infra Server and Workflow

  1. In the Automate git source, remove these rows from products.meta:
  • chef/automate-cs-bookshelf
  • chef/automate-cs-oc-bifrost
  • chef/automate-cs-oc-erchef
  • chef/automate-cs-nginx
  • chef/automate-workflow-server
  • chef/automate-workflow-nginx
  1. Create a reduced manifest.json by running the create-manifest.rb script:
.expeditor/create-manifest.rb
  1. Download the chef-automate installer:
curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate
  1. Create an Airgap Installation Bundle (AIB) based on the new manifest.json:
./chef-automate airgap bundle create -d -m small.manifest.json
  1. Copy the resulting automate-*.aib file to the server

Installing Automate using the AIB

  1. Download the chef-automate installer:
curl https://packages.chef.io/files/current/latest/chef-automate-cli/chef-automate_linux_amd64.zip | gunzip - > chef-automate && chmod +x chef-automate
  1. Create a default Automate configuration, which by default does not include the Infra Server or Workflow
sudo ./chef-automate init-config
  1. Install Automate using the AIB:
sudo ./chef-automate deploy config.toml --airgap-bundle automate-*.aib

About

Airgapped Automate Instsaller Bundle with Chef Server and Workflow Removed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published