lib/dpl/provider/bluemix_cloud_foundry.rb
# NOTE: Much of this class is duplicated from CloudFoundry.
# This is by design. By duplicating a manageable amount of
# code here, we prevent this provider and its gem `dpl-bluemix_cloud_foundry`
# from having a dependency on `dpl-cloudfoundry`.
# Having less dependency is desirable when we install this gem
# from source.
Much of this class is duplicated from CloudFoundry.
This is by design. By duplicating a manageable amount of
code here, we prevent this provider and its gem `dpl-bluemix_cloud_foundry`
from having a dependency on `dpl-cloudfoundry`.
Having less dependency is desirable when we install this gem
from source.
Much of this class is duplicated from CloudFoundry . This is by design . By duplicating a manageable amount of code here we prevent this provider and its gem ` dpl - bluemix_cloud_foundry ` from having a dependency on ` dpl - cloudfoundry ` . Having less dependency is desirable when we install this gem from source .
def install_plugins
        log 'Install plugins'
        plugins.each do |plugin|
          log " - #{plugin}"
          if plugin_installed?(plugin)
            log '   installed'
          else
            error 'Failed to instal plugin' unless context.shell "./cf install-plugin -f #{plugin}"
          end
        end
      end
def install_plugins log 'Install plugins' plugins . each do | plugin | log " - #{plugin}" if plugin_installed? ( plugin ) log '   installed' else error 'Failed to instal plugin' unless context . shell "./cf install-plugin -f #{plugin}" end end end
NOTE: Much of this class is duplicated from CloudFoundry.
NOTE : Much of this class is duplicated from CloudFoundry .