You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

User:Ori/Sandbox: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>Ori
mNo edit summary
imported>Ori
No edit summary
 
Line 27: Line 27:
     proto: tcp
     proto: tcp
</syntaxhighlight>
</syntaxhighlight>
Handy
[[Debugging in production]]

Latest revision as of 17:27, 9 August 2022

libvmod-querysort

Apply role::package::builder.

In ~/.bashrc

export VISUAL=nvim EDITOR=vim
alias vim=nvim
GPG_TTY=$(tty)
export GPG_TTY
gpgconf --create-socketdir
export DIST=buster-wikimedia

$ gbp buildpackage --git-export-dir=/var/tmp/build-area/libvmod-querysort -S && DIST=buster-wikimedia pdebuild

Builds in /var/cache/pbuilder/result/buster-amd64/.

open port 80 on instance

Add Puppet class profile::base::firewall::extra

Add Hiera config:

profile::base::firewall::extra::services:
  open http:
    port: 80
    proto: tcp

Handy Debugging in production