%name filesystem

# Filesystem
#
# This template generates a single primitive resource of type
# Filesystem

%required

# The name of block device for the filesystem, or -U, -L
# options for mount, or NFS mount specification.
%% device 

# The mount point for the filesystem.
%% directory 

# The type of filesystem to be mounted.
%% fstype 

%optional

# Any extra options to be given as -o options to mount.
# 
# For bind mounts, add "bind" here and set fstype to "none".
# We will do the right thing for options such as "bind,ro".
%% options 

%generate

primitive %_ ocf:heartbeat:Filesystem
	params
	device=%_:device
	directory=%_:directory
	fstype=%_:fstype
