Skip to content

Instantly share code, notes, and snippets.

View dougmarcey's full-sized avatar

Doug Marcey dougmarcey

  • Northern VA, USA
  • 10:34 (UTC -04:00)
View GitHub Profile
~/Documents/development/devcloud-public-proxy/vagrant   master  vagrant up
There were warnings and/or errors while loading your Vagrantfile.
Your Vagrantfile was written for an earlier version of Vagrant,
and while Vagrant does the best it can to remain backwards
compatible, there are some cases where things have changed
significantly enough to warrant a message. These messages are
shown below.
Warnings:
* `config.vm.customize` calls are VirtualBox-specific. If you're
~/Documents/development/devcloud-public-proxy/vagrant   master ●  vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'ubuntu-cloud-1204'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
class php::nginx (
$shm_size = $php::params::shm_size,
$service_name = "php-fpm"
) inherits php::params {
package { [ "php53u-fpm" ] : }
service { "php-fpm":
name => "php-fpm",
ensure => running,
#!/usr/bin/env node
var path = require("path"),
fs = require("fs"),
dsv = require("dsv"),
optimist = require("optimist"),
queue = require("queue-async"),
topojson = require("topojson"),
jsts = require("jsts"),
d3 = require("d3");
class hbs::nginxdrupal (
$hostname = $fqdn
){
$loggingoffallow = {
log_not_found => "off",
access_log => "off",
allow => "all"
}
$denyall = {
class hbs::nginxnode (
$hostname = $fqdn
){
nginx::resource::upstream { 'hbsnode':
ensure => present,
members => [
'localhost:4000'
],
require => Nginx::Resource::Vhost[$hostname]
}
class hbs::nginxdrupal (
$hostname = $fqdn
){
$loggingoffallow = {
log_not_found => "off",
access_log => "off",
allow => "all"
}
$denyall = {
class hbs::solr {
service { "tomcat6":
name => "tomcat6",
ensure => running,
enable => true,
require => Package["tomcat6"],
}
package { ['tomcat6', 'tomcat6-webapps', 'tomcat6-admin-webapps', 'wget']:
#!/bin/bash
sudo rpm -Uvh http://yum.puppetlabs.com/el/6/products/i386/puppetlabs-release-6-7.noarch.rpm
sudo rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/epel-release-6-5.noarch.rpm
sudo rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-11.ius.centos6.noarch.rpm
sudo yum clean all
remove=""
if rpm -Vi Percona-Server-shared-51; then
remove="${remove} Percona-Server-shared-51"
fi
#!/bin/bash
sudo rpm -Uvh http://yum.puppetlabs.com/el/6/products/i386/puppetlabs-release-6-7.noarch.rpm
sudo yum clean all
sudo yum install -y puppet
remove=""
if rpm -Vi Percona-Server-shared-51; then
remove="${remove} Percona-Server-shared-51"
fi