Porting changes from upstream #2
|
@ -6,6 +6,8 @@ variable "liferay_data" {
|
|||
vm_count = 1
|
||||
vm_flavor = "m1.large"
|
||||
boot_vol_size = 30
|
||||
share_description = "NFS share for the liferay static data"
|
||||
share_name = "liferay_nfs_share"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -26,3 +28,4 @@ variable "liferay_recordsets" {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -166,8 +166,8 @@ resource "openstack_compute_interface_attach_v2" "nfs_port_to_liferay" {
|
|||
|
||||
# Create a NFS share
|
||||
resource "openstack_sharedfilesystem_share_v2" "liferay_static" {
|
||||
name = "liferay_nfs_share"
|
||||
description = "NFS share for the liferay static data"
|
||||
name = var.liferay_data.share_name
|
||||
description = var.liferay_data.share_description
|
||||
share_proto = "NFS"
|
||||
size = 5
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue