Skip to content

Instantly share code, notes, and snippets.

View omega8cc's full-sized avatar

BOA Dev Team omega8cc

View GitHub Profile
o1@v229a:~$ drush provision-save @server_master -d
Found command: provision-save (commandfile=provision) [0.05 sec, 6.65 MB] [bootstrap]
Initializing drush commandfile: drush_make [0.05 sec, 6.66 MB] [bootstrap]
Initializing drush commandfile: drush_make_d_o [0.05 sec, 6.66 MB] [bootstrap]
Initializing drush commandfile: provision [0.05 sec, 6.66 MB] [bootstrap]
Load alias @self [0.05 sec, 6.67 MB] [notice]
Load alias @server_master [0.05 sec, 6.67 MB] [notice]
Loading mysql driver for the db service [0.05 sec, 6.69 MB] [notice]
Loading nginx driver for the http service [0.05 sec, 6.7 MB] [notice]
Executing: /usr/sbin/nginx -V [0.05 sec, 6.72 MB]
<?php
print 'if ($http_x_forwarded_proto ~ "https") {';
print ' include ' . $server->include_path . '/fastcgi_ssl_params.conf;';
print '}';
print 'if ($http_x_forwarded_proto !~ "https") {';
print ' include ' . $server->include_path . '/fastcgi_params.conf;';
print '}';
?>
pilot2:~# su -s /bin/bash - pilot2
pilot2@pilot2:~$ cd /data/disk/pilot2/distro03
pilot2@pilot2:~/distro03$ ls
jetset01 jetset-old jetsetold2 jumpjet01 jumpjet1 moolah pilotjumbo03 pilotjumbo_build.make
pilot2@pilot2:~/distro03$ drush make http://github.com/pilotinternet/jumpjet/raw/master/jumpjet_build_jumbo.make jumpjet-jumbo
Project information for cck retrieved. [ok]
Project information for views retrieved. [ok]
Project information for token retrieved. [ok]
Project information for pathauto retrieved.
server {
limit_conn gulag 10;
listen 111.111.111.111:80;
server_name www.domain.com domain.com;
root /var/aegir/platforms/pressflow-6.19.92;
index index.php index.html;
# Redirect any direct requests to the new URI
#
location ~* /files/outreach/ {
server {
limit_conn gulag 10;
listen 111.111.111.111:80;
server_name www.domain.com domain.com;
root /var/aegir/platforms/pressflow-6.19.92;
index index.php index.html;
# Redirect any direct requests to the new URI
#
location ~* /sites/domain\.com/files/outreach/ {
if (isset($_SERVER['HTTP_HOST'])) {
$thishost = $_SERVER['HTTP_HOST'];
if(preg_match("/(\.dev)/", $thishost)) {
$conf['cache'] = '0';
}
}
# limit sql access
/sbin/iptables -N sqlchain
/sbin/iptables -A INPUT -p 6 --dport 3306 -j sqlchain
/sbin/iptables -A sqlchain -s 12.34.56.78 -j ACCEPT
/sbin/iptables -A sqlchain -s 21.43.65.88 -j ACCEPT
/sbin/iptables -A sqlchain -j DROP
# limit sql access
HOSTIP=`hostname -i`
/sbin/iptables -N sqlchain
/sbin/iptables -A INPUT -p tcp --dport 3306 -j sqlchain
/sbin/iptables -A sqlchain -s $HOSTIP -j ACCEPT
/sbin/iptables -A sqlchain -s 127.0.0.1 -j ACCEPT
/sbin/iptables -A sqlchain -j DROP
Found command: provision-save (commandfile=provision) [0.07 sec, 7.26 MB] [bootstrap]
Initializing drush commandfile: drush_make [0.07 sec, 7.27 MB] [bootstrap]
Initializing drush commandfile: drush_make_d_o [0.07 sec, 7.27 MB] [bootstrap]
Initializing drush commandfile: provision [0.07 sec, 7.28 MB] [bootstrap]
Load alias @self [0.07 sec, 7.28 MB] [notice]
Array [notice]
(
)
[0.07 sec, 7.29 MB]
Undefined variable: results provision.context.inc:361 [0.07 sec, 7.29 MB] [notice]
Do you want to upgrade core Aegir Hostmaster instance? [Y/n] y
==> Fri Nov 19 05:07:41 UTC 2010 INFO: Running core Aegir Hostmaster instance upgrade
==> Fri Nov 19 05:07:45 UTC 2010 UPGRADE INFO: Simple check if previous Hostmaster version was a valid install
==> Fri Nov 19 05:07:45 UTC 2010 UPGRADE INFO: Test OK, we can proceed with the Hostmaster upgrade
==> Fri Nov 19 05:07:46 UTC 2010 UPGRADE INFO: Drush seems to be functioning properly
==> Fri Nov 19 05:07:47 UTC 2010 UPGRADE INFO: Installing provision backend in /var/aegir/.drush
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.1 sec, 4.36 MB] [bootstrap]
Loading drushrc "/var/aegir/hostmaster-HEAD/drushrc.php" into "drupal" scope. [0.1 sec, 4.36 MB] [bootstrap]
Initialized Drupal 6.19 root directory at /var/aegir/hostmaster-HEAD [0.11 sec, 5.12 MB] [notice]
Found command: hostmaster-migrate (commandfile=provision) [0.13 s