Ticket #1010 (closed defect: fixed)

Opened 12 years ago

Last modified 9 years ago

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

Reported by: Owned by: desai
Priority: minor Milestone:
Component: bcfg2-server Version:
Keywords: Cc:


The command

bcfg2-admin pull 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/ 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.


Change History

comment:1 Changed 12 years ago by solj

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

comment:2 Changed 9 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. [ 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.


Add a comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.