Issue #8422 has been reported by Jeff McCune.
----------------------------------------
Bug #8422: Install action with scripts should display errors if the install
script has an error
https://projects.puppetlabs.com/issues/8422
Author: Jeff McCune
Status: Unreviewed
Priority: Normal
Assignee:
Category: cloudpack
Target version:
Keywords: install script ec2 cloudpack
Branch:
# Overview #
Consider the following action using
<pre>
$ puppet node install --login root --keyfile $keyfile --install-script
puppet-enterprise-s3 -vd ec2-50-16-130-0.compute-1.amazonaws.com
notice: Waiting for SSH response ...
notice: Waiting for SSH response ... Done
notice: Installing Puppet ...
debug: Compiled installation script:
debug: #! /bin/bash
#
set -e
set -u
# this assumes that the payload has already been delivered
tmpdir='/tmp/installer_script.31501'
cd "${tmpdir}"
# Download the installer payload from S3
exit 1
# copied by the install action of cloudpack
tar -xvzf puppet.tar.gz
grep -q '^q_puppetagent_certname' puppet.answers && (echo 'PE answers file
already contains line q_puppetagent_certname';exit 1)
echo "q_puppetagent_certname='c0274a92-2236-2689-3161-cb9babf1cdff'" >>
puppet.answers
puppet-enterprise-1.1-all/puppet-enterprise-installer -a puppet.answers >&
install.log
notice: Executing Puppet Install Script ...
notice: Executing Puppet Install Script ... Done
c0274a92-2236-2689-3161-cb9babf1cdff
</pre>
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.