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
class clipboardjs::params { | |
# reasonable defaults | |
$enable_metrics = 'false' | |
$listen_port = '3000' | |
$search_log = '/path/to/log.log' | |
$session_cookie = 'asdf' | |
$staticBaseUrl = '' | |
$version_file = '/path/to/some/file' | |
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
{ | |
"enableMetrics" : <%= clipboardjs::params::enable_metrics %>, | |
"listenPort" : <%= clipboardjs::params::listen_port %>, | |
"mixpanelToken" : "<%= clipboardjs::params::mixpanel_token %>", | |
"searchLog" : "<%= clipboardjs::params::search_log %>", | |
"sessionCookie" : "<%= clipboardjs::params::session_cookie %>", | |
"staticBaseUrl" : "<%= clipboardjs::params::static_baseUrl %>", | |
"versionFile" : "<%= clipboardjs::params::version_file %>" | |
} |
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
class clipboard::nginx { | |
include clipboard::params | |
require clipboard-src::release | |
file { ${clipboard::params::site_path}: | |
ensure => "directory", | |
owner => "clipboard", | |
group => "clipboard", | |
} | |
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
root@dev:/puppet/manifests# /usr/bin/gem install --include-dependencies --no-rdoc --no-ri ruby-shadow | |
INFO: `gem install -y` is now default and will be removed | |
INFO: use --ignore-dependencies to install only the gems you list | |
Building native extensions. This could take a while... | |
ERROR: Error installing ruby-shadow: | |
ERROR: Failed to build gem native extension. | |
/usr/bin/ruby1.8 extconf.rb | |
extconf.rb:7:in `require': no such file to load -- mkmf (LoadError) | |
from extconf.rb:7 |
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
dev: { | |
$base_url = 'dev.clpbrd.com' | |
$memcached_servers = '["${bindMemcachedAddress}:11211"]' | |
$riak_host = '${bindRiakAddress}' | |
$redis_servers = '[{"host":"${bindRedisAddress}", port: 6379}]' | |
$secure_baseUrl = $base_url | |
} |
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
{"active":{"default":"75538c3b-6052-4379-bc87-57b0f86dfd6e"}} | |
this is the .vagrant file |
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
# /etc/puppet/puppet.conf | |
[main] | |
logdir=/var/log/puppet | |
vardir=/var/lib/puppet | |
ssldir=/var/lib/puppet/ssl | |
rundir=/var/run/puppet | |
factpath=$vardir/lib/facter | |
templatedir=$confdir/templates |
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
[main] | |
server=puppet.chicago.il.private.mgmt.clpbrd.com | |
environment=prod | |
pluginsync=true | |
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
root@puppet:/etc/puppet mgmt # ll /etc/puppet/environments/stage/manifests | |
total 48 | |
drwxr-xr-x 2 root root 4096 Dec 10 00:35 ./ | |
drwxr-xr-x 4 root root 4096 Dec 10 00:35 ../ | |
-rw-r--r-- 1 root root 422 Dec 10 00:35 clipboard-onebox-base.pp | |
-rw-r--r-- 1 root root 2834 Dec 10 00:35 clipboard-onebox.pp | |
-rw-r--r-- 1 root root 490 Dec 10 00:35 custom.pp | |
-rw-r--r-- 1 root root 1782 Dec 10 00:35 defaults.pp | |
-rw-r--r-- 1 root root 1809 Dec 10 00:35 mgmt.pp | |
-rw-r--r-- 1 root root 4780 Dec 10 00:35 prod.pp |
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
root@dev:/home/clipboard/tmp# npm install emailjs | |
> [email protected] preinstall /home/clipboard/tmp/node_modules/emailjs/node_modules/buffertools | |
> ./build-wrapper | |
Traceback (most recent call last): | |
File "/usr/local/bin/node-waf", line 14, in <module> | |
import Scripting | |
ImportError: No module named Scripting | |
npm ERR! error installing [email protected] Error: [email protected] preinstall: `./build-wrapper` |