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
| node "frontend[0-9]+" inherits frontends { | |
| } | |
| node frontends { | |
| /* | |
| One rule to manage them all: | |
| - create path /var/www/comunebello2013/web on front-end's localstorage | |
| - create shared path on /storage/www/comunebello2013 | |
| - pull the code from tag '2.0' in git://myrepos/openpa/ezcore... or svn://... |
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
| # Ubuntu Kickstart file for Ubuntu 12.04 on XenServer | |
| # | |
| # Source: http://invalidlogic.com/2012/05/01/deploying-ubuntu-12-04-on-xenserver-made-easy/ | |
| # | |
| # Usage: | |
| # simply add | |
| # ks=http://url/to/your/kickstart | |
| # to the beginning part of “advanced OS boot parameters” option when selecting the installation media. | |
| # |
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am lorello on github. | |
| * I am lorello (https://keybase.io/lorello) on keybase. | |
| * I have a public key whose fingerprint is D3AC 0480 E6FF 82F9 13D5 56BD 4F84 A064 DCAB 3226 | |
| To claim this, I am signing this object: |
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
| DOMAIN=$1 | |
| PEMPATH=/var/db/dkim | |
| cd $PEMPATH | |
| amavisd-new genrsa $DOMAIN.key.pem | |
| chown amavis:amavis $PEMPATH/$DOMAIN.key.pem | |
| echo "Add to /etc/amavis/conf.d/51-dkim" |
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
| #!/bin/bash | |
| # | |
| # Disable UFW | |
| ufw disable | |
| # Cleanup to shrink vagrant images. | |
| #apt-get update | |
| #apt-get upgrade -y | |
| apt-get -y autoremove | |
| apt-get -y clean | |
| dd if=/dev/zero of=/EMPTY bs=1M |
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
| Exec { | |
| path => $path, | |
| } | |
| file { '/home/gitlab-runner': | |
| ensure => directory, | |
| }-> | |
| user { 'gitlab-runner': | |
| shell => '/bin/false', |
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
| apt-add-repository ppa:brightbox/ruby-ng | |
| apt-get install git curl vim unattended-upgrades build-essential ruby2.1 ruby-switch ruby2.1-dev libxml2-dev libxslt-dev zlib1g-dev | |
| ruby-switch --set ruby2.1 | |
| gem install bundle rake | |
| # libgecode 4.x broken on trusty | |
| apt-get install -y -q libqtcore4 libqtgui4 libqt4-dev libboost-dev | |
| wget "http://us.archive.ubuntu.com/ubuntu/pool/universe/g/gecode/libgecode30_3.7.1-3_amd64.deb" | |
| wget "http://us.archive.ubuntu.com/ubuntu/pool/universe/g/gecode/libgecode-dev_3.7.1-3_amd64.deb" | |
| wget "http://us.archive.ubuntu.com/ubuntu/pool/universe/g/gecode/libgecodegist30_3.7.1-3_amd64.deb" |
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
| #!/usr/bin/env bash | |
| set -e | |
| OLDREV=$1 | |
| NEWREV=$2 | |
| run() { | |
| [ -x $1 ] && $1 $OLDREV $NEWREV | |
| } |
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
| #!/bin/bash | |
| # Setup ricette vagrant su una macchina non vagrant | |
| # | |
| # mi aspetto di fare il clone di repository stile vagrant | |
| # | |
| # /Puppetfile | |
| # /setup/manifests/default.pp | |
| # /setup/modules | |
| # /setup/hiera/*.yaml | |
| # |
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
| +---------+-------------------------------------------------+-------+ | |
| | Method | Description | Sec. | | |
| +---------+-------------------------------------------------+-------+ | |
| | GET | Transfer a current representation of the target | 4.3.1 | | |
| | | resource. | | | |
| | HEAD | Same as GET, but only transfer the status line | 4.3.2 | | |
| | | and header section. | | | |
| | POST | Perform resource-specific processing on the | 4.3.3 | | |
| | | request payload. | | | |
| | PUT | Replace all current representations of the | 4.3.4 | |
OlderNewer