diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |