Skip to content

Packer config for generating Chef Server Images on various providers

Notifications You must be signed in to change notification settings

MsysTechnologiesllc/chef-server-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

chef-server-images

This repository contains a Packer config to allow building of Chef Server images in various providers. Currently it has support for EC2, GCE, and Azure.

Dependencies

Setup

Various environment variable should be set to configure the credentials used for each provider:

  • AWS_ACCESS_KEY_ID - Your AWS Access Key
  • AWS_SECRET_ACCESS_KEY - Your AWS Secret Key
  • GCE_ACCOUNT_FILE - The JSON file downloaded from GCE when creating a service account
  • AZURE_PUBLISH_SETTINGS - Your Azure publish settings file

Running

The config assumes you are using a Chef Server to store the required content. You need to update the server_url, validation_client_name, and validation_key_path for your Chef configuration.

To start a build, run:

packer build chef-server.json

To build only for certain providers, run:

packer build -only=<platform> chef-server.json

Where <platform> equals one of googlecompute, amazon-ebs, or azure.

About

Packer config for generating Chef Server Images on various providers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published