1.0.2 • Published 7 years ago
demo-vik v1.0.2
Hubot: demo-vik
==================
Check if user has role : TechOps / DevOps in LDAP.
Add demo-vik to your package.json
file:
npm install --save demo-vik
Add hubot-vik to your external-scripts.json
:
["demo-vik"]
Run npm install
Configuration
Setup the following as environment variables before you run hubot.
LDAP_URL - A valid LDAP URL (proto/host/port only) e.g. 'ldap://127.0.0.1:1389'
LDAP_USERNAME - LDAP User name
LDAP_PASSWORD - LDAP Password
Sample Interaction
user1>> hubot exec TechOps
hubot>> Sorry, only TechOps can do this activity.
user1>> hubot exec DevOps
hubot>> you have DevOps role. Please proceed.