From 25041b86249fe763fd4171e2ab1aca535b3eb14f Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Mon, 11 Apr 2016 17:57:57 +0100 Subject: Add a simple templating system to Baserock definitions This is currently independent of the actual definitions format. The 'configure' tool generates actual .morph files from .morph.in files, and build tools then operate on these generated .morph files.t This is largely untested and no doubt broken! --- clusters/cephclient.morph.in | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 clusters/cephclient.morph.in (limited to 'clusters/cephclient.morph.in') diff --git a/clusters/cephclient.morph.in b/clusters/cephclient.morph.in new file mode 100644 index 00000000..42ea33f7 --- /dev/null +++ b/clusters/cephclient.morph.in @@ -0,0 +1,20 @@ +name: ceph-cluster +kind: cluster +systems: +- morph: systems/ceph-service.{{CONFIG}}.morph + deploy: + ceph-node-virtualbox-image: + type: extensions/virtualbox-ssh + SYSTEM: systems/ceph-service.{{CONFIG}}.morph + location: vbox+ssh://user@machine/ChefNode4/home/user/chefnode4.vdi + # HOST_IPADDR and NETMASK should be set to the IP address and netmask of the virtualbox host on the host-only interface. + #HOST_IPADDR: 10.0.100.100 + #NETMASK: 255.255.255.0 + + # This is an example of how to configure the three interfaces necessary to support ceph in the BCPC configuration. + #NETWORK_CONFIG: lo:loopback;enp0s3:static,address=10.0.100.14,netmask=255.255.255.0;enp0s8:static,address=172.16.100.14,netmask=255.255.255.0;enp0s9:static,address=192.168.100.14,netmask=255.255.255.0 + DISK_SIZE: 8G + HOSTNAME: CephNode4 + + # You must install authorized_keys in chef/root/.ssh/ before this will work. + INSTALL_FILES: install-files/chef/manifest -- cgit v1.2.1