diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2015-04-16 01:49:29 -0400 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2015-04-23 12:11:53 -0400 |
commit | 378e8a8c9d7e7be7f52691e957f07096ee0b2c82 (patch) | |
tree | 8bf69963a6e9af8c930d142c5077fa88e1dfc5b9 /playbooks/aws/openshift-cluster/templates | |
parent | 4d77f6ee94b67a8db57e040c899fb464fbf13290 (diff) | |
download | openshift-378e8a8c9d7e7be7f52691e957f07096ee0b2c82.tar.gz openshift-378e8a8c9d7e7be7f52691e957f07096ee0b2c82.tar.bz2 openshift-378e8a8c9d7e7be7f52691e957f07096ee0b2c82.tar.xz openshift-378e8a8c9d7e7be7f52691e957f07096ee0b2c82.zip |
lvm-direct support for aws
- Create a separate docker volume in aws openshift-cluster playbooks
- default to using ephemeral storage, but allow to be overriden
- allow root volume settingsto be overriden as well
- add user-data cloud-config to bootstrap the installation/configuration of
docker-storage-setup
- pylint cleanup for oo_filters.py
- remove left over traces to the deployment_type tags which were previously
removed
- oo_get_deployment_type_from_groups filter in oo_filters.py
- cluster list playbooks references to oo_get_deployment_type_from_groups
filter
Diffstat (limited to 'playbooks/aws/openshift-cluster/templates')
-rw-r--r-- | playbooks/aws/openshift-cluster/templates/user_data.j2 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/playbooks/aws/openshift-cluster/templates/user_data.j2 b/playbooks/aws/openshift-cluster/templates/user_data.j2 new file mode 100644 index 000000000..7dbc8f552 --- /dev/null +++ b/playbooks/aws/openshift-cluster/templates/user_data.j2 @@ -0,0 +1,29 @@ +#cloud-config +yum_repos: + jdetiber-copr: + name: Copr repo for origin owned by jdetiber + baseurl: https://copr-be.cloud.fedoraproject.org/results/jdetiber/origin/epel-7-$basearch/ + skip_if_unavailable: true + gpgcheck: true + gpgkey: https://copr-be.cloud.fedoraproject.org/results/jdetiber/origin/pubkey.gpg + enabled: true + +packages: +- xfsprogs # can be dropped after docker-storage-setup properly requires it: https://github.com/projectatomic/docker-storage-setup/pull/8 +- docker-storage-setup + +mounts: +- [ xvdb ] +- [ ephemeral0 ] + +write_files: +- content: | + DEVS=/dev/xvdb + VG=docker_vg + path: /etc/sysconfig/docker-storage-setup + owner: root:root + permissions: '0644' + +runcmd: +- systemctl daemon-reload +- systemctl enable lvm2-lvmetad.service docker-storage-setup.service |