Giter Site home page Giter Site logo

Comments (5)

ekelali avatar ekelali commented on June 18, 2024 5

Perhaps there's a middle-ground opportunity here:

goss --vars <(goss validate -g discovery.yaml --format discovery) validate

from goss.

uk-bolly avatar uk-bolly commented on June 18, 2024 1

hi @ekelali

Thats a great solution. It allows goss to be the one required tool (which is perfect in restricted environments).

from goss.

aelsabbahy avatar aelsabbahy commented on June 18, 2024 1

--format discovery does not exist in Goss today. Someone would have to implement that before this ticket is closed.

There's --format json but I don't think that meets @uk-bolly need.

from goss.

aelsabbahy avatar aelsabbahy commented on June 18, 2024

Thanks for the thorough explanation.

Reflecting on this, let's approach it from the other end and see where the gaps are.

Today goss can leverage external discovery tools as follows:

$ goss --vars <(ohai) validate
$ goss --vars <(facter -j) validate

doc (for the above): https://github.com/aelsabbahy/goss/blob/master/docs/manual.md#examples-2

These tools are dedicated to system discovery and have been around for quite some time, thus having quite a bit of maturity and a rich feature set (ex. pluggability). The same can be said for ansibles fact engine and its plugins.

To better understand this enhancement, where do those tools fall short today as an end user?

from goss.

berney avatar berney commented on June 18, 2024

@uk-bolly Does this mean this can be closed now?

Should there be a documentation update to show this example?

from goss.

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.