Skip to content
This repository has been archived by the owner on Nov 6, 2021. It is now read-only.

Concepts

Enzo Rivello edited this page Sep 6, 2016 · 7 revisions

The Instance template

An Instance Template is a JSON file that includes all information to build an immutable image; It contains:

  • chef-alfresco configuration, using Chef attributes syntax; it also includes the list of recipes to invoke (run_list)
  • vagrant-packer configuration, using Packer syntax

Alfresco SPK provides a list of pre-defined instance-templates that are used by the sample stacks.

Stack definitions

In every stack example you will find the following items:

# Where the instance template is located
instance_template_path = "../instance-templates/community-allinone.json"

# chef-alfresco binary
cookbooks_url = "https://artifacts.alfresco.com/nexus/service/local/repositories/releases/content/org/alfresco/devops/chef-alfresco/0.6.20/chef-alfresco-0.7.1.tar.gz"

# chef-alfresco recipes to invoke
run_list = ["alfresco::default"]

Single-instance stacks - such as Alfresco Community Allinone - are simpler to start with; if you're looking for multi-machine configurations, check Alfresco Enterprise Clustered

Clone this wiki locally