diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-04 11:38:24 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-04 11:38:24 -0300 |
commit | 71e2d679d6757b9f7b6680468c4c6d6e3c42dcc6 (patch) | |
tree | ba38cef2d9f7aac04f5e333f65e6ba29eedd655b /Makefile | |
parent | e1db7cfa877187a2e711e1f6500e452cf24fa006 (diff) | |
download | puppet-bootstrap-71e2d679d6757b9f7b6680468c4c6d6e3c42dcc6.tar.gz puppet-bootstrap-71e2d679d6757b9f7b6680468c4c6d6e3c42dcc6.tar.bz2 |
Initial config target
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 |