Module: Charmkit::Plugins::Base::InstanceMethods
- Defined in:
- lib/charmkit.rb
Instance Method Summary collapse
-
#opts ⇒ Object
The class-level options hash.
-
#summon ⇒ Object
This performs the actual work of installing, configuring, restarting of services.
Instance Method Details
#opts ⇒ Object
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 |
#summon ⇒ Object
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 |