Sha256: 9cc83374cfaa3e4bd1736072f0f8d18366153408551f58d9711146b6a1ebaa79
Contents?: true
Size: 884 Bytes
Versions: 3
Compression:
Stored size: 884 Bytes
Contents
module EY class CLI class Recipes < EY::Thor X1gx1GGG desc "recipes apply [ENVIRONMENT]", <<-DESC Run uploaded chef recipes on specified environment. This is similar to '#{banner_base} rebuild' except Engine Yard's main configuration step is skipped. DESC def apply(name = nil) environment = fetch_environment(name) environment.run_custom_recipes EY.ui.say "Uploaded recipes started for #{environment.name}" end desc "recipes upload [ENVIRONMENT]", <<-DESC Upload custom chef recipes to specified environment. The current directory should contain a subdirectory named "cookbooks" to be uploaded. DESC def upload(name = nil) environment = fetch_environment(name) environment.upload_recipes EY.ui.say "Recipes uploaded successfully for #{environment.name}" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
engineyard-1.7.0.pre2 | lib/engineyard/cli/#recipes.rb# |
engineyard-1.4.23 | lib/engineyard/cli/#recipes.rb# |
engineyard-1.3.15 | lib/engineyard/cli/#recipes.rb# |