# Place - Suite 330, Boston, MA 02111-1307, USA
#
-REPO = git://git.sarava.org/puppet-bootstrap.git
-CWD = $(shell pwd)
+REPO = git://git.sarava.org/puppet-bootstrap.git
+CWD = $(shell pwd)
+PUPPET = FACTER_BOOTSTRAP_PATH="$(CWD)" puppet apply --confdir="$(CWD)" --modulepath=modules
all: clean remote modules
config:
$(EDITOR) hiera/bootstrap.yaml
- FACTER_BOOTSTRAP_PATH="$(CWD)" puppet apply --confdir="$(CWD)" --modulepath=modules manifests/classes/configurator.pp
+ $(PUPPET) manifests/classes/configurator.pp
apply:
- FACTER_BOOTSTRAP_PATH="$(CWD)" puppet apply --confdir="$(CWD)" --modulepath=modules manifests/$(stage).pp
+ $(PUPPET) manifests/$(stage).pp
clean:
rm -rf modules