Skip to content

Instantly share code, notes, and snippets.

$ apt-cache show heartbeat-common
Package: heartbeat-common
Priority: optional
Section: admin
Installed-Size: 1904
Maintainer: Debian HA Maintainers <debian-ha-maintainers@lists.alioth.debian.org>
Architecture: amd64
Source: heartbeat
Version: 2.99.2+sles11r9-6
Replaces: heartbeat (<= 2.99.2+sles11r9-2)
test AptPreferences.lns put "" after
set "/1/Package" "something-funny";
set "/1/Pin" "version";
set "/1/Pin/version" "1.2.3-4";
set "/1/Pin-Priority" "2000"
= "Package: something-funny
Pin: version 1.2.3-4
Pin-Priority: 2000
"
Oct 15 12:59:10 <chuck> defunkt: do you think you guys could share your capistrano tasks for unicorn also?
Oct 15 13:01:23 --> drev1 (n=reverri@dcn242-239.dcn.davis.ca.us) has joined #github
Oct 15 13:03:44 <-- anteaya has quit (Read error: 131 (Connection reset by peer))
Oct 15 13:06:17 <defunkt> chuck: namespace(:unicorn) { task(:stop) { sudo "god unicorn stop" } }
Oct 15 13:06:21 <defunkt> repeat for restart and start
class klass {
file { ['/tmp/a']: ensure => present }
}
define def_file() {
include klass
file { $name:
ensure => present,
require => File['/tmp/a']