Skip to content

Instantly share code, notes, and snippets.

View deploylinux's full-sized avatar

Matthew Marlowe deploylinux

View GitHub Profile
if ( !File.exists?("/root/.scout") && ((node[:environment][:name] == "ccweb_production_main") || (node[:environment][:name] == "ccweb_testing_main")) &&
['app_master', 'solo'].include?(node[:instance_role]))
hyperion ~ # emerge -v media-fonts/roboto
These are the packages that would be merged, in order:
Calculating dependencies... done!
@deploylinux
deploylinux / gist:7023115
Created October 17, 2013 11:13
qt and kde upgrade madness
These are the packages that would be merged, in order:
Calculating dependencies \
/-l1 --l1... done!
[ebuild U ] kde-base/kde-env-4.10.5:4 [4.8.5:4] USE="(-aqua)" 0 kB
[ebuild N ] dev-perl/libxml-perl-0.80.0 63 kB
[ebuild U ] dev-db/virtuoso-odbc-6.1.6 [6.1.4] 110,602 kB
[ebuild N ] dev-perl/XML-DOM-1.440.0 115 kB
[ebuild U ] dev-util/nvidia-cuda-toolkit-4.2.9-r2 [4.1] USE="doc -debugger -eclipse% -profiler" 275,776 kB
[ebuild U ~] dev-qt/qtcore-4.8.5:4 [4.7.4-r1:4] USE="exceptions glib iconv qt3support ssl (-aqua) -c++0x% -debug -icu% -pch (-jit%*) (-optimized-qmake%) (-private-headers%)" 235,832 kB
@deploylinux
deploylinux / gist:930399
Created April 20, 2011 04:49
trying to figure out how to dynamically expand puppet service resource subscriptions - this code compiles but is it correct/will it work?
if $imagemagick_php {
$phpimagick = 'pecl-imagick'
} else {
$phpimagick = ''
}
$phpfpmsub = [ File['/etc/php/fpm-php5.3/php-fpm.conf','/etc/php/fpm-php5.3/php.ini'], Package['php',$phpimagick], ]
service {"php-fpm":
name => "php-fpm",