Sha256: 01d7af757da277ade3898c84d3c858820cb90213b4d32079cb05a6efdd902f1c

Contents?: true

Size: 956 Bytes

Versions: 28

Compression:

Stored size: 956 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

28 entries across 28 versions & 1 rubygems

Version Path
lono-6.1.11 lib/templates/blueprint/seed/configs.rb
lono-6.1.10 lib/templates/blueprint/seed/configs.rb
lono-6.1.9 lib/templates/blueprint/seed/configs.rb
lono-6.1.8 lib/templates/blueprint/seed/configs.rb
lono-6.1.7 lib/templates/blueprint/seed/configs.rb
lono-6.1.6 lib/templates/blueprint/seed/configs.rb
lono-6.1.5 lib/templates/blueprint/seed/configs.rb
lono-6.1.4 lib/templates/blueprint/seed/configs.rb
lono-6.1.3 lib/templates/blueprint/seed/configs.rb
lono-6.1.2 lib/templates/blueprint/seed/configs.rb
lono-6.1.1 lib/templates/blueprint/seed/configs.rb
lono-6.1.0 lib/templates/blueprint/seed/configs.rb
lono-6.0.1 lib/templates/blueprint/seed/configs.rb
lono-6.0.0 lib/templates/blueprint/seed/configs.rb
lono-5.3.4 lib/templates/blueprint/seed/configs.rb
lono-5.3.3 lib/templates/blueprint/seed/configs.rb
lono-5.3.2 lib/templates/blueprint/seed/configs.rb
lono-5.3.1 lib/templates/blueprint/seed/configs.rb
lono-5.3.0 lib/templates/blueprint/seed/configs.rb
lono-5.2.8 lib/templates/blueprint/seed/configs.rb