Iterate #16

Open
wants to merge 4 commits into
from

Projects

None yet

2 participants

Member
reidmv commented Dec 21, 2012

This pull request adds some minor features and fixes some polish-level bugs. The short one-line description for the included commits should illustrate the fixes and addition.

f67a25a Fix bug where an empty file makes list fail
31a219b Add "created" data to stacks
5217680 On create, mkdir .../stacks if it doesn't exist
6780780 Remediate some ultra-long lines in stack.rb
87b7369 Modify gitignore to correctly ignore .swp files

reidmv added some commits Nov 5, 2012
@reidmv reidmv Remediate some ultra-long lines in stack.rb
This commit remediates a few of the ultra-long lines found in stack.rb
to make the code more asthetically pleasing on small(er) terminals.
6780780
@reidmv reidmv On create, mkdir .../stacks if it doesn't exist
Previously if a ~/.puppet/stacks directory did not exist the build
action would fail. This commit introduces code that will automatically
create the stacks directory if it does not already exist
5217680
@reidmv reidmv Add "created" data to stacks
This commit adds an additional piece of data to stack yaml files,
"created". The created field is a timestamp generated when stack build
is called.
31a219b
@reidmv reidmv Fix bug where an empty file makes list fail
Previously, running `puppet stack list` while an empy file existed in
~/.puppet/stacks/ would cause a failure. What should happen is that for
the empty file (which represents a stack), all information known about
the stack should be displayed. That is, the name of the stack and
nothing else. It shouldn't cause a failure/error.
f67a25a

CLA Signed by reidmv on 2012-07-29 21:00:00 -0700

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment