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 / aug_facts.ini
Created August 22, 2012 08:41
Generic Augeas based facter plugin
# This is the configuration file
# for the augeas_generic.rb facter plugin
#
# Each section defines a new fact
# and has the following attributes:
# - type: Optional, the type of value to retrieve.
# Possible values: "single" and "multiple".
# Defaults to "single".
# - path: Mandatory, the path to the value.
# - method: Optional, how to retrieve the value.
err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed Could not retrieve file metadata for puppet://pm.camptocamp.net/plugins: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
\documentclass{article}
\usepackage[symbol]{footmisc}
\footnotetext[1]{Développeur}
\footnotetext[2]{Contributeur}
\newcommand\footdevelop{\footnotemark[1]}
\newcommand\footcontrib{\footnotemark[2]}
\long\def\thefootnote{\fnsymbol{footnote}}
\Configure{footnotetext}{\global\setbox\footnotebox=\vtop\bgroup\NoFonts%
\ifvoid\footnotebox\else\unvbox\footnotebox\fi
\IgnorePar
\HCode{<div class="footnote"><p>}}{}{\HCode{</p></div>\Hnewline}\egroup}
\def\printfn{%
\ifvoid\footnotebox\else%
\HCode{<div class="footnotes">\Hnewline}\box\footnotebox\HCode{</div>\Hnewline}%
\Configure{HtmlPar}
{\EndP\HCode{<!--l. \the\inputlineno-->%
<p \csname a:!P\endcsname
class="no\ifHCond par\else indent\fi" \a:LRdir>}}
{\EndP\HCode{<!--l. \the\inputlineno-->%
<p \csname a:!P\endcsname
class="\ifdim \parindent=\z@ no\fi indent" \a:LRdir>}}
{\:xhtml{\Tg</p>}\printfn}
{\:xhtml{\Tg</p>}\printfn}%
\documentclass[fancytabs,8pt,pagesize=pdftex,paper=a5]{diary}
\usepackage[french]{babel}
%\usepackage{moredatetime}
%\let\diaryformatdate\formatdateny
\usepackage{lipsum}
\begin{document}
\begin{diary}
\documentclass{minimal}
\usepackage[french]{babel}
\usepackage{fontspec}
\usepackage{xunicode}
\newfontfamily{\ezr}[Script=Hebrew]{EzraSIL}
\begin{document}
Et Dieu dit:
\documentclass[preview]{standalone}
\usepackage[french]{babel}
\usepackage{fontspec}
\usepackage{xunicode}
\setmainfont{Linux Libertine O}
\newfontfamily{\ezr}[Script=Hebrew]{EzraSIL}
\usepackage{amsmath}
\documentclass[preview,border=1cm]{standalone}
\usepackage[french]{babel}
\usepackage{fontspec}
\usepackage{xunicode}
\setmainfont{Linux Libertine O}
\newfontfamily{\ezr}[Script=Hebrew]{EzraSIL}
\usepackage{amsmath}
rpinson@wrk4:~/dev/augeasproviders$ rspec spec/unit/puppet/nrpe_command_spec.rb
WARNING: SimpleCov is activated, but you're not running Ruby 1.9+ - no coverage analysis will happen
WARNING: SimpleCov is activated, but you're not running Ruby 1.9+ - no coverage analysis will happen
FFFFF
Failures:
1) Puppet::Type::Nrpe_command::ProviderAugeas with empty file should create new entry
Failure/Error: apply!(Puppet::Type.type(:nrpe_command).new(
Puppet::Error: