Commit 106f4e24 authored by ijaz ahmad's avatar ijaz ahmad Committed by GitHub
Browse files

Create format-drive.pp

parent 5e66c7f6
# formate a disk using puppet.
exec {"/sbin/mkfs.ext4 /dev/$disk":
unless => "/sbin/blkid -t TYPE=ext4 /dev/$disk"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment