]> git-server-git.apps.pok.os.sepia.ceph.com Git - radosgw-agent.git/log
radosgw-agent.git
11 years agopackaging: fix up spec file for non-python files
Josh Durgin [Sat, 22 Mar 2014 12:10:28 +0000 (05:10 -0700)]
packaging: fix up spec file for non-python files

Correct the installation of the binary, logrotate conf, and init script.
Stop using INSTALLED_FILES. Instead explicitly list files and glob the
python package, as recommended by Fedora's python packaging guide.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
11 years agocli: add a default log file
Josh Durgin [Wed, 19 Mar 2014 11:31:29 +0000 (04:31 -0700)]
cli: add a default log file

Now that the packages include /var/log/ceph/radosgw-agent, default to
storing logs there, named after the configuration file or
radosgw-agent.log if no config file was used.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
11 years agodebian: depend on python 2.6 or higher
Josh Durgin [Wed, 19 Mar 2014 11:30:02 +0000 (04:30 -0700)]
debian: depend on python 2.6 or higher

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
11 years agopackaging: add logrotate config
Josh Durgin [Wed, 19 Mar 2014 10:32:07 +0000 (03:32 -0700)]
packaging: add logrotate config

There's no need to signal running agents since they use
a WatchedFileHandler that detects rotation itself.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
11 years agopackaging: add init scripts
Josh Durgin [Wed, 19 Mar 2014 10:11:50 +0000 (03:11 -0700)]
packaging: add init scripts

create log, run, and etc dirs as well

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
11 years agopackaging: add dependency on python-requests
Josh Durgin [Wed, 19 Mar 2014 09:27:32 +0000 (02:27 -0700)]
packaging: add dependency on python-requests

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>