Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
$ pip freeze
Warning: cannot find svn location for distribute==0.6.24dev-r0
Django==1.5c1
GnuPGInterface==0.3.2
PIL==1.1.7
apt-xapian-index==0.44
argparse==1.2.1
chardet==2.0.1
command-not-found==0.2.44
## FIXME: could not find svn URL in dependency_links for this package:
# == Class: ntp
#
# A basic module to manage NTP
#
# === Parameters
# [*version*]
# The package version to install
#
# [*ntpservers*]
# An array of NTP servers to use on this node
web_config.vm.provision :puppet, :options => "--verbose --debug" do |web_puppet|
web_puppet.module_path = "puppet/modules"
web_puppet.manifests_path = "puppet/manifests"
web_puppet.manifest_file = "web.pp"
end
@kerin
kerin / gist:4594819
Last active December 11, 2015 11:38
Vagrantfile:
Vagrant::Config.run do |config|
config.vm.define :web do |web_config|
web_config.vm.provision :puppet, :options => "--verbose --debug" do |web_puppet|
web_puppet.module_path = "puppet/modules"
web_puppet.manifests_path = "puppet/manifests"
web_puppet.manifest_file = "web.pp"
end
The content description model must be able to represent the following concepts:
1)    A simple programme.
2)    A programme with a number of different versions (e.g. edits for sex/violence/language, director's cut, etc.).
3)    A programme that has been divided into a number of parts for publication (e.g. a 3 h film shown in 2 parts on different days).
4)    A programme that is a concatenation of a sequence of other programmes identified as an aggregated programme.
5)    A series of programmes that can be ordered (e.g. episodes in a numerical order) or unordered and bounded or unbounded.
6)    A collection of series and individual programmes that have the same programme concept - i.e. a show (e.g. all series of "Only Fools and Horses" together with the Christmas specials).
7)    A publication of a programme that may have publication dependent attributes (e.g. a film showing as tribute to a recently deceased actor which would have a different description).
include "ostsite_web"
include "ostsite_db"
node "web" {
class{"ostsite_web":
owner => "vagrant",
group => "vagrant",
venv_path => "/usr/local/venv/ostsite",
requirements_path => "/vagrant/requirements.txt",
django_root => "/vagrant/django",
include "apt-update"
class ostsite_db($root_password, $user_name, $user_password){
class { 'mysql::server':
config_hash => {
'root_password' => $root_password,
'bind_address' => '0.0.0.0'
}
}
#!/bin/sh
### BEGIN INIT INFO
# Provides: gunicorn-ostsite
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Should-Start: $all
# Should-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
CRC: 0x333CC1AA File: movies.list Date: Fri Apr 5 00:00:00 2013
Copyright 1991-2013 The Internet Movie Database Ltd. All rights reserved.
http://www.imdb.com
movies.list
5 Apr 2013