Skip to content

Instantly share code, notes, and snippets.

changed: [vm_local] => (item=caffeine) => {"changed": true, "item": "caffeine", "msg": "Cask installed: caffeine"}
7679 1507290416.91082: Loading TestModule 'mathstuff' from /Library/Python/2.7/site-packages/ansible/plugins/test/mathstuff.py (found_in_cache=True, class_only=False)
7679 1507290416.91218: Loading Connection 'ssh' from /Library/Python/2.7/site-packages/ansible/plugins/connection/ssh.py (found_in_cache=True, class_only=False)
7679 1507290416.91242: Loading ShellModule 'csh' from /Library/Python/2.7/site-packages/ansible/plugins/shell/csh.py (found_in_cache=True, class_only=False)
7679 1507290416.91251: Loading ShellModule 'fish' from /Library/Python/2.7/site-packages/ansible/plugins/shell/fish.py (found_in_cache=True, class_only=False)
7679 1507290416.91259: Loading ShellModule 'powershell' from /Library/Python/2.7/site-packages/ansible/plugins/shell/powershell.py (found_in_cache=True, class_only=False)
7679 1507290416.91266: Loading ShellModule 'sh' from /Library/Python/2.7/site-pack
changed: [vm_local] => (item=daisydisk) => {
"changed": true,
"invocation": {
"module_args": {
"install_options": [],
"name": [
"daisydisk"
],
"path": "/usr/local/bin",
"state": "present",
Traceback (most recent call last):
File "/opt/pootle/bin/pootle", line 11, in <module>
sys.exit(main())
File "/opt/pootle/lib/python2.7/site-packages/pootle/runner.py", line 357, in main
run_app(project='pootle', django_settings_module='pootle.settings')
File "/opt/pootle/lib/python2.7/site-packages/pootle/runner.py", line 338, in run_app
management.execute_from_command_line(command)
File "/opt/pootle/lib/python2.7/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
utility.execute()
File "/opt/pootle/lib/python2.7/site-packages/django/core/management/__init__.py", line 359, in execute

Keybase proof

I hereby claim:

  • I am daften on github.
  • I am daften (https://keybase.io/daften) on keybase.
  • I have a public key whose fingerprint is A04E 0BF2 1DC4 13BC 95A0 2069 586A 105F DCBA 6226

To claim this, I am signing this object:

robo-drupal-console git:(feature/codeclimate) ✗ docker run \
--interactive --tty --rm \
--env CODECLIMATE_DEBUG=1 \
--env CODECLIMATE_CODE="/code" \
--volume "$PWD":/code \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume /tmp/cc:/tmp/cc \
codeclimate/codeclimate analyze
Starting analysis
[DEBUG] phpcodesniffer:stable engine config: {"enabled":true,"config":{"standard":"PSR1,PSR2"},"include_paths":[".codeclimate.yml",".editorconfig",".gitignore",".scrutinizer.yml",".travis.yml","build/","composer.json","composer.lock","LICENSE","README.md","RoboFile.php","src/","tests/"]}
@daften
daften / gist:43182c8bb01cc5da7b6c69e70cbcd3d8
Created November 10, 2016 15:48
freaky ssh2 pecl package not found
[vagrant@jenkins-digipolis-berkshelf ~]$ sudo pecl search ssh2
Retrieving data...0%
no packages found that match pattern "ssh2", for channel pecl.php.net.
[vagrant@jenkins-digipolis-berkshelf ~]$ sudo pecl install ssh2
pecl/ssh2 is already installed and is the same as the released version 0.13
install failed
chef-repo
/ Berksfile
/ cookbooks
/ aegir3
/ Berksfile
/ metadata.rb
/ imindsx-aegir3-web
/ Berksfile
/ metadata.rb (with version pinning).
@daften
daften / Berksfile
Created November 1, 2016 20:11
Berksfile2
source "https://supermarket.chef.io"
cookbook 'aegir3', path: 'cookbooks/aegir3'
cookbook 'imindsx-base', path: 'cookbooks/imindsx-base'
cookbook 'imindsx-aegir3-web', path: 'cookbooks/imindsx-aegir3-web'
cookbook 'imindsx-aegir3-db', path: 'cookbooks/imindsx-aegir3-db'
cookbook 'apache-hardening', github: 'dev-sec/chef-apache-hardening', branch: 'master'
# cookbook 'nginx-hardening', github: 'dev-sec/chef-nginx-hardening', branch: 'master'
@daften
daften / Berksfile
Created November 1, 2016 19:43
Berksfile
source "https://supermarket.chef.io"
cookbook 'aegir3'
cookbook 'nginx-hardening', github: 'dev-sec/chef-nginx-hardening', branch: 'master', ref: '26b957dabd5a9313e6b8ebed0348d38766346bcc'
@daften
daften / guards.rb
Last active October 3, 2016 16:07
Guards for chef with or
Chef::Log.info(shell_out("#{node['composer']['bin']} show #{package} #{new_resource.version}").exitstatus)
execute 'Install-composer-for-single-project' do
cwd new_resource.project_dir
command "#{node['composer']['bin']} require #{package}:#{new_resource.version} #{dev} #{prefer_dist}"
environment ({
'COMPOSER_HOME' => Composer.home_dir(node),
'COMPOSER_BIN_DIR' => new_resource.bin_dir
})
action :run