aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
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