Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

White 13 05 acu114901 implement ephemeral library cookbook #1

Merged

Conversation

arangamani
Copy link
Member

No description provided.

- name: rightimage-centos-6.4
box: opscode-ubuntu-12.04
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_provisionerless.box
- name: ubuntu-10.04

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is 10.04 included? I thought we were just testing against 12.04

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For our library cookbooks we are testing for the default set of OSes as well.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay - this is different that my conversation with Lopaka.

So our plan moving forward is to support all of the OS's the community supports plus the additional ones we want to support.

Which means I need to add back in the default OS I removed from the setup_swap cookbook, And also add CentOS to the setup_syslog recipe

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a library cookbook.

What you and I talked about Erik was about 'application' cookbooks. Application cookbooks should be using the current OSs being developed by Ivory.

module Helper
# Creates given loop devices
#
# @param devices [Array, String] the devices to create
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you meant [Array<String>]?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, maybe not, but it should be specific and say [Array<String>, String].

# ephemeral cookbook
# ephemeral_lvm cookbook

Sets up the ephemeral device(s) on a cloud instance to be an LVM device, formats the device, and mounts it.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It almost sounds like we are somehow configuring the existence of the ephemeral devices -- which is confusing because the cloud does that part -- we just detect if they are available. Perhaps reword a bit. For example, "Detects any ephemeral device(s) available to a cloud instance and configures them into a single LVM device, formats the device, and mounts it."

@caryp
Copy link
Contributor

caryp commented Oct 1, 2013

overall looks great!! A few comment to resolve..

<tr>
<td><tt>node['ephemeral_lvm']['filesystem']</tt></td>
<td>The filesystem to be used on the ephemeral volume</td>
<td><tt>'ext3'</tt></td>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doesn't match default value set in attributes/default.rb.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do!

@caryp
Copy link
Contributor

caryp commented Oct 22, 2013

A couple minor things. Nice work, @arangamani!

@arangamani
Copy link
Member Author

Changes done again @caryp

caryp pushed a commit that referenced this pull request Oct 22, 2013
…_implement_ephemeral_library_cookbook

White 13 05 acu114901 implement ephemeral library cookbook
@caryp caryp merged commit 384e98b into master Oct 22, 2013
@arangamani
Copy link
Member Author

nice work, @caryp!

@arangamani arangamani deleted the white_13_05_acu114901_implement_ephemeral_library_cookbook branch October 24, 2013 00:47
rshade pushed a commit that referenced this pull request Dec 14, 2016
pulling back changes from  rightscale-cookbooks/ephemeral_lvm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants