Inspired mostly from the Bootstrap DS215j blog post
# Create a directory that won't get nuked during DSM security updates
mkdir /volume1/@optware
cd /volume1/@optware
Inspired mostly from the Bootstrap DS215j blog post
# Create a directory that won't get nuked during DSM security updates
mkdir /volume1/@optware
cd /volume1/@optware
require 'capistrano/setup' | |
require 'capistrano/deploy' | |
require 'capistrano/rvm' | |
require 'capistrano/rails' | |
require "capistrano-resque" | |
Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r } |
I hereby claim:
To claim this, I am signing this object:
Looks like the OpenSSL conf (~/opt/stow/openssl-1.0.1c/ssl/openssl.cnf) has a setting for:
certs = $dir/cacert.pem # Certificate chain to include in reply
# (optional)
As a result:
# Dynamically load gem sources from YAML config file | |
require 'yaml' | |
# See if we have a custom gem_sources.yml file, if not use the .example default. | |
if File.exist? File.expand_path("../config/gem_sources.yml", __FILE__) | |
gem_sources_file = File.expand_path("../config/gem_sources.yml", __FILE__) | |
puts "NOTE: Using the following gem sources from `config/gem_sources.yml`:" | |
@custom_gem_source = true | |
else | |
gem_sources_file = File.expand_path("../config/gem_sources.yml.example", __FILE__) | |
end |
# {{root_path}}/group_vars/all.yml | |
--- | |
src_bash: "source {{HOME.stdout}}/.bashrc;" |
--- | |
- name: Unpack JDK7 | |
action: command creates=${jvm_folder}/jdk1.7.0 chdir=${jvm_folder} tar zxvf ${jvm_folder}/$jdk_archive --owner=root | |
register: jdk_installed | |
only_if: "'$ansible_pkg_mgr' == 'apt'" | |
- name: Install JDK7 RPM package | |
action: command creates=${jvm_folder}/latest chdir=${jvm_folder} rpm --force -Uvh ${jvm_folder}/$jdk_archive | |
register: jdk_installed | |
only_if: "'$ansible_pkg_mgr' == 'yum'" |
$ vagrant provision | |
[default] Running provisioner: ansible... | |
PLAY [all] ******************************************************************** | |
GATHERING FACTS *************************************************************** | |
<33.33.33.10> REMOTE_MODULE setup | |
failed: [33.33.33.10] => {"failed": true, "parsed": false} | |
invalid output was: Traceback (most recent call last): | |
File "/tmp/ansible-1384455237.04-1936301366699/setup", line 98, in ? |
hdiutil convert -format UDRW -o ~/Downloads/SL.59.020213.CD.x86_64.disc1.img /Users/steven/Downloads/SL.59.020213.CD.x86_64.disc1.iso | |
diskutil list | |
diskutil unmountDisk /dev/disk2 | |
sudo dd if=~/Downloads/SL.59.020213.CD.x86_64.disc1.img.dmg of=/dev/disk2 bs=1m | |
diskutil eject /dev/disk2 |