Comments (11)
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.
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.
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.
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.
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.
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.
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.
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.
I'd like to test that branch :)
from munkireport-php.
I'm terrible at php, but I'll give it a shot.
from munkireport-php.
Also checkout Ohai.
from munkireport-php.
Related Issues (20)
- Reflected cross site scripting in /report
- Please consider not setting BaseUrl via the postinstall script HOT 1
- Module Template HOT 1
- WIP: Reports and Listings navigation are not sorted alphabetically HOT 1
- WIP: Dropdown navigation overflows the screen, cant scroll down
- WIP: Regression in machines module, some actions not accessible HOT 1
- WIP: Freezing when submitting a Business Unit / Machine Group HOT 3
- WIP: Improve documentation on local user changes for v6
- Migration to 5.8.0: 'Doctrine\DBAL\Driver\PDOMySql\Driver' not found HOT 8
- Fix release script
- http auth basic broken on 5.8.0 with python 3.10 HOT 3
- Parsedown error in Comment_Controller v.5.8 HOT 1
- Apps Version Report - Space in app name - Forbidden, You don't have permission to access this resource. HOT 6
- Issue with Laravel 10.17 HOT 5
- inventory items with space in it come back with Forbidden error HOT 2
- Login to MunkiReport with AD users HOT 1
- Client connect to MR server over HTTPS not work. HOT 4
- Remove references to kissmvc.com in Module.php
- Error runing ./please migrate HOT 3
- Error using SSL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from munkireport-php.