-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
The opsode apache cookbook actually clones the apache ports.conf template resource in the default and mod_ssl recipes:
If I want to rewind that resource in my own wrapper cookbook, and try to use chef-rewind, it appears to only find a single instance of the resource (maybe the first one), and rewind it. But I still end up with the template from presumably the second declaration of the resource
[2013-04-29T17:03:10+00:00] WARN: Previous template[/etc/apache2/ports.conf]: /var/chef/cache/cookbooks/apache2/recipes/default.rb:195:in `from_file'
[2013-04-29T17:03:10+00:00] WARN: Current template[/etc/apache2/ports.conf]: /var/chef/cache/cookbooks/apache2/recipes/mod_ssl.rb:37:in `from_file'
[2013-04-29T17:03:10+00:00] INFO: Resource template[/etc/apache2/ports.conf] found, now rewinding it
I know cloning the resource in the first instance is a bad thing, but is there some way to make chef-rewind match and rewind all instances of the resource, effectively consolidating them into a single resource declaration?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels