hartmantis/mac-app-store-chef

App Store won't be opened for resources that wrap a mac_app_store_app resource

Closed this issue · 1 comments

Because they are in their own sub-run contexts, they don't trigger this conditional:

only_if do
  node.run_context.resource_collection.any? do |r|
    r.is_a?(Chef::Resource::MacAppStoreApp)
  end
end

That guard is removed entirely by #19. It has the side effect that now the App Store will open and quit on every Chef run, but I don't see any good alternatives for now.