Skip to content

Instantly share code, notes, and snippets.

@ssplatt
Created July 18, 2017 19:31
Show Gist options
  • Save ssplatt/c483d6dbceec1938d21b303c75b60aad to your computer and use it in GitHub Desktop.
Save ssplatt/c483d6dbceec1938d21b303c75b60aad to your computer and use it in GitHub Desktop.
# vim: ft=yaml
---
driver:
name: docker
use_sudo: false
#dockerfile: test/Dockerfile
image: ssplatt/systemd_jessie
provision_command:
- printf "UseDNS=no\nUsePAM=no\nPasswordAuthentication=yes\nUsePrivilegeSeparation=no\nPidFile=/tmp/sshd.pid" > /etc/ssh/sshd_config
- systemctl enable ssh
run_command: /sbin/init
provisioner:
name: salt_solo
formula: crowd
state_top:
base:
"*":
- crowd
platforms:
- name: debian
suites:
- name: default
- name: custom
provisioner:
pillars-from-files:
crowd.sls: pillar-custom.sls
pillars:
top.sls:
base:
"*":
- crowd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment