Module: Charmkit::Plugins::Base::InstanceMethods

Defined in:
lib/charmkit.rb

Instance Method Summary collapse

Instance Method Details

#optsObject

The class-level options hash. This should probably not be modified at the instance level.



50
51
52
# File 'lib/charmkit.rb', line 50

def opts
  self.class.opts
end

#summonObject

This performs the actual work of installing, configuring, restarting of services.

class Install < Charmkit
  def summon
    cp "#{ENV['JUJU_CHARM_DIR']}/templates/nginx.conf.tpl",
       "/etc/nginx/nginx.conf"
  end
end


63
64
# File 'lib/charmkit.rb', line 63

def summon
end