Oh actually.  run_with_chef_client is nice especially if we wrap the knife
solo stuff in a run_with_knife_solo method.

-Mat

On Apr 3, 2013, at 21:23, Teemu Matilainen <notifications@github.com> wrote:

In lib/chef/knife/bootstrap_solo.rb:

> +  class Knife
> +    class Bootstrap
> +
> +      def self.load_deps
> +        super
> +        require 'chef/knife/solo_bootstrap'
> +        require 'knife-solo/tools'
> +        SoloBootstrap.load_deps
> +      end
> +
> +      option :solo,
> +        :long        => '--[no-]solo',
> +        :description => 'Bootstrap using knife-solo'
> +
> +      # Rename and override run method
> +      alias_method :orig_run, :run

@matschaffer <https://github.com/matschaffer> So... orig_run,
run_without_knife_solo, run_with_chef_client, run_with_template? =)

—
Reply to this email directly or view it on
GitHub<https://github.com/matschaffer/knife-solo/pull/207/files#r3648480>
.