Git Product home page Git Product logo

Comments (11)

bochoven avatar bochoven commented on September 28, 2024

Yes, I have been looking at facter, and it is a very nice library. Do you think/know it will speed up gathering of data?

from munkireport-php.

drpebcak avatar drpebcak commented on September 28, 2024

I think it will. It runs very quickly, and it outputs data in an easily parse-able format. Each data point is on a separate line. It also outputs a lot more information that is currently being gathered, so it could really expand the reporting that munkireport does.

from munkireport-php.

bochoven avatar bochoven commented on September 28, 2024

facter does not run on 10.9 Mavericks, see https://projects.puppetlabs.com/issues/21868#note-11

I would rather maintain a limited set of scripts to retrieve facts.

from munkireport-php.

drpebcak avatar drpebcak commented on September 28, 2024

Ah, I haven't tested that yet. I'll keep an eye on it and maybe we can revisit the possibility once it's updated.

from munkireport-php.

drpebcak avatar drpebcak commented on September 28, 2024

It works just fine on 10.9, with the default ruby 2.0.

The bug report indicates the issue is with the packaged version of facter, but the 'gem install' version does work just fine. We could just create scripts to harvest the information, but adding more bash scripts may slow down munki runs, where using a unified tool such as facter (that runs rather quickly) would speed things up.

Facter fully supports ruby 2.0.

from munkireport-php.

bochoven avatar bochoven commented on September 28, 2024

I tried gem install, and I can confirm that facter runs ok on 10.9.

I' m open for more efficient ways to gather data, and facter is probably very efficient (although I'm not sure if adding custom facts won't slow down facter the same way the current setup does), but my main concern is complexity. I really want people to write their own modules, which may be included in this project, and I suspect that writing a custom fact in ruby is more than the average mac sysadmin can handle (I'm no ruby programmer as well).

from munkireport-php.

drpebcak avatar drpebcak commented on September 28, 2024

Adding custom facts looks really easy actually - http://docs.puppetlabs.com/guides/custom_facts.html

It is of course, up to you. I think it might be worth testing a module that collects data from facter.

from munkireport-php.

bochoven avatar bochoven commented on September 28, 2024

So, fork and create a feature branch that installs and uses facter!

-Arjen

On 4 nov. 2013, at 07:06, "Taylor Price" <[email protected]mailto:[email protected]> wrote:

Adding custom facts looks really easy actually - http://docs.puppetlabs.com/guides/custom_facts.html

It is of course, up to you. I think it might be worth testing a module that collects data from facter.


Reply to this email directly or view it on GitHubhttps://github.com//issues/15#issuecomment-27665753.

from munkireport-php.

 avatar commented on September 28, 2024

I'd like to test that branch :)

from munkireport-php.

drpebcak avatar drpebcak commented on September 28, 2024

I'm terrible at php, but I'll give it a shot.

from munkireport-php.

svanzoest avatar svanzoest commented on September 28, 2024

Also checkout Ohai.

from munkireport-php.

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.