aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-06 13:42:49 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-06 13:42:49 -0300
commit403734c898eac9299a6c986159c8d88c1e1bd510 (patch)
treebab4d28cbd905d01fff01e5c018b095fac3fd271
parentf9e154d36aee29960d5ebe88cd8022cbddc3d203 (diff)
downloadpuppet-bootstrap-403734c898eac9299a6c986159c8d88c1e1bd510.tar.gz
puppet-bootstrap-403734c898eac9299a6c986159c8d88c1e1bd510.tar.bz2
Check if config target is already done
-rw-r--r--Makefile5
-rw-r--r--TODO.md2
2 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ea2f190..dc9f551 100644
--- a/Makefile
+++ b/Makefile
@@ -35,10 +35,13 @@ subtrees:
remote:
git remote add bootstrap $(REPO)
-config:
+puppet.conf:
$(EDITOR) hiera/bootstrap.yaml
$(PUPPET) manifests/bootstrap/configurator.pp
+config: puppet.conf
+ @true
+
apply:
$(PUPPET) manifests/bootstrap/$(stage).pp
diff --git a/TODO.md b/TODO.md
index a8de25f..8adc3ec 100644
--- a/TODO.md
+++ b/TODO.md
@@ -1,7 +1,5 @@
TODO
====
-* Make `config` target:
- * Check if already ran.
* Node templates:
* Update to new nodo style (hiera and nodo::role).