Last active
December 10, 2015 13:49
-
-
Save gtmtech/4443561 to your computer and use it in GitHub Desktop.
HOWTO: Installing mcollective on Mac OSX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I had trouble fathoming out how to get mcollective client working on OSX, because there's no official support for it. | |
Here is what I did. | |
* Install XCode | |
* Install Auxilliary Tools for XCode from https://developer.apple.com/downloads/ - required | |
* Move the PackageMaker.app to /Applications | |
* sudo ln -s /Applications/Xcode.app/Contents/Developer /Developer | |
* cd /Developer/usr/bin | |
* sudo ln -s /Applications/PackageMaker.app/Contents/MacOS/PackageMaker packagemaker | |
* cd ${HOME} # - or somewhere you can work | |
* git clone git://github.com/glarizza/luggage.git | |
* sudo ln -s /usr/local/share/luggage $(/bin/pwd)/luggage | |
* cd luggage/examples/mcollective | |
* make pkg | |
* open . | |
* Double click on the MCollective Installer pkg. | |
* If you're running rvm like me, then this installer will install the mcollective libs in the WRONG place. The lib location is set in the Makefile, but for me it was easier to copy the dir across directly: | |
* cd /usr/lib/ruby/site_ruby/1.8 | |
* tar -czf /tmp/mcollective.tgz mcollective* | |
* cd ~/.rvm/rubies/<whichever ruby version>/lib/ruby/site_ruby/<whichever ruby version>/ | |
* tar -xzf /tmp/mcollective.tgz | |
* sudo touch /etc/mcollective/client.cfg # if it doesnt exist, create one - youll need to edit it. | |
* sudo chmod 644 /etc/mcollective/client.cfg # important to avoid errors about missing commands | |
Now you should be able to run mc-ping, mco etc. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@gtmtech did you ever get round to making a homebrew formula for this?