Git Product home page Git Product logo

homebrew's Introduction

Munki reporting module

Provides info about munki

  • timestamp (string) (string) datetime
  • runtype'] = (string) one of auto, manualcheck, installwithnologout, checkandinstallatstartup and logoutinstall
  • starttime (string) DST datetime
  • endtime (string) DST datetime
  • version (string) Munki version
  • errors (int) Amount of errors
  • error_json (string) Error messages in JSON format
  • warnings (int) Amount of warnings
  • warning_json (string) Warning messages in JSON format
  • manifestname (string) name of the primary manifest

homebrew's People

Contributors

bochoven avatar fridomac avatar gharryg avatar lolipale avatar magervalp avatar mosen avatar poundbangbash avatar tuxudo avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

homebrew's Issues

dynamic way of detecting brew

Hi,

have you experimented with the local installation of Homebrew, where the user is not an admin and therefore can't install homebrew in /usr/local? i just finished writing/modifying a homebrew installer, that checks if the user is admin or not and depending on the result either install brew in /usr/local or ~/.brew.

I took a lock at your script (here and in homebrew_info) and noticed that you only check for this path /usr/local/bin/brew and i was wondering if there is any reason why making it a bit more dynamic might be a problem for example

[[ -f $(sudo -i -u $ConsoleUser command -v brew) ]]

should i test this and make a PR?

Long error msg - various file not found

I assume this client is missing some xcode tools, but shouldn't the module quit more gracefully?

Running homebrew.sh
homebrew.sh Error: dyld: Symbol not found: _kConditionalConnectionRequirementTimeWindowStartTime
Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
Expected in: /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
clang: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly!
clang: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch
Running homebrew_info.sh
homebrew_info.sh Error: dyld: Symbol not found: _kConditionalConnectionRequirementTimeWindowStartTime
Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
Expected in: /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
clang: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly!
clang: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch
dyld: Symbol not found: _kConditionalConnectionRequirementTimeWindowStartTime
Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
Expected in: /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
clang: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly!
clang: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch
/usr/local/munkireport/scripts/homebrew_info.sh: line 45: /cache/homebrew_info.json: No such file or directory

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.