I hereby claim:
- I am gsluthra on github.
- I am gluthra (https://keybase.io/gluthra) on keybase.
- I have a public key ASBJQRTKLWbVsDr4Bf_C9RRtoSrh0zrmKdZx8QMSkJHxrQo
To claim this, I am signing this object:
<html> | |
<head> | |
<script type="text/javascript"> | |
window.onload = draw; | |
function draw(){ |
# Page Object | |
class CapsuleCreateForm | |
include Capybara::DSL | |
def submit_form(capsule={}) | |
fill_in 'Title', :with => capsule[:title] | |
fill_in 'Description', :with => capsule[:description] | |
fill_in 'capsule_study_text', :with => capsule[:study_text] | |
fill_in 'capsule_assignment_instructions', :with => capsule[:assignment_instructions] | |
fill_in 'capsule_guidelines_for_evaluators', :with => capsule[:guidelines_for_evaluators] |
### FIRE WALL ########## | |
exec { "open-port-80": | |
command => "sudo iptables -I INPUT 5 -m state --state NEW -p tcp --dport 80 -j ACCEPT", | |
path => "${os_path}", | |
unless => "sudo iptables-save | grep 80 | grep INPUT | grep ACCEPT | grep NEW | wc -l | xargs test 1 -eq", | |
notify => Exec["ip-tables-save"] | |
} | |
exec { "ip-tables-save": |
// Sequence of numbers | |
val xs = Seq(1, 5, 3, 4, 6, 2) | |
// Sort using Natural ordering as defined for Integers in Scala Library | |
xs.sorted //1,2,3,4,5,6 | |
// Sort 'with' a comparator function | |
xs.sortWith(_<_) //1,2,3,4,5,6 | |
xs.sortWith(_>_) //6,5,4,3,2,1 | |
xs.sortWith((left,right) => left > right) //6,5,4,3,2,1 |
# Refer to this link to understand below rules: https://wiki.centos.org/HowTos/Network/IPTables | |
# Set default input policy to ACCEPT | |
iptables -P INPUT ACCEPT | |
# Flush all current rules! | |
iptables -F | |
# Allow localhost interface | |
iptables -A INPUT -i lo -j ACCEPT |
# To see the list of valid variables in Bahmni please refer to: | |
# https://bahmni.atlassian.net/wiki/display/BAH/List+Of+Configurable+Installation+Variables | |
timezone: Asia/Kolkata | |
implementation_name: default | |
selinux_state: disabled |
192.168.33.10 ansible_ssh_user=vagrant ansible_ssh_pass=vagrant | |
192.168.33.11 ansible_ssh_user=vagrant ansible_ssh_pass=vagrant | |
[nagios-server] | |
[bahmni-emr] | |
192.168.33.10 | |
192.168.33.11 passive=yes | |
[bahmni-emr-db] |
05-08-2016 05:47:32 [WARN ] OpenmrsUtil - Unable to find a runtime properties file at /openmrs-runtime.properties | |
Aug 05, 2016 7:29:13 AM org.apache.catalina.core.StandardContext setPath | |
WARNING: A context path must either be an empty string or start with a '/'. The path [openmrs] does not meet these criteria and has been changed to [/openmrs] | |
Aug 05, 2016 7:29:19 AM org.apache.coyote.AbstractProtocol init | |
INFO: Initializing ProtocolHandler ["http-nio-8050"] | |
Aug 05, 2016 7:29:19 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector | |
INFO: Using a shared selector for servlet write/read | |
Aug 05, 2016 7:29:19 AM org.apache.catalina.core.StandardService startInternal | |
INFO: Starting service Tomcat | |
Aug 05, 2016 7:29:19 AM org.apache.catalina.core.StandardEngine startInternal |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
## ------------------ | |
## Bahmni Code Repos | |
## ------------------ | |
echo "Creating folder: bahmni-global" | |
mkdir bahmni-global | |
cd bahmni-global/ |