Created
August 19, 2009 21:06
-
-
Save cliffdickerson/170650 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # create a partition and file system for mpath14 | |
| execute "mkfs-ext3-mpath14p1" do | |
| command "mkfs.ext3 -q /dev/mapper/mpath14p1" | |
| action :nothing | |
| end | |
| execute "parted_mpath14" do | |
| command "parted -s -- /dev/mapper/mpath14 mkpart primary ext3 0 -1" | |
| creates "/dev/mapper/mpath14p1" | |
| action :run | |
| notifies :run, resources(:execute => "mkfs-ext3-mpath14p1") | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment