Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (22 sloc) 0.566 kB
# Makefile for SmartOS Deployment
#
TAR= gtar
DISTNAME= smartos_cookbooks.tar.gz
SERVER_DEST= 1.2.3.4:/www/chef/
all:
$(TAR) cfz /tmp/$(DISTNAME) cookbooks
scp /tmp/$(DISTNAME) $(SERVER_DEST)
rm /tmp/$(DISTNAME)
scp nodes/* $(SERVER_DEST)
scp scripts/* $(SERVER_DEST)
scp keys/* $(SERVER_DEST)
scp smf/chef-solo.xml $(SERVER_DEST)
nodes:
scp nodes/* $(SERVER_DEST)
scripts:
scp scripts/* $(SERVER_DEST)
scp smf/chef-solo.xml $(SERVER_DEST)
cookbooks:
$(TAR) cfz /tmp/$(DISTNAME) cookbooks
scp /tmp/$(DISTNAME) $(SERVER_DEST)
rm /tmp/$(DISTNAME)
Jump to Line
Something went wrong with that request. Please try again.