Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow ceph-ansible to be run on a locally built/installed Ceph
-First install ceph into a directory with CMake cmake -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib -DWITH_SYSTEMD=ON -DCMAKE_INSTALL_PREFIX:PATH:=/usr <ceph_src_dir> && make DESTDIR=<install_dir> install/strip -Ceph-ansible copies over the install_dir -User can use rundep_installer.sh to install any runtime dependencies that ceph needs onto the machine from rundep
- Loading branch information
Daniel Lin
committed
Aug 12, 2016
1 parent
f37a9d1
commit 08766a2
Showing
8 changed files
with
169 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#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 | ||
#hdparm | ||
#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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash -e | ||
# | ||
# Copyright (C) 2014, 2015 Red Hat <contact@redhat.com> | ||
# | ||
# Author: Daniel Lin <danielin@umich.edu> | ||
# | ||
# 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 |