Skip to content
Snippets Groups Projects
Commit 63596227 authored by Ulrik Haugen's avatar Ulrik Haugen
Browse files

modules/Makefile: use puppet-extra-args variable in puppet apply calls.

This is to enable for instance testing with parser future without
setting that in puppet.conf which might accidentally be committed.
parent e1d40e29
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# -*- coding: utf-8; indent-tabs-mode: t; -*-
# Make instructions for smoke testing Puppet manifests.
# Copyright 2013 - 2014 Ulrik Haugen
# Copyright 2013 - 2015 Ulrik Haugen
# Copyright 2013 - 2014 Linköpings universitet
# This program is free software: you can redistribute it and/or modify
......@@ -198,6 +198,7 @@ puppet-dirs := --confdir smoke-testing-state/etc \
cat $< >$@
env `cat smoke-testing-state/share/global.testenv` `cat $<` \
$(fakeroot) puppet apply --noop \
$(puppet-extra-args) \
$(puppet-dirs) --verbose --color no \
--modulepath . $(basename $*).pp >>$@ 2>&1 \
|| (cat $@; false)
......@@ -206,6 +207,7 @@ puppet-dirs := --confdir smoke-testing-state/etc \
%.testoutput: %.pp smoke-testing-state/share/global.testenv smoke-testing-state/etc/puppet.conf smoke-testing-state/var/lib/puppet smoke-testing-state/var/run FORCE
env `cat smoke-testing-state/share/global.testenv` \
$(fakeroot) puppet apply --noop \
$(puppet-extra-args) \
$(puppet-dirs) --verbose --color no \
--modulepath . $< >$@ 2>&1 \
|| (cat $@; false)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment