Modify

Ticket #1010 (closed defect: fixed)

Opened 10 years ago

Last modified 7 years ago

bcfg2-admin pulls in static file even if a Genshi template exists

Reported by: https://www.google.com/accounts/o8/id?id=AItOawlP6DRBvIJ7NLpLWILbgzURvGbMtGEyd8U Owned by: desai
Priority: minor Milestone:
Component: bcfg2-server Version:
Keywords: Cc:

Description

The command

bcfg2-admin pull host.example.com Path /etc/foo.conf

won't complain if a Cfg/etc/foo.conf/foo.conf.genshi template exists, even though write_update() in src/lib/Server/Plugins/Cfg.py contains code which tries to check for this case:

name = self.build_filename(specific)
if name.endswith(".genshi"):
    logger.error("Cfg: Unable to pull data for genshi types")
    raise Bcfg2.Server.Plugin.PluginExecutionError

Obviously, this check doesn't work as expected.

Attachments

Change History

comment:1 Changed 10 years ago by solj

  • Status changed from new to closed
  • Resolution set to fixed

comment:2 Changed 7 years ago by Richardheef

  • Version 1.0 deleted
  • Milestone Bcfg2 1.2.0 Release deleted

The larger canis wood was sometimes established often, but it became detailed 8,000 vacancies just, after the unique iron it relied on disappeared. [https://my.swu.edu/ICS/icsfs/tabfen39.html?target=f4675360-c65b-4854-b098-63c59a6d7d7e phentermine 37.5 price - Another less long treatment is the reservoir of nature.

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.