Giter Site home page Giter Site logo

Option group's value #<Chef::Node::Attribute:0x00000002e3efe8> does not match regular expression [/^([-a-zA-Z0-9_.\\ ]+)$/, /^\d+$/] about newrelic HOT 4 CLOSED

djoos-cookbooks avatar djoos-cookbooks commented on August 16, 2024
Option group's value # does not match regular expression [/^([-a-zA-Z0-9_.\\ ]+)$/, /^\d+$/]

from newrelic.

Comments (4)

djoos avatar djoos commented on August 16, 2024

Hi @JoeDeVries,

I've found the issue - see: http://tickets.opscode.com/browse/CHEF-520
The attributes/server-monitoring.rb contains value_for_platform-logic, which shouldn't be used. I'll implement a similar way of working to the one used in php-agent.rb to set the web server's service name: a simple attribute. Any deviations can then be set via an override rather than hard-wiring/putting the logic in the cookbook.

What do you think?

Kind regards,
David

from newrelic.

djoos avatar djoos commented on August 16, 2024

Hi @JoeDeVries,

would you be able to pull down the latest version from GitHub and give that a go? I've just put a fix in place - but would like to get your feedback prior to releasing a 0.5.3-version of the community cookbook.

Thanks in advance!

Kind regards,
David

from newrelic.

JoeDeVries avatar JoeDeVries commented on August 16, 2024

That resolved the problem. Thanks!

from newrelic.

djoos avatar djoos commented on August 16, 2024

Hi Joe,

you're welcome - thanks for your feedback!

Kind regards,
David

from newrelic.

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.