# HG changeset patch # User Mahlon E. Smith # Date 1399937652 25200 # Node ID 62196065e9ea4e8bba3d4c91621f35efb59215b6 # Parent 5ef02faaf5a560165c53b95fe958d6d07a334339 Use full class paths with configurability, so additional subclassing (via pluggability, or manual) works as expected. diff -r 5ef02faaf5a5 -r 62196065e9ea lib/symphony/tasks/ssh.rb --- a/lib/symphony/tasks/ssh.rb Sat May 10 17:45:39 2014 -0700 +++ b/lib/symphony/tasks/ssh.rb Mon May 12 16:34:12 2014 -0700 @@ -88,7 +88,7 @@ ### Configurability API. ### def self::configure( config=nil ) - config = self.defaults.merge( config || {} ) + config = Symphony::Task::SSH.defaults.merge( config || {} ) @path = config.delete( :path ) @opts = config.delete( :opts ) @user = config.delete( :user ) diff -r 5ef02faaf5a5 -r 62196065e9ea lib/symphony/tasks/sshscript.rb --- a/lib/symphony/tasks/sshscript.rb Sat May 10 17:45:39 2014 -0700 +++ b/lib/symphony/tasks/sshscript.rb Mon May 12 16:34:12 2014 -0700 @@ -90,7 +90,7 @@ ### Configurability API. ### def self::configure( config=nil ) - config = self.defaults.merge( config || {} ) + config = Symphony::Task::SSHScript.defaults.merge( config || {} ) @user = config.delete( :user ) @key = config.delete( :key ) super