- From: Dennis Klein <
>
- To:
- Subject: [[chef-dev]] new package resource action :reconfig
- Date: Fri, 5 Aug 2011 19:19:46 +0200
Hi,
I have written a patch which introduces a new action :reconfig to the package
resource. Because it is a (non-breaking) change to the dsl api I think it
should be discussed first before I file a new ticket.
Background: The package resource already has a :response_file attribute,
which can be used to preseed configuration values for a package. In the case
of the apt provider this preseeding only happens when the :install action is
invoked, for reconfiguration of already installed packages its not usable at
the moment. For apt, this would mean to invoke dpkg-reconfigure. I don't
think it is elegant implementing it in the :install action - therefore I
invented the :reconfig action.
I intend to also resolve
http://tickets.opscode.com/browse/CHEF-294 which
would be even more powerful together with a reconfiguration mechanism.
What do you think? Do you like the introduction of the :reconfig action or
would you implement this in a less invasive way? We could also discuss the
naming of the action, I obviously inherited :reconfig from the debian world
(see dpkg-reconfigure).
Best regards,
Dennis
- [[chef-dev]] new package resource action :reconfig, Dennis Klein, 08/05/2011
Archive powered by MHonArc 2.6.16.