Modify

Ticket #773 (closed enhancement: fixed)

Opened 13 years ago

Last modified 13 years ago

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

This needs to be fixed, but won't be for 1.0. I'm retargeting this to 1.0.1

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:3 Changed 13 years ago by solj

  • Owner changed from desai to solj

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).

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

View

Add a comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.