~ubuntu-branches/ubuntu/vivid/crmsh/vivid-proposed

« back to all changes in this revision

Viewing changes to templates/filesystem

  • Committer: Package Import Robot
  • Author(s): Martin Loschwitz
  • Date: 2013-04-19 07:08:47 UTC
  • Revision ID: package-import@ubuntu.com-20130419070847-adka0ljtpr04pkrl
Tags: upstream-1.2.5+hg953
ImportĀ upstreamĀ versionĀ 1.2.5+hg953

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%name filesystem
 
2
 
 
3
# Copyright (C) 2009 Dejan Muhamedagic
 
4
#
 
5
# License: GNU General Public License (GPL)
 
6
 
 
7
# Filesystem
 
8
#
 
9
# This template generates a single primitive resource of type
 
10
# Filesystem
 
11
 
 
12
%required
 
13
 
 
14
# The name of block device for the filesystem, or -U, -L
 
15
# options for mount, or NFS mount specification.
 
16
%% device 
 
17
 
 
18
# The mount point for the filesystem.
 
19
%% directory 
 
20
 
 
21
# The type of filesystem to be mounted.
 
22
%% fstype 
 
23
 
 
24
%optional
 
25
 
 
26
# Any extra options to be given as -o options to mount.
 
27
 
28
# For bind mounts, add "bind" here and set fstype to "none".
 
29
# We will do the right thing for options such as "bind,ro".
 
30
%% options 
 
31
 
 
32
%generate
 
33
 
 
34
primitive %_ ocf:heartbeat:Filesystem
 
35
        params
 
36
        device=%_:device
 
37
        directory=%_:directory
 
38
        fstype=%_:fstype