Ticket #773 (closed enhancement: fixed)
apt tool paths hard-coded in APT.py
Reported by: | [email protected]… | Owned by: | solj |
---|---|---|---|
Priority: | minor | Milestone: | Bcfg2 1.1.0 Release |
Component: | bcfg2-server | Version: | 1.0 |
Keywords: | Cc: |
Description
I would suggest the following configuration options:
apt_tools_install_path (default: /usr)
debsums_path (default: $apt_tools_install_path/bin/debsums)
debsums_path (default: $apt_tools_install_path/bin/apt-get)
apt_tools_var_path (default: /var)
apt_tools_etc_path (default: /)
system_etc_path (default: /etc)
etc
##########
execs = ['/usr/bin/debsums', '/usr/bin/apt-get', '/usr/bin/dpkg'] important = ["/etc/apt/sources.list",
"/var/cache/debconf/config.dat", "/var/cache/debconf/templates.dat", '/etc/passwd', '/etc/group', '/etc/apt/apt.conf', '/etc/dpkg/dpkg.cfg']
...
output = self.cmd.run("/usr/bin/debsums -as %s" %
entry.get('name'))[1]
Attachments
Change History
comment:1 Changed 13 years ago by desai
- Status changed from new to accepted
- Milestone changed from Bcfg2 1.0.0 Release to Bcfg2 1.0.1 Release
comment:2 Changed 13 years ago by solj
- Type changed from defect to enhancement
- Milestone changed from Bcfg2 1.0.1 Release to Bcfg2 1.1.0 Release
comment:4 Changed 13 years ago by solj
- Status changed from accepted to closed
- Resolution set to fixed
Added support for this in [afda2ecb1591429d162c2620d10e85ca0a4833c8] (SVN r5766).
This needs to be fixed, but won't be for 1.0. I'm retargeting this to 1.0.1