Custom Query (894 matches)
Results (88 - 90 of 894)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#94 | desai | [email protected]… | fixed | bcfg2-server doesn't respect -C option |
Description |
current svn (rev 2082)
$ bcfg2-server -C /home/gogo/MJ/prototype-server/etc/bcfg2.conf -v -d It looks further for /etc/bcfg2.conf . Related code!? class SafeProxy: '''Wrapper for proxy''' _cfile = ConfigParser.ConfigParser() _cfpath = '/etc/bcfg2.conf' _cfile.read([_cfpath]) try: _components = _cfile._sections['components'] except KeyError: print "%s doesn't contain a valid components section" % (_cfpath) raise SystemExit, 1 |
|||
#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']) |
Note: See TracQuery
for help on using queries.