Resource Type: esx_datastore
- Defined in:
- lib/puppet/type/esx_datastore.rb
- Providers:
-
esx_datastore
Overview
Manage vCenter esx hosts’ datastore.
Properties
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
remote_host
Name or IP of remote storage host. Specify only for file based storage.
-
remote_path
Path to volume on remote storage host. Specify only for file based storage.
-
type
The datastore type.
Supported values:- nfs
- cifs
- vmfs
Parameters
-
access_mode
(defaults to: readWrite)
Enum - HostMountMode: Defines the access mode of the datastore.
Supported values:- readOnly
- readWrite
-
datastore
The name of the datastore.
-
host
The ESX host the datastore is attached to.
- local_path
-
lun
LUN number of storage volume. Specify only for block storage.
-
name (namevar)
ESX host:datastore name.
- password
-
provider
The specific backend to use for this ‘esx_datastore` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.
- uid
- user_name