From 9c082ff6bf2a22af00f841f81fc4dd08830dd465 Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Thu, 28 Jul 2016 13:57:23 -0500 Subject: [PATCH] Fix emaint sync call Emaint sync needs to be called with an argument, in our case '-a' is sufficient. It also can request user input, so we allow it to sync automatically as well. Change-Id: Ida47e14f883fdd29ad375fd47992b4662911d1d1 --- install_puppet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_puppet.sh b/install_puppet.sh index 61ec8b1dad..58a37cc50b 100755 --- a/install_puppet.sh +++ b/install_puppet.sh @@ -223,7 +223,7 @@ function setup_puppet_opensuse { } function setup_puppet_gentoo { - emaint sync + echo yes | emaint sync -a emerge -q --jobs=4 puppet-agent sed -i '/templatedir/d' /etc/puppetlabs/puppet/puppet.conf }