class Omnibus::InvalidS3ReleaseConfiguration
Public Class Methods
new(s3_bucket, s3_access_key, s3_secret_key)
click to toggle source
# File lib/omnibus/exceptions.rb, line 64 def initialize(s3_bucket, s3_access_key, s3_secret_key) @s3_bucket, @s3_access_key, @s3_secret_key = s3_bucket, s3_access_key, s3_secret_key end
Public Instance Methods
to_s()
click to toggle source
# File lib/omnibus/exceptions.rb, line 68 def to_s """ One or more required S3 configuration values is missing. Your effective configuration was the following: release_s3_bucket => #{@s3_bucket.inspect} release_s3_access_key => #{@s3_access_key.inspect} release_s3_secret_key => #{@s3_secret_key.inspect} To release a package to S3, add the following values to your config file: release_s3_bucket ENV['S3_BUCKET_NAME'] release_s3_access_key ENV['S3_ACCESS_KEY'] release_s3_secret_key ENV['S3_SECRET_KEY'] Note that you are not required to use environment variables as illustrated (and the ones listed have no special significance in Omnibus), but it is encouraged to prevent spread of sensitive information and inadvertent check-in of same to version control systems. """ end