Issue #7061 has been updated by Pieter van de Bruggen.

Status changed from Accepted to Ready For Testing
Assignee changed from Pieter van de Bruggen to Dominic Maraglia

The unit tests are as complete as is reasonable at this particular stage; 
broader acceptance testing is probably appropriate at this point.

Here are the current behaviors of actions, and the effects (and edge-cases) 
worth testing:

 * puppet node create
   * Given valid AWS credentials (in ~/.fog) and a valid AMI, this should 
output the DNS name and host fingerprints for a new EC2 instance.
   * Given invalid or missing AWS credentials, this should print an error 
message indicating the lack of credentials.
   * Given valid AWS credentials (in ~/.fog) and an invalid or missing AMI, 
this should print an error message indicating the error with the AMI.

 * puppet node install
   * Given the name of a server accessible to SSH, a username, private key 
file, a P.E. tarball and answers file, this should install Puppet on the named 
server.
   * Missing any of these arguments should print an error message indicating 
the lack.

 * puppet node init
   * Given the prerequisites to `puppet node install` (and a Puppet Master that 
will permit signing by "you"), this should install Puppet on the named server 
*and* sign the C.S.R. on the Puppet Master.
     * This will also eventually classify the node, though support is currently 
lacking.

 * puppet node bootstrap
   * Given the prerequisites to create *and* the prerequisites to init, this 
should create a new EC2 instance, install Puppet on it, and sign the C.S.R. on 
the Puppet Master.
     * This may be more difficult to test, since it doesn't presently return 
either the certname or DNS name for the instance.
     * This will also eventually classify the node, though support is currently 
lacking.
----------------------------------------
Refactor #7061: Build out comprehensive test suite for CloudPack
https://projects.puppetlabs.com/issues/7061

Author: Pieter van de Bruggen
Status: Ready For Testing
Priority: Normal
Assignee: Dominic Maraglia
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


At the moment, CloudPack's testing is generally lacking; this should be shored 
up promptly.


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