From 71e2d679d6757b9f7b6680468c4c6d6e3c42dcc6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 4 Mar 2014 11:38:24 -0300 Subject: Initial config target --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7971008..4b491a7 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ # REPO = git://git.sarava.org/puppet-bootstrap.git +CWD = $(shell pwd) all: clean remote modules @@ -31,7 +32,10 @@ remote: git remote add bootstrap $(REPO) config: - @echo "TODO: not implemented :(" + FACTER_BOOTSTRAP_PATH="$(CWD)" puppet apply --hiera-config=hiera.yaml --modulepath=modules manifests/classes/configurator.pp + +apply: + FACTER_BOOTSTRAP_PATH="$(CWD)" puppet apply --hiera-config=hiera.yaml --modulepath=modules manifests/$(stage).pp clean: rm -rf modules -- cgit v1.2.3