Ticket #773 (accepted enhancement)
apt tool paths hard-coded in APT.py
| Reported by: | euth14@… | Owned by: | desai |
|---|---|---|---|
| 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
Note: See
TracTickets for help on using
tickets.