Ticket #561 (closed enhancement: fixed)

Opened 15 years ago

Last modified 13 years ago

Create bcfg2-reports RPM

Reported by: [email protected] Owned by: desai
Priority: major Milestone: Bcfg2 1.2.0 Release
Component: bcfg2-reports Version: 1.0
Keywords: Cc:


The "new" DynamicReporting? stuff is not distributed in either of the current RPMs.

Because of its dependencies it makes sense to add it as a separate package, e.g. bcfg2-reports.


Change History

comment:1 Changed 15 years ago by [email protected]

  • Type changed from defect to enhancement

Further thoughts...

  • A bcfg2-reports RPM should have the following dependencies:
    • bcfg2-server
    • httpd
    • mod_python
    • sqlite
    • python-sqlite2
  • The reporting files should be installed under /var/www/bcfg2/reports
  • The reporting RPM should drop a config file in /etc/httpd/conf.d, e.g:
    # Stop TRACE/TRACK vulnerability
    <IfModule mod_rewrite.c>
            RewriteEngine on
            RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
            RewriteRule .* - [F]
    Alias /bcfg2 /var/www/bcfg2
    <Directory /var/www/bcfg2/reports>
            Order deny,allow
            Deny from all
            Allow from localhost   # you may want to change this
            AllowOverride None
    <Location "/bcfg2/reports">
            SetHandler python-program
            PythonHandler django.core.handlers.modpython
            SetEnv DJANGO_SETTINGS_MODULE Bcfg2.Server.Reports.settings
            PythonDebug On
    <Location "/bcfg2/reports/site_media/">
            SetHandler None
  • It should also add an option to /etc/bcfg2.conf:
    web_prefix = bcfg2/reports/
  • brpt.sqlite should be installed to /var/lib/bcfg2/etc/

comment:2 Changed 14 years ago by solj

  • Version set to 1.0
  • Milestone set to Bcfg2 1.0 Release

comment:3 Changed 14 years ago by solj

  • Milestone changed from Bcfg2 1.0 Release to Bcfg2 1.1 Release

comment:4 Changed 14 years ago by solj

  • Milestone changed from Bcfg2 1.0.1 Release to Bcfg2 1.1.0 Release

comment:5 Changed 13 years ago by solj

  • Component changed from bcfg2-client to bcfg2-reports
  • Milestone changed from Bcfg2 1.1.0 Release to Bcfg2 1.2.0 Release

comment:6 Changed 13 years ago by laszlo

  • Status changed from new to closed
  • Resolution set to fixed

Created bcfg2-web rpm and deb packages in commit 4fa804bafe8a39135db76a7dca1917d22a60e1a4

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.