Dsiclaimer for supermarket users

Issue #1 new
Scott M Likens repo owner created an issue

Ref: https://github.com/damm/backup/issues/57

After some research I figured out the problem with the supermarket and the backup and backup_lwrp cookbook. In earlier issues it was said that the cookbook could be renamend, which would be quite a good idea an shouldn't be a big thing. But that's not mine to decide. But since this isn't resolved ( at least for me) you should update the README for the supermarket. It looks to me that you maintain two versions of this cookbook, one for the supermarket and the one here on GIT. So why not just put in disclaimer or reminder that user who use the supermarket need to watch out that they should use backup_lwrp instead of backup to use its providers? This would've saved me some hours.

Comments (2)

  1. Scott M Likens reporter

    From github.com/Mortorq

    guess it should be sufficient to write something like this:

    Supermarket Users Due to the difference between the Supermarket name of the Cookbook and the original name you need to change the values of provider calls like backup_install to backup_lwrp_install and so on. In addition you need to change some vaules of the providers generate_model.rb cookbook new_resource.options["cookbook"] || "backup" to: cookbook new_resource.options["cookbook"] || "backup_lwrp" and also in the resources generate_config.rb attribute :cookbook, :kind_of => String, :default => "backup" to: attribute :cookbook, :kind_of => String, :default => "backup_lwrp"

    Requirements

  2. Log in to comment