REPO = git://git.sarava.org/puppet-bootstrap.git
PUPPET = FACTER_BOOTSTRAP_PATH="$(CWD)" puppet apply --confdir="$(CWD)" --modulepath=modules
-all: clean remote modules
+all: clean remote modules config
deps:
bin/dependencies
remote:
git remote add bootstrap $(REPO)
-puppet.conf:
+hiera/boostrap.yaml:
$(EDITOR) hiera/bootstrap.yaml
+
+puppet.conf:
$(PUPPET) manifests/bootstrap/configurator.pp
-config: puppet.conf
+config: hiera/boostrap.yaml puppet.conf
@true
apply: