Sha256: e3bd9bbf93abe52b7a6aaa8ce98b1475efae48e78d32b250cbb6c6f6d48fd4c2

Contents?: true

Size: 964 Bytes

Versions: 29

Compression:

Stored size: 964 Bytes

Contents

# This is an optional class is used by `lono seed [blueprint]` to create starter configs.
# Example files that get created:
#
#    configs/BLUEPRINT/params/LONO_ENV.txt
#    configs/BLUEPRINT/variables/LONO_ENV.rb
#
# The `Lono::Seed::Configs` class should implement:
#
#   setup: Hook to perform logic at the beginning. A good place to create IAM service roles.
#   variables: Template for generated variables file. Contents of what gets created at
#     configs/[blueprint]/variables/development.rb
#
# Note: There is no need to define a params method. Lono is able to generate a params config starter file by evaluating the template defintion.
#
class Lono::Seed::Configs < Lono::Seed::Base
  # Setup hook
  # def setup
  # end

  # Template for variables.
  # Return String with the content of the config/BLUEPRINT/variables file.
  # def variables
  #   <<~EOL
  #     @variable1 = "starter_value1"
  #     @variable2 = "starter_value2"
  #   EOL
  # end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
lono-7.5.2 lib/templates/blueprint/seed/configs.rb
lono-7.5.1 lib/templates/blueprint/seed/configs.rb
lono-7.5.0 lib/templates/blueprint/seed/configs.rb
lono-7.4.11 lib/templates/blueprint/seed/configs.rb
lono-7.4.10 lib/templates/blueprint/seed/configs.rb
lono-7.4.9 lib/templates/blueprint/seed/configs.rb
lono-7.4.8 lib/templates/blueprint/seed/configs.rb
lono-7.4.7 lib/templates/blueprint/seed/configs.rb
lono-7.4.6 lib/templates/blueprint/seed/configs.rb
lono-7.4.5 lib/templates/blueprint/seed/configs.rb
lono-7.4.4 lib/templates/blueprint/seed/configs.rb
lono-7.4.3 lib/templates/blueprint/seed/configs.rb
lono-7.4.2 lib/templates/blueprint/seed/configs.rb
lono-7.4.1 lib/templates/blueprint/seed/configs.rb
lono-7.4.0 lib/templates/blueprint/seed/configs.rb
lono-7.3.2 lib/templates/blueprint/seed/configs.rb
lono-7.3.1 lib/templates/blueprint/seed/configs.rb
lono-7.3.0 lib/templates/blueprint/seed/configs.rb
lono-7.2.3 lib/templates/blueprint/seed/configs.rb
lono-7.2.2 lib/templates/blueprint/seed/configs.rb