This file contains 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
class hubspot::roles::jenkins::slave { | |
vcsrepo { 'heroku-buildpack-play': | |
ensure => latest, | |
provider => git, | |
source => $repos[heroku-buildpack-play][repo], | |
revision => $repos[heroku-buildpack-play][ref], | |
path => "${repos_dir}/${title}", | |
} |
This file contains 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
class roles::role_phantomjs inherits roles::role_procserver { | |
Class['::phantomjs'] { | |
manage_service => true | |
} | |
} |
This file contains 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
Error: Package: nodejs-npm-registry-client-0.2.28-1.el6.noarch (epel) | |
Requires: npm(request) >= 2.25.0 | |
Installing: nodejs-request-2.21.0-1.el6.noarch (epel) | |
npm(request) = 2.21.0 | |
You could try using --skip-broken to work around the problem | |
You could try running: rpm -Va --nofiles --nodigest |
This file contains 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
puppetVar: | |
- "hs_environment=qa" | |
- "creator=tmclaughlin" | |
- "data_center=iad01" | |
- "instance_id=i-25d4f74a" | |
- "tenant=prod" | |
- "provider=amazon" | |
- "security_group=default" | |
- "os=centos6" | |
- "rack=us-east-1e" |
This file contains 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
# Rake wrapper around Vagrant. | |
# | |
# The intended usage is as follows | |
# $ rake vagrant:init[<branch_name>] | |
# | |
# This will create a vagrant instance named <branch_name>. It will also | |
# ensure that the puppet-deploy tree is on the same branch and that Puppet | |
# librarian has been run. | |
# | |
# TODO |
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# | |
# TODO | |
# - Current box is broken. Need to remove v.name setting hardcoding the box | |
# name. This breaks parallelization. | |
VG_ROLE = ENV['VG_ROLE'] || "hubspot::roles::role_basenode" | |
INST_HOME = ENV['VG_INST_HOME'] || File.dirname(__FILE__) | |
INST_NAME = ENV['VG_INST_NAME'] || INST_HOME.split(File::SEPARATOR)[-1] |
This file contains 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
# Rake wrapper around Vagrant. | |
# | |
# The intended usage is as follows | |
# $ rake vagrant:init[<branch_name>] | |
# | |
# This will create a vagrant instance named <branch_name>. It will also | |
# ensure that the puppet-deploy tree is on the same branch and that Puppet | |
# librarian has been run. | |
# | |
# TODO |
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# | |
$vg_role = ENV['VG_ROLE'] || "hubspot::roles::role_basenode" | |
$vg_profile = ENV['VG_PROFILE'] || '' | |
$inst_home = ENV['VG_INST_HOME'] || File.dirname(__FILE__) | |
$inst_name = ENV['VG_INST_NAME'] || $inst_home.split(File::SEPARATOR)[-1] | |
$vm_box = ENV['VG_VM_BOX'] || "CentOS-6.5-x86_64-201407100058" | |
$hostname = ENV['VG_HOSTNAME'] || "%s.hubspot.local" % $inst_name |
This file contains 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
Vagrant.configure('2') do |config| | |
config.vm.define "nginx-lb", primary: true do |nginx| | |
nginx.vm.hostname = 'lb.hubspot.local' | |
nginx.vm.provision :puppet_server, id: 'default_puppet_server' do |p| | |
p.puppet_server = "puppetmaster.hubspot.local" | |
p.options = "--verbose --waitforcert 120" | |
p.facter = { 'role' => 'hubspot::roles::puppet::role_puppetmaster', | |
'hs_lb_type' => $hs_lb_type, | |
'hs_server_names' => $hs_server_names |
This file contains 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
[root@c6 ~]# fdisk -lu mnt/images/aws-paravirt/CentOS-6.5-x86_64-1410576856-paravirt.img | |
You must set cylinders. | |
You can do this from the extra functions menu. | |
Disk mnt/images/aws-paravirt/CentOS-6.5-x86_64-1410576856-paravirt.img: 0 MB, 0 bytes | |
255 heads, 63 sectors/track, 0 cylinders, total 0 sectors | |
Units = sectors of 1 * 512 = 512 bytes | |
Sector size (logical/physical): 512 bytes / 512 bytes | |
I/O size (minimum/optimal): 512 bytes / 512 bytes | |
Disk identifier: 0x0002d42f |
OlderNewer