Skip to content

Instantly share code, notes, and snippets.

@tobyclemson
Last active December 14, 2015 04:09
Show Gist options
  • Save tobyclemson/5025851 to your computer and use it in GitHub Desktop.
Save tobyclemson/5025851 to your computer and use it in GitHub Desktop.
(ns provision
(:require [pallet.api :as api])
(:use [pallet.crate.automated-admin-user :only [with-automated-admin-user]])
(def application-nodes
(api/group-spec "application"
:extends [with-automated-admin-user]
:node-spec ubuntu-node))
(ns provision
(:require [pallet.api :as api])
(:use [pallet.crate.automated-admin-user :only [automated-admin-user]])
(def application-nodes
(api/group-spec "application"
:phases {:bootstrap (api/plan-fn
(automated-admin-user))}
:node-spec ubuntu-node))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment