GithubHelp home page GithubHelp logo

Comments (6)

timbirk avatar timbirk commented on July 18, 2024

Furhter to the above this whole section looks a bit weird... https://github.com/ITV/domed-city/blob/master/lib/dome/hiera_lookup.rb#L36-L51

from domed-city.

timbirk avatar timbirk commented on July 18, 2024

Perhaps eyaml_dir would be better off named: eyaml_key_dir.

from domed-city.

kemra102 avatar kemra102 commented on July 18, 2024

@timbirk #41 add's an appropriate error message in just this situation

from domed-city.

dprint8 avatar dprint8 commented on July 18, 2024

Using domed-city 6.3.1 from https://github.com/ITV/domed-city (at v6.3.1@adfcde0) similar issue:

TypeError: no implicit conversion of nil into String
  /Users/DimiPrin/.gem/ruby/2.3.1/bundler/gems/domed-city-adfcde061943/lib/dome/hiera_lookup.rb:49:in `join'
  /Users/DimiPrin/.gem/ruby/2.3.1/bundler/gems/domed-city-adfcde061943/lib/dome/hiera_lookup.rb:49:in `eyaml_private_key'
  /Users/DimiPrin/.gem/ruby/2.3.1/bundler/gems/domed-city-adfcde061943/lib/dome/hiera_lookup.rb:24:in `default_config'
  /Users/DimiPrin/.gem/ruby/2.3.1/bundler/gems/domed-city-adfcde061943/lib/dome/hiera_lookup.rb:13:in `config'
  /Users/DimiPrin/.gem/ruby/2.3.1/bundler/gems/domed-city-adfcde061943/lib/dome/hiera_lookup.rb:67:in `lookup'
  /Users/DimiPrin/.gem/ruby/2.3.1/bundler/gems/domed-city-adfcde061943/lib/dome/hiera_lookup.rb:79:in `block in secret_env_vars'
  /Users/DimiPrin/.gem/ruby/2.3.1/bundler/gems/domed-city-adfcde061943/lib/dome/hiera_lookup.rb:78:in `each_pair'
  /Users/DimiPrin/.gem/ruby/2.3.1/bundler/gems/domed-city-adfcde061943/lib/dome/hiera_lookup.rb:78:in `secret_env_vars'
  /Users/DimiPrin/.gem/ruby/2.3.1/bundler/gems/domed-city-adfcde061943/lib/dome/secrets.rb:16:in `secret_env_vars'
  /Users/DimiPrin/.gem/ruby/2.3.1/bundler/gems/domed-city-adfcde061943/lib/dome/terraform.rb:34:in `plan'
  /Users/DimiPrin/.gem/ruby/2.3.1/bundler/gems/domed-city-adfcde061943/bin/dome:30:in `<top (required)>'
  /Users/DimiPrin/.gem/ruby/2.3.1/bin/dome:23:in `load'
  /Users/DimiPrin/.gem/ruby/2.3.1/bin/dome:23:in `<top (required)>'```

from domed-city.

kemra102 avatar kemra102 commented on July 18, 2024

The exact error reported by Tim above was fixed by #41 - suspect there are a few spots with similar assumptions.

from domed-city.

dprint8 avatar dprint8 commented on July 18, 2024

@themattkeating v6.2.0 as well

from domed-city.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.