summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim MacArthur <jim.macarthur@codethink.co.uk>2015-01-16 12:54:24 +0000
committerJim MacArthur <jim.macarthur@codethink.co.uk>2015-01-20 15:09:31 +0000
commit1349263485db1c6cce4d63fee9d516062d4654dd (patch)
treef43366554d00c6ed3057981666cc009649048dc4
parent2d24bf6c54915330272b9f27fda1c50ae2c6517a (diff)
downloaddefinitions-1349263485db1c6cce4d63fee9d516062d4654dd.tar.gz
Add example chef/ceph client deploy morph
-rw-r--r--chef/manifest3
-rw-r--r--clusters/cephclient.morph20
2 files changed, 23 insertions, 0 deletions
diff --git a/chef/manifest b/chef/manifest
new file mode 100644
index 00000000..de6cc542
--- /dev/null
+++ b/chef/manifest
@@ -0,0 +1,3 @@
+0040755 0 0 /root
+0040700 1000 1000 /root/.ssh
+0100600 1000 1000 /root/.ssh/authorized_keys
diff --git a/clusters/cephclient.morph b/clusters/cephclient.morph
new file mode 100644
index 00000000..b4db22e0
--- /dev/null
+++ b/clusters/cephclient.morph
@@ -0,0 +1,20 @@
+name: ceph-cluster
+kind: cluster
+systems:
+- morph: systems/ceph-service-x86_64-generic.morph
+ deploy:
+ ceph-node-virtualbox-image:
+ type: virtualbox-ssh
+ SYSTEM: systems/ceph-service-x86_64-generic.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: chef/manifest