aboutsummaryrefslogtreecommitdiffstats
path: root/deprecated/nfs-source.yaml
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2015-02-23 14:22:12 -0500
committerDan Prince <dprince@redhat.com>2015-02-23 20:50:59 -0500
commitc82b6cec10e1b411774d2f4d5d51565ba7c3550c (patch)
treee80a999cba61fb0d75fc847c031a112195b236d2 /deprecated/nfs-source.yaml
parent112a42f34d4384eab729f039ad60b88cc714d09b (diff)
Deprecate the old mergepy overcloud templates
This patch moves all the related mergepy templates for the overcloud into a deprecated directory. The Makefile has been updated so that overcloud.yaml is still generated at the top level so this shouldn't break end users. This is to reduce confusion for new users who are learning the TripleO heat templates and find the fact that we have two full implementations very confusing. Change-Id: I0848aca4dee3e37cb4c6089c5f655ad22ac6c5fd
Diffstat (limited to 'deprecated/nfs-source.yaml')
-rw-r--r--deprecated/nfs-source.yaml36
1 files changed, 36 insertions, 0 deletions
diff --git a/deprecated/nfs-source.yaml b/deprecated/nfs-source.yaml
new file mode 100644
index 00000000..5d865ea7
--- /dev/null
+++ b/deprecated/nfs-source.yaml
@@ -0,0 +1,36 @@
+resources:
+ controllerNfsServerConfig:
+ type: OS::Heat::StructuredConfig
+ properties:
+ group: os-apply-config
+ config:
+ nfs_server:
+ shares:
+ - name: cinder
+ clients:
+ - machine: 192.0.2.0/24
+ options: rw,async,all_squash,anonuid=0,anongid=0
+ controllerCinderNfsConfig:
+ type: OS::Heat::StructuredConfig
+ properties:
+ group: os-apply-config
+ config:
+ cinder:
+ include_nfs_backend: true
+ nfs_shares:
+ Fn::Join:
+ - ':'
+ - - {get_attr: [controller0, networks, ctlplane, 0]}
+ - /mnt/state/var/lib/nfs/cinder
+ controllerNfsServerDeployment:
+ type: OS::Heat::StructuredDeployment
+ properties:
+ config: {get_resource: controllerNfsServerConfig}
+ server: {get_resource: controller0}
+ signal_transport: NO_SIGNAL
+ controller0CinderNfsDeployment:
+ type: OS::Heat::StructuredDeployment
+ properties:
+ config: {get_resource: controllerCinderNfsConfig}
+ server: {get_resource: controller0}
+ signal_transport: NO_SIGNAL