diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-02-02 22:46:10 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-02-02 22:46:10 +0000 |
commit | d8064879c1ff248f9ed61a216471af8e684a806e (patch) | |
tree | 89d36d90f6dacdbb2e13f5b7b1ceda699b70b621 | |
parent | 62910c991b70702f27273a743653e7b0221102b0 (diff) | |
download | bcfg2-d8064879c1ff248f9ed61a216471af8e684a806e.tar.gz bcfg2-d8064879c1ff248f9ed61a216471af8e684a806e.tar.bz2 bcfg2-d8064879c1ff248f9ed61a216471af8e684a806e.zip |
Round 1 of packaging fixes for the reporting system and hostbase
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2773 ce84e21b-d406-0410-9b95-82705330c041
-rwxr-xr-x | debian/rules | 4 | ||||
-rw-r--r-- | setup.py | 12 | ||||
-rw-r--r-- | src/lib/Server/Hostbase/settings.py | 2 |
3 files changed, 12 insertions, 6 deletions
diff --git a/debian/rules b/debian/rules index a5b93b2f6..1b038c281 100755 --- a/debian/rules +++ b/debian/rules @@ -40,8 +40,4 @@ binary-install/bcfg2 :: binary-install/bcfg2-server :: cd doc && make manual.html dh_installinit -p$(cdbs_curpkg) -o - mkdir debian/bcfg2-server/usr/share/bcfg2/hostbase - cp src/lib/Server/Hostbase/templates/* debian/bcfg2-server/usr/share/bcfg2/hostbase - debian/bcfg2-server/usr/share/bcfg2/hostbase/webtemplates - cp src/lib/Server/Hostbase/hostbase/webtemplates debian/bcfg2-server/usr/share/bcfg2/hostbase/webtemplates endif @@ -23,6 +23,16 @@ setup(name="Bcfg2.Server", ('share/man/man5', glob("man/*.5")), ('share/man/man8', glob("man/*.8")), ('share/bcfg2/Reports/templates', - glob('src/lib/Server/Reports/reports/templates/*')), + glob('src/lib/Server/Reports/reports/templates/*.html')), + ('share/bcfg2/Reports/templates/display', + glob('src/lib/Server/Reports/reports/templates/display/*')), + ('share/bcfg2/Reports/templates/clients', + glob('src/lib/Server/Reports/reports/templates/clients/*')), + ('share/bcfg2/Reports/templates/config_items', + glob('src/lib/Server/Reports/reports/templates/config_items/*')), + ('share/bcfg2/Hostbase/templates', + glob('src/lib/Server/Hostbase/hostbase/webtemplates/*')), + ('share/bcfg2/Hostbase/repo', + glob('src/lib/Server/Hostbase/templates/*')), ] ) diff --git a/src/lib/Server/Hostbase/settings.py b/src/lib/Server/Hostbase/settings.py index 96f73cc29..d23cb83d7 100644 --- a/src/lib/Server/Hostbase/settings.py +++ b/src/lib/Server/Hostbase/settings.py @@ -98,7 +98,7 @@ TEMPLATE_DIRS = ( '/usr/lib/python2.3/site-packages/Bcfg2/Server/Hostbase/hostbase/webtemplates', '/usr/lib/python2.4/site-packages/Bcfg2/Server/Hostbase/hostbase/webtemplates', '/usr/lib/python2.3/site-packages/Bcfg2/Server/Hostbase/templates', - '/usr/lib/python2.4/site-packages/Bcfg2/Server/Hostbase/templates', + '/usr/share/bcfg2/Hostbase/templates', ) |