bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ofle...@apache.org
Subject [7/7] bigtop git commit: puppet4: fix fedora
Date Mon, 24 Apr 2017 20:25:10 GMT
puppet4: fix fedora


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/c54c2f00
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/c54c2f00
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/c54c2f00

Branch: refs/heads/puppet4
Commit: c54c2f0041d2cde66c174e90c6301c2129faaed2
Parents: 0cc3473
Author: Olaf Flebbe <of@oflebbe.de>
Authored: Mon Apr 24 22:20:30 2017 +0200
Committer: Olaf Flebbe <of@oflebbe.de>
Committed: Mon Apr 24 22:24:40 2017 +0200

----------------------------------------------------------------------
 bigtop_toolchain/bin/puppetize.sh | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/c54c2f00/bigtop_toolchain/bin/puppetize.sh
----------------------------------------------------------------------
diff --git a/bigtop_toolchain/bin/puppetize.sh b/bigtop_toolchain/bin/puppetize.sh
index 098af70..02969f6 100755
--- a/bigtop_toolchain/bin/puppetize.sh
+++ b/bigtop_toolchain/bin/puppetize.sh
@@ -77,9 +77,13 @@ case ${ID}-${VERSION_ID} in
 	exit 1
 esac
 
-/opt/puppetlabs/bin/puppet module install puppetlabs-stdlib
+
+# in case we installed puppetlabs puppet above
+export PATH=/opt/puppetlabs/bin:$PATH
+
+puppet module install puppetlabs-stdlib
 
 case ${ID} in
    debian|ubuntu)
-      /opt/puppetlabs/bin/puppet module install puppetlabs-apt;;
+      puppet module install puppetlabs-apt;;
 esac


Mime
View raw message