]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
build/ops: drop sample.fetch_config
authorNathan Cutler <ncutler@suse.com>
Thu, 15 Jun 2017 11:16:42 +0000 (13:16 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 15 Jun 2017 11:30:49 +0000 (13:30 +0200)
smithfarm: @liewegas Is src/fetch_config still needed?
liewegas: i don't think so

Signed-off-by: Nathan Cutler <ncutler@suse.com>
alpine/APKBUILD.in
ceph.spec.in
debian/ceph-base.install
src/CMakeLists.txt
src/fetch_config [deleted file]

index 90a697d96d3db1ee193cf1934481c083cd49b5bd..e82dd20a50cfd64613437b6091361e9151c777fd 100644 (file)
@@ -166,7 +166,6 @@ package() {
                || return 1
 
        chmod 0644 $pkgdir$_docdir/ceph/sample.ceph.conf || return 1
-       chmod 0644 $pkgdir$_docdir/ceph/sample.fetch_config || return 1
 
        # udev rules
        install -m 0644 -D udev/50-rbd.rules $pkgdir$_udevrulesdir/50-rbd.rules || return 1
@@ -192,7 +191,6 @@ base() {
                xfsprogs
        "
 
-       _pkg $_docdir/ceph sample.ceph.conf sample.fetch_config
        _pkg $_bindir crushtool monmaptool osdmaptool ceph-run ceph-detect-init
        _pkg $_sbindir ceph-create-keys mount.ceph
        _pkg $_libexecdir/ceph ceph_common.sh
index 1458852af726f19e35298217c2978cce08545e4d..979c42ce765a5d9b0fa0e1075a7ec54b801abea1 100644 (file)
@@ -883,7 +883,6 @@ install -m 0644 -D systemd/50-ceph.preset %{buildroot}%{_libexecdir}/systemd/sys
 mkdir -p %{buildroot}%{_sbindir}
 install -m 0644 -D src/logrotate.conf %{buildroot}%{_sysconfdir}/logrotate.d/ceph
 chmod 0644 %{buildroot}%{_docdir}/ceph/sample.ceph.conf
-chmod 0644 %{buildroot}%{_docdir}/ceph/sample.fetch_config
 
 # firewall templates and /sbin/mount.ceph symlink
 %if 0%{?suse_version}
@@ -930,7 +929,6 @@ rm -rf %{buildroot}
 %docdir %{_docdir}
 %dir %{_docdir}/ceph
 %{_docdir}/ceph/sample.ceph.conf
-%{_docdir}/ceph/sample.fetch_config
 %{_bindir}/crushtool
 %{_bindir}/monmaptool
 %{_bindir}/osdmaptool
index 95ffe0a8485d233da9262aeb3b41b8c259583d6b..2a56cabee77435fd876908bd9272eb563d3a8538 100644 (file)
@@ -10,7 +10,6 @@ usr/lib/ceph/ceph_common.sh
 usr/lib/ceph/erasure-code/*
 usr/lib/rados-classes/*
 usr/share/doc/ceph/sample.ceph.conf
-usr/share/doc/ceph/sample.fetch_config
 usr/share/man/man8/ceph-debugpack.8
 usr/share/man/man8/ceph-deploy.8
 usr/share/man/man8/ceph-run.8
index 3db9348b8514064130ab5e46203c3c11d131fd22..20529d2d74ec54bb097ca92bf9f17f9b3d4ba4ae 100644 (file)
@@ -1066,10 +1066,6 @@ endif(WITH_RADOSGW)
 install(FILES
   sample.ceph.conf
   DESTINATION ${CMAKE_INSTALL_DOCDIR})
-install(FILES
-  fetch_config
-  DESTINATION ${CMAKE_INSTALL_DOCDIR}
-  RENAME sample.fetch_config)
 
 # Now create a useable config.h
 configure_file(
diff --git a/src/fetch_config b/src/fetch_config
deleted file mode 100644 (file)
index f0787b6..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-conf="$1"
-
-## fetch ceph.conf from some remote location and save it to $conf.
-##
-## make sure this script is executable (chmod +x fetch_config)
-
-##
-## examples:
-##
-
-## from a locally accessible file
-# cp /path/to/ceph.conf $conf
-
-## from a URL:
-# wget -q -O $conf http://somewhere.com/some/ceph.conf 
-
-## via scp
-# scp -i /path/to/id_dsa user@host:/path/to/ceph.conf $conf
-