Class: Engineyard::Hudson::InstallServer
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Engineyard::Hudson::InstallServer
- Includes:
- Thor::Actions
- Defined in:
- lib/engineyard-hudson/cli/install_server.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
10 11 12 |
# File 'lib/engineyard-hudson/cli/install_server.rb', line 10 def self.source_root File.join(File.dirname(__FILE__), "install_server", "templates") end |
Instance Method Details
#attributes ⇒ Object
18 19 20 21 |
# File 'lib/engineyard-hudson/cli/install_server.rb', line 18 def attributes @plugins = %w[git github rake ruby greenballs envfile] + ([:plugins] || '').strip.split(/\s*,\s*/) template "attributes.rb.tt", "cookbooks/hudson_master/attributes/default.rb" end |
#cookbooks ⇒ Object
14 15 16 |
# File 'lib/engineyard-hudson/cli/install_server.rb', line 14 def cookbooks directory "cookbooks" end |