Skip to content

Instantly share code, notes, and snippets.

View mchenetz's full-sized avatar

Michael Chenetz mchenetz

View GitHub Profile
@mchenetz
mchenetz / gist:4fca09fb324338f55806601e5c6030f3
Last active May 5, 2016 15:52
Ubuntu 14.04, Chef Server 12.6.0 Dockerfile
FROM ubuntu:14.04
MAINTAINER mchenetz@gmail.com
RUN echo "Installing Chef Server 12.6.0 on Ubuntu 14.04" && \
apt-get update && \
apt-get install -y sudo && \
apt-get install -y wget && \
wget https://packages.chef.io/stable/ubuntu/14.04/chef-server-core_12.6.0-1_amd64.deb && \
sudo dpkg -i chef-server-core_12.6.0-1_amd64.deb
EXPOSE 443 80
CMD /bin/bash
Debug: hiera(): Hiera YAML backend starting
Debug: hiera(): Looking up lookup_options in YAML backend
Debug: hiera(): Looking for data source common
Debug: hiera(): Cannot find datafile /etc/puppetlabs/code/environments//hieradata/common.yaml, skipping
# /etc/puppetlabs/code/environments/production/hiera.yaml
---
version: 4
datadir: data
hierarchy:
- name: "Nodes"
backend: yaml
path: "nodes/%{trusted.certname}"
# Putting a JSON level between YAML levels like this