Skip to content

Instantly share code, notes, and snippets.

View raphink's full-sized avatar
🐝
eBPF everything!

Raphaël Pinson raphink

🐝
eBPF everything!
View GitHub Profile
@raphink
raphink / output.txt
Created April 13, 2013 23:06
First tests with mspectator
F.FFF.F
Failures:
1) c2c_wrk
Failure/Error: it { should find_nodes(10).or_more }
expected to find 10 nodes or more using agent 'rpcutil', but found 5 instead.
# ./spec/localhost/wrk_spec.rb:4
2) c2c_wrk
pg_hba { 'Default entry with option':
method => 'ident',
options => { 'sameuser' => undef },
}
pg_hba { 'host all@all from .dev.example.com':
method => 'ldap',
options => {
'ldapserver' => 'auth.example.com',
'ldaptls' => '1',
local all all ident sameuser
local all toto md5
local all titi md5 b a="3" c="o=4,v=6"
changes => [
"set domain[.='$domain' and type='$type' and item='$item'] '$domain'",
"set domain[count(type)=0]/type '$type'",
"set domain[count(item)=0]/item '$item'",
"set domain[.='$domain' and type='$type' and item='$item']/value '$value'",
]
# == Definition: generic-tmpl::package::preference
#
# Wrapper to set preferences for packages
#
define generic-tmpl::package::preference (
$packages = [$name],
$pin = 'release o=Camptocamp',
$priority = '1001',
) {
module Heredoc =
let entry =
let tag = del /[A-Za-z]+\n/ "EOF\n"
in let var = store Rx.word . Util.eol
in let heredoc = Util.del_str "<<"
. square tag var tag
in [ key Rx.word . Sep.space_equal . heredoc . Util.eol ]
test entry get "key = <<EOF
[root@raphink ~]# puppet resource yumrepo augeas-1.0.0 enabled=1 gpgcheck=0 baseurl=http://people.redhat.com/~dcleal/augeas-1.0.0-el6
yumrepo { 'augeas-1.0.0':
baseurl => 'http://people.redhat.com/~dcleal/augeas-1.0.0-el6',
enabled => '1',
gpgcheck => '0',
}
[root@raphink ~]# puppet resource package augeas ensure=installed
err: /Package[augeas]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install augeas' returned 1: Error: Nothing to do
package { 'augeas':
drush site-install standard --account-pass='MDRHFD' -l default --yes
You are about to DROP all tables in your 'drupal' database. Do you want to continue? (y/n): y
psql:/tmp/drush_tBsan4:1: ERROR: syntax error at end of input
LINE 1: DROP TABLE
^
Starting Drupal installation. This takes a few seconds ... [ok]
WD php: Exception: To start over, you must empty your existing database.To install to a different database, edit the appropriate [error]
settings.php file in the sites folder.To upgrade an existing installation, proceed to the update script.View your existing site.
in install_begin_request() (line 301 of /var/www/pref63_risques-majeurs/htdocs/drupal/includes/install.core.inc).
Cannot modify header information - headers already sent by (output started at /usr/local/share/drush/includes/output.inc:37) [warning]
drush site-install standard --account-pass='MDRHFD' -l default --yes
You are about to DROP all tables in your 'drupal' database. Do you want to continue? (y/n): y
No tables to drop. [ok]
Starting Drupal installation. This takes a few seconds ... [ok]
WD php: Exception: To start over, you must empty your existing database.To install to a different database, edit the appropriate [error]
settings.php file in the sites folder.To upgrade an existing installation, proceed to the update script.View your existing site.
in install_begin_request() (line 301 of /var/www/pref63_risques-majeurs/htdocs/drupal/includes/install.core.inc).
Cannot modify header information - headers already sent by (output started at /usr/local/share/drush/includes/output.inc:37) [warning]
bootstrap.inc:1212
Exception: <ul><li>To start over, you must empty y
module Mechanicalduck =
let values =
(* semicolons are allowed if they are not preceded or followed by a space *)
let allowed_semicolon = /[^\n ];/ | /;[^\n ]/
(* anything but a semicolon or a newline *)
in let no_semicolon = /[^\n;]/
(* values can be either no_semicolon or allowed_semicolon *)
in let val_re = (no_semicolon | allowed_semicolon)*
(* a value is a seq entry that stores a val_re *)