From: Sébastien Han Date: Tue, 30 Oct 2018 10:28:23 +0000 (+0100) Subject: cleanup repos's root X-Git-Tag: v3.2.0rc1~13 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=0e659caf77d1bba1287cf20967a17390cb95c3c6;p=ceph-ansible.git cleanup repos's root Remove old files and move scripts to the contrib directory. Signed-off-by: Sébastien Han --- diff --git a/contrib/rundep.sample b/contrib/rundep.sample new file mode 100644 index 000000000..380e6e505 --- /dev/null +++ b/contrib/rundep.sample @@ -0,0 +1,44 @@ +#Package lines can be commented out with '#' +# +#boost-atomic +#boost-chrono +#boost-date-time +#boost-iostreams +#boost-program +#boost-random +#boost-regex +#boost-system +#boost-thread +#bzip2-libs +#cyrus-sasl-lib +#expat +#fcgi +#fuse-libs +#glibc +#keyutils-libs +#leveldb +#libaio +#libatomic_ops +#libattr +#libblkid +#libcap +#libcom_err +#libcurl +#libgcc +#libicu +#libidn +#libnghttp2 +#libpsl +#libselinux +#libssh2 +#libstdc++ +#libunistring +#nss-softokn-freebl +#openldap +#openssl-libs +#pcre +#python-nose +#python-sphinx +#snappy +#systemd-libs +#zlib diff --git a/contrib/rundep_installer.sh b/contrib/rundep_installer.sh new file mode 100755 index 000000000..6da916231 --- /dev/null +++ b/contrib/rundep_installer.sh @@ -0,0 +1,27 @@ +#!/bin/bash -e +# +# Copyright (C) 2014, 2015 Red Hat +# +# Author: Daniel Lin +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# + +if test -f /etc/redhat-release ; then + PACKAGE_INSTALLER=yum +elif type apt-get > /dev/null 2>&1 ; then + PACKAGE_INSTALLER=apt-get +else + echo "ERROR: Package Installer could not be determined" + exit 1 +fi + +while read p; do + if [[ $p =~ ^#.* ]] ; then + continue + fi + $PACKAGE_INSTALLER install $p -y +done < $1 diff --git a/docker/Linode.dockerfile b/docker/Linode.dockerfile deleted file mode 100644 index abfb3bd72..000000000 --- a/docker/Linode.dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -# This Dockerfile is for setting up a dev environment for launching Ceph -# clusters on Linode. - -FROM ubuntu:16.04 - -WORKDIR /root -RUN apt-get update -RUN apt-get install -y build-essential git ansible python-netaddr rsync -RUN wget -O vagrant_1.8.5_x86_64.deb https://releases.hashicorp.com/vagrant/1.8.5/vagrant_1.8.5_x86_64.deb -RUN dpkg -i vagrant_1.8.5_x86_64.deb -RUN rm -f vagrant_1.8.5_x86_64.deb -RUN vagrant plugin install vagrant-linode -# Download patch from https://github.com/displague/vagrant-linode/pull/66 -RUN wget -O .vagrant.d/gems/gems/vagrant-linode-0.2.7/lib/vagrant-linode/actions/create.rb https://raw.githubusercontent.com/batrick/vagrant-linode/dfa305dab9c5a8ba49b50e7d9d1159977708c2d1/lib/vagrant-linode/actions/create.rb -RUN mkdir .ssh && ssh-keygen -f .ssh/id_rsa -t rsa -N '' -RUN git clone https://github.com/ceph/ceph-ansible.git - -WORKDIR /root/ceph-ansible diff --git a/docker/README.md b/docker/README.md deleted file mode 100644 index 5ad56200e..000000000 --- a/docker/README.md +++ /dev/null @@ -1,2 +0,0 @@ -This directory includes Dockerfiles for building development environments to -run ceph-ansible. diff --git a/example-ansible-role-requirements.yml b/example-ansible-role-requirements.yml deleted file mode 100644 index 3c43af109..000000000 --- a/example-ansible-role-requirements.yml +++ /dev/null @@ -1,18 +0,0 @@ -- name: ceph-common - src: https://github.com/ceph/ansible-ceph-common.git - #version: -- name: ceph-mon - src: https://github.com/ceph/ansible-ceph-mon.git - #version: -- name: ceph-osd - src: https://github.com/ceph/ansible-ceph-osd.git - #version: -- name: ceph-mds - src: https://github.com/ceph/ansible-ceph-mds.git - #version: -- name: ceph-rgw - src: https://github.com/ceph/ansible-ceph-rgw.git - #version: -- name: ceph-restapi - src: https://github.com/ceph/ansible-ceph-restapi.git - #version: diff --git a/rundep.sample b/rundep.sample deleted file mode 100644 index 380e6e505..000000000 --- a/rundep.sample +++ /dev/null @@ -1,44 +0,0 @@ -#Package lines can be commented out with '#' -# -#boost-atomic -#boost-chrono -#boost-date-time -#boost-iostreams -#boost-program -#boost-random -#boost-regex -#boost-system -#boost-thread -#bzip2-libs -#cyrus-sasl-lib -#expat -#fcgi -#fuse-libs -#glibc -#keyutils-libs -#leveldb -#libaio -#libatomic_ops -#libattr -#libblkid -#libcap -#libcom_err -#libcurl -#libgcc -#libicu -#libidn -#libnghttp2 -#libpsl -#libselinux -#libssh2 -#libstdc++ -#libunistring -#nss-softokn-freebl -#openldap -#openssl-libs -#pcre -#python-nose -#python-sphinx -#snappy -#systemd-libs -#zlib diff --git a/rundep_installer.sh b/rundep_installer.sh deleted file mode 100755 index 6da916231..000000000 --- a/rundep_installer.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash -e -# -# Copyright (C) 2014, 2015 Red Hat -# -# Author: Daniel Lin -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# - -if test -f /etc/redhat-release ; then - PACKAGE_INSTALLER=yum -elif type apt-get > /dev/null 2>&1 ; then - PACKAGE_INSTALLER=apt-get -else - echo "ERROR: Package Installer could not be determined" - exit 1 -fi - -while read p; do - if [[ $p =~ ^#.* ]] ; then - continue - fi - $PACKAGE_INSTALLER install $p -y -done < $1