Custom Query (894 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (79 - 81 of 894)

Ticket Owner Reporter Resolution Summary
#95 desai [email protected] fixed StatReports: transformpath hardcoded
Description

If bcfg2 gets installed with arbitrary prefix (python setup.py install --prefix=/home/gogo/PREFIX_PYTHON/ e.g.), StatReports? can't find transform file.

Related code:

    148 if __name__ == '__main__':
    149     c = ConfigParser()
    150     c.read(['/etc/bcfg2.conf'])
    151     configpath = "%s/etc/report-configuration.xml" % c.get('server', 'repository')
    152     statpath = "%s/etc/statistics.xml" % c.get('server', 'repository')
    153     clientsdatapath = "%s/Metadata/clients.xml" % c.get('server', 'repository')
    154     transformpath = "/usr/share/bcfg2/xsl-transforms/"
#96 desai [email protected] fixed StatReports: bcfg2.conf hardcoded
Description

StatReports? doesn't allow to specify the location of the bcfg2.conf file.

Related code:

if __name__ == '__main__':
    c = ConfigParser()
    c.read(['/etc/bcfg2.conf'])
#97 desai [email protected] fixed bcfg2-repo-validate: bcfg2.conf hard coded
Description

bcfg2-repo-validate doesn't allow to specify the location of the bcfg2.conf file.

Related code:

if __name__ == '__main__':
    verbose = False
    if '-v' in sys.argv:
        verbose = True
        sys.argv.remove('-v')
    cf = ConfigParser.ConfigParser()
    cf.read(['/etc/bcfg2.conf'])
Note: See TracQuery for help on using queries.