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
| #!/bin/bash | |
| ################################################################################################################################### | |
| # This script installs Motherbrain and Chef-zero on the sane machine and creates ~/.mb/config.json and ~/chef-repo/.chef/knife.rb | |
| # configuration files | |
| # | |
| # | |
| ################################################################################################################################### | |
| if rpm -q chefdk; then | |
| echo "Chef DK already installed" |
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
| service 'apache2' do | |
| action :restart | |
| not_if 'echo `uptime | awk '{print $9}'`'>30'| bc' | |
| end |
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
| #### Install Info | |
| default["eucalyptus"]["install-type"] = "packages" | |
| ### Package repo info | |
| default["eucalyptus"]["eucalyptus-repo"] = "http://downloads.eucalyptus.com/software/eucalyptus/4.0/centos/6/x86_64/" | |
| default["eucalyptus"]["euca2ools-repo"] = "http://downloads.eucalyptus.com/software/euca2ools/3.1/centos/6/x86_64/" | |
| default["eucalyptus"]["enterprise-repo"] = "" | |
| default["eucalyptus"]["eucalyptus-gpg-key"] = "http://www.eucalyptus.com/sites/all/files/c1240596-eucalyptus-release-key.pub" | |
| default["eucalyptus"]["euca2ools-gpg-key"] = "http://www.eucalyptus.com/sites/all/files/c1240596-eucalyptus-release-key.pub" | |
| default["eucalyptus"]["epel-rpm"] = "http://downloads.eucalyptus.com/software/eucalyptus/3.4/centos/6/x86_64/epel-release-6.noarch.rpm" |
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
| # Software License Agreement (BSD License) | |
| # | |
| # Copyright (c) 2009-2011, Eucalyptus Systems, Inc. | |
| # All rights reserved. | |
| # | |
| # Redistribution and use of this software in source and binary forms, with or | |
| # without modification, are permitted provided that the following conditions | |
| # are met: | |
| # | |
| # Redistributions of source code must retain the above |
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
| #!/bin/bash | |
| # | |
| # configure vlan for Private VM network | |
| # | |
| IP=`ifconfig em1 | grep "inet " | awk '{ print $2 }' | awk '{sub("addr:","")}1'` | |
| Octet3=`echo $IP | cut -d"." -f3` | |
| Octet4=`echo $IP | cut -d"." -f4` | |
| NewOctet3=$((Octet3 + 100)) | |
| IPADDR="172.16".$Octet3"."$Octet4 |
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
| # Software License Agreement (BSD License) | |
| # | |
| # Copyright (c) 2009-2011, Eucalyptus Systems, Inc. | |
| # All rights reserved. | |
| # | |
| # Redistribution and use of this software in source and binary forms, with or | |
| # without modification, are permitted provided that the following conditions | |
| # are met: | |
| # | |
| # Redistributions of source code must retain the above |
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
| # Software License Agreement (BSD License) | |
| # | |
| # Copyright (c) 2009-2014, Eucalyptus Systems, Inc. | |
| # All rights reserved. | |
| # | |
| # Redistribution and use of this software in source and binary forms, with or | |
| # without modification, are permitted provided that the following conditions | |
| # are met: | |
| # | |
| # Redistributions of source code must retain the above |
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
| Listen 0.0.0.0:8888 | |
| <VirtualHost *:8888> | |
| ProxyRequests off | |
| ServerName d-12.qa1.eucalyptus-systems.com | |
| <Proxy balancer://mycluster> | |
| BalancerMember http://10.111.5.137:8888 | |
| BalancerMember http://10.111.5.138:8888 | |
| Order Deny,Allow | |
| Deny from none |
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
| global | |
| log 127.0.0.1 local2 | |
| chroot /var/lib/haproxy | |
| pidfile /var/run/haproxy.pid | |
| maxconn 4000 | |
| user haproxy | |
| group haproxy | |
| daemon |
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
| { | |
| "eucalyptus": { | |
| "yum-options": "--nogpg", | |
| "eucalyptus-repo": "http://downloads.eucalyptus.com/software/eucalyptus/nightly/4.0/centos/6/x86_64/", | |
| "euca2ools-repo": "http://downloads.eucalyptus.com/software/euca2ools/nightly/3.1/centos/6/x86_64/", | |
| "install-load-balancer": false, | |
| "install-imaging-worker": false, | |
| "topology": { | |
| "clc-1": "10.0.1.188", | |
| "walrus": "10.0.1.188", |