Issue #8350 has been updated by Jeff McCune.

Nigel Kersten wrote:
> Ideally I think we should:
> 
> Log the start of waiting for the fingerprint
> print progress bar to the console
> Log the end of waiting for the fingerprint.
> 
> The intermediate progress is only to indicate activity to an interactive 
> user, and shouldn't have to be logged.

How does this look Nigel?

<pre>
➜  cloudpack 
git:(ticket/8343_create_should_print_dnsname_asap/8350_log_destination) ✗ 
puppet cloudnode create --image ami-2342a94a --keypair jeff_initial --type 
t1.micro --verbose
info: Connecting to AWS us-east-1 ...
info: Connecting to AWS us-east-1 ... Done
info: Instance Type: t1.micro
info: Creating new instance ...
info: Creating new instance ... Done
info: Instance identifier: i-4a8b622b
info: Creating tags for instance ...
info: Creating tags for instance ... Done
info: Launching server i-4a8b622b ...
############### Done
info: Server i-4a8b622b is now ready
info: Server i-4a8b622b public dns name: 
ec2-184-73-108-120.compute-1.amazonaws.com
info: Waiting for SSH host key fingerprint from AWS ...
##########################################################################################################################################################################################################
 Done
info: Waiting for SSH host key fingerprint from AWS ... Done
ec2-184-73-108-120.compute-1.amazonaws.com
</pre>
----------------------------------------
Refactor #8350: All output should go to a log destination
https://projects.puppetlabs.com/issues/8350

Author: Jeff McCune
Status: Accepted
Priority: Normal
Assignee: Jeff McCune
Category: 
Target version: 
Keywords: cloudpack, faces
Branch: 


# Overview #

We're currently using print and puts in Cloud Pack and this breaks the ability 
to pipe rich data into other actions.

In addition, informational messages do not adhere to the standard log 
destination configured by the end user.


-- 
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.

Reply via email to