Commit 5e66c7f6 authored by ijaz ahmad's avatar ijaz ahmad Committed by GitHub
Browse files

Create puppet-custom-fact.template

parent 92f69265
# volume_mount.rb
Facter.add('volume_mount') do
setcode do
Facter::Core::Execution.exec("/bin/cat /proc/partitions | awk '{ print $3,$4;}' | sort -n | tail -n 1 | awk '{print $2;}'")
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