You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

User:Hydriz

From Wikitech-static
Jump to navigation Jump to search

Hi! I am Hydriz, and I am from the Wikimedia Incubator. I am currently part of the Incubator project of Wikimedia Labs, aiming to improve the usability of the Incubator and the testing of new features that will improve the development of test wikis on the Wikimedia Incubator.

I am also involved in transferring Wikimedia Dumps to the Internet Archive.

Force puppet to run

Force puppet to run after you have applied a class:

sudo -i puppet agent -t

Project default limits

  • metadata_items: 128
  • volumes: 10
  • gigabytes: 1000
  • ram: 51200
  • security_group_rules: 20
  • instances: 10
  • security_groups: 10
  • injected_file_content_bytes: 10240
  • floating_ips: 0
  • injected_files: 5
  • cores: 20

IRC echo (i.e. log)

Add this to /bin/log of the new instance:

#!/bin/sh

project=<project>

if [ "$project" = "" ];then
        echo "Undefined project"
        exit 0
fi
if [ "$1" = "" ]; then
        echo "No message was logged"
        exit 1
fi

echo "$project `whoami`: [`uname -n`] $*" | nc bots-labs 55252
echo "Message logged"