aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-04 11:38:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-04 11:38:24 -0300
commit71e2d679d6757b9f7b6680468c4c6d6e3c42dcc6 (patch)
treeba38cef2d9f7aac04f5e333f65e6ba29eedd655b /Makefile
parente1db7cfa877187a2e711e1f6500e452cf24fa006 (diff)
downloadpuppet-bootstrap-71e2d679d6757b9f7b6680468c4c6d6e3c42dcc6.tar.gz
puppet-bootstrap-71e2d679d6757b9f7b6680468c4c6d6e3c42dcc6.tar.bz2
Initial config target
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