GithubHelp home page GithubHelp logo

thomascate / chef-hipchat-plugin Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 156 KB

A plugin for HipChat to get information from the Chef server

License: Apache License 2.0

JavaScript 84.69% CSS 1.10% HTML 14.21%

chef-hipchat-plugin's Introduction

chef-hipchat-plugin

A plugin for Hipchat to get information from the Chef server. You will need to Deploy/Install this plugin, then configure it. Both are explained in this README.md.

Deployment or Installation

Heroku

Heroku Button

  1. First click the following button to provision the instance: Deploy
  2. After provisioning is done, set up heroku toolbelt
  3. Login to the heroku cli: heroku login
  4. Clone the git repo that is under the settings, cd into that directory.
  5. Take note of the heroku application URL, edit the config.json line 96, with that URL.
  6. Added the change to the master branch: git commit -am 'added new baseURL'
  7. Push to heroku: git push heroku master
  8. Refresh your instance, you should see a JSON blob.
  9. Continue to the Configuration section.

Heroku by hand

Local instance

  • If you would like to run this behind your own firewall, you should use the chef-hipchat-plugin-cookbook. There are a few things you need to do to set it up.
  1. Provision a Ubuntu 14.04 machine
  2. Install chef-client on the machine
  3. Either upload the chef-hipchat-plugin-cookbook to your chef server, or run the chef-solo command that it suggests.
  4. Verify that you can connect to that machine, and see the http://<machine>:3000/atlassian-connect.json
  5. If your hipchat instance can reach the machine, and you chef server can reach the machine you've installed the plugin, you should be good to go.
  6. Continue to the Configuration section.

Configuration

  1. Go to your location, https://<url>/atlassian-connect.json you should see your application ready to install.
  2. Inside Hipchat, click on Configure integrations on the bottom right.
  3. Scroll to the bottom of the page, and click Install an integration from a descriptor URL.
  4. Paste your heroku URL with atlassian-connect.json on the end to the Descriptor URL box, click Install.
  5. Select the Room you'd like to install to, click Continue.
  6. Verify this is what you'd like to install, click Approve.
  7. Configure your Plugin via the required fields, congrats, you've installed the Plugin!

Commands

  • /chef environment NAME - Returns what is cookbooks are active in this environment
  • /chef health - Returns the health information of your chef server
  • /chef license - Returns the license usage for your chef server
  • /chef nodes - Lists out all the machine that your chef server knows about
  • /chef node-status FQDN - Returns information since the last converge of machine

License and Authors

Author:: Chef Partner Engineering ([email protected])

Copyright:: Copyright (c) 2016 Chef Software, Inc.

License:: Apache License, Version 2.0

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Contributing

  1. Fork it ( https://github.com/chef-partners/chef-hipchat-plugin/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

chef-hipchat-plugin's People

Contributors

jjasghar avatar

Watchers

 avatar  avatar

Forkers

jojeesorg

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.