This file contains 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
DEVICE=br-ex | |
DEVICETYPE=ovs | |
TYPE=OVSBridge | |
BOOTPROTO=static | |
IPADDR=172.24.4.10 | |
GATEWAY=172.24.4.1 | |
DNS1=172.24.4.1 | |
NETMASK=255.255.255.240 | |
ONBOOT=yes |
This file contains 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
➜ my_store bundle | |
Using rake (10.3.0) | |
Using Ascii85 (1.0.2) | |
Using i18n (0.6.9) | |
Using minitest (4.7.5) | |
Using multi_json (1.9.2) | |
Using thread_safe (0.3.3) | |
Using tzinfo (0.3.39) | |
Using activesupport (4.0.4) | |
Using builder (3.1.4) |
This file contains 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
<p id="notice"><%= notice %></p> | |
<p> | |
<strong>Name:</strong> | |
<%= @project.name %> | |
</p> | |
<%= @project.item.content %> | |
<%= link_to 'Edit', edit_project_path(@project) %> | |
This file contains 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
import time | |
from fabric.api import * | |
env.hosts = ['ubuntu@test-server-01:22'] | |
env.roledefs = {"test":["test-server-01"], | |
"production":["production-server"]} | |
@roles("test") |
This file contains 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
import time | |
from fabric.api import * | |
#env.hosts = ['ubuntu@chef-server-01:22'] | |
env.roledefs = {"test":["chef-client-01"], | |
"production":["production-server"]} | |
@roles("test") |
This file contains 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
import time | |
from fabric.api import * | |
env.roledefs = {"test":["test-server-01"], | |
"production":["production-server"]} | |
def deploy(): | |
code_dir = '/var/www/html/RTV2' |
This file contains 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
__author__ = 'hypnosb' | |
import os | |
from base import * | |
from testing import * | |
#ENVIRONMENT = os.getenv("DJANGO_ENVIRONMENT") | |
ENVIRONMENT='development' | |
if ENVIRONMENT == "production": |
This file contains 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
Traceback (most recent call last): | |
File "manage.py", line 10, in <module> | |
execute_from_command_line(sys.argv) | |
File "/Library/Python/2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line | |
utility.execute() | |
File "/Library/Python/2.7/site-packages/django/core/management/__init__.py", line 392, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/Library/Python/2.7/site-packages/django/core/management/__init__.py", line 261, in fetch_command | |
commands = get_commands() | |
File "/Library/Python/2.7/site-packages/django/core/management/__init__.py", line 107, in get_commands |
This file contains 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/sh | |
cd /var/www/html/rtv2 | |
git checkout master | |
git pull origin master |
This file contains 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
import os | |
from base import * | |
#ENVIRON = os.getenv("DJANGO_ENVIRONMENT") | |
ENVIRON = "develop" | |
if ENVIRON == "develop": | |
from develop import * | |
elif ENVIRON == "staging": |
OlderNewer