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
| jsas@domU-12-31-39-02-1D-0F:~/staging/shared/cached-copy$ bundle install --deployment --path ../bundle --without test development | |
| Fetching source index for http://rubygems.org/ | |
| Using rake (0.9.2) | |
| Using ZenTest (4.6.0) | |
| Using RubyInline (3.9.0) | |
| Using activesupport (2.3.12) | |
| Using rack (1.1.2) | |
| Using actionpack (2.3.12) | |
| Using actionmailer (2.3.12) | |
| Using activerecord (2.3.12) |
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
| import os | |
| def efene_build(target, source, env): | |
| if len(target) == 0: | |
| raise StandardError('No targets!') | |
| if len(target) != len(source): | |
| raise StandardError('Source list and target list different lengths!') | |
| for t in target: | |
| target_dir, target_base = os.path.split(str(t)) | |
| target_name, target_ext = os.path.splitext(target_base) |
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
| import os | |
| def efene_build(env, sources): | |
| cmds = [] | |
| for file in sources: | |
| filename = os.path.basename(str(file)) | |
| base, ext = os.path.splitext(filename) | |
| if ext not in [".fn", ".ifn"]: | |
| raise StandardError("Invalid Efene source file extension for %s" % filename) | |
| cmds.append(env.Command( |
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
| mysql> describe preloaded_trigrams; | |
| +----------------------+-----------+------+-----+---------+-------+ | |
| | Field | Type | Null | Key | Default | Extra | | |
| +----------------------+-----------+------+-----+---------+-------+ | |
| | token | binary(3) | NO | PRI | NULL | | | |
| | fuzzy_search_type_id | int(11) | NO | PRI | NULL | | | |
| | rec_id | int(11) | NO | PRI | NULL | | | |
| +----------------------+-----------+------+-----+---------+-------+ | |
| 3 rows in set (0.00 sec) |
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
| - name: install haproxy required packages | |
| apt: pkg=libssl0.9.8 | |
| # We can't use the regular Ubuntu packages because they only go up to | |
| # haproxy 1.4, which does not have SSL support | |
| - name: download haproxy deb file | |
| get_url: url=http://debian.byte-consult.be/haproxy_1.5-dev17_amd64.deb | |
| dest=/root/haproxy.deb | |
| - name: install haproxy |
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
| - name: sync repository to target system | |
| local_action: "command rsync -a -e ssh ${ENV(HOME)}/.ansible-cache-${name} | |
| ubuntu@${ansible_hostname}:/home/ubuntu/ansible-cache-${name}" | |
| TASK: [sync repository to target system] ********************* |
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
| - name: sync repository to target system | |
| local_action: command rsync -a -e ssh ${ENV(HOME)}/.ansible-cache-${name} | |
| ubuntu@${ansible_hostname}:/home/ubuntu/ansible-cache-${name} | |
| TASK: [sync repository to target system] ********************* | |
| failed: [beatbox.actesting.org] => {"changed": true, "cmd": ["rsync", "-a", "-e", "ssh", "${ENV(HOME)}/.ansible-cache-${name}", "ubuntu@${ansible_hostname}:/home/ubuntu/ansible-cache-${name}"], "delta": "0:00:00.015967", "end": "2013-03-26 16:47:53.852129", "item": "", "rc": 255, "start": "2013-03-26 16:47:53.836162"} |
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
| - hosts: beatbox.actesting.org | |
| tasks: | |
| - name: sync repository to target system | |
| local_action: command rsync -a -e ssh ${ENV(HOME)}/.ansible-cache-${name} | |
| ubuntu@${inventory_hostname}:/home/ubuntu/ansible-cache-${name} | |
| vars: | |
| name: foo |
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
| - name: install haproxy required packages | |
| apt: pkg=libssl0.9.8 | |
| # We can't use the regular Ubuntu packages because they only go up to | |
| # haproxy 1.4, which does not have SSL support | |
| - name: download haproxy deb file | |
| get_url: url=http://debian.byte-consult.be/haproxy_1.5-dev17_amd64.deb | |
| dest=/root/haproxy.deb | |
| - name: install haproxy |
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 local0 | |
| chroot /home/haproxy | |
| user haproxy | |
| group haproxy | |
| daemon | |
| #debug | |
| #quiet | |
| defaults |
OlderNewer