Mercurial > code > home > repos > infra
diff pipe.py @ 103:8b8ef9d8f0fd
dead code and templates, reformat, maybe a little refactor
author | drewp@bigasterisk.com |
---|---|
date | Fri, 15 Jul 2022 15:24:44 -0700 |
parents | b70070570e10 |
children | 95fcc05c2747 |
line wrap: on
line diff
--- a/pipe.py Fri Jul 15 14:51:12 2022 -0700 +++ b/pipe.py Fri Jul 15 15:24:44 2022 -0700 @@ -1,15 +1,9 @@ -import os -import tempfile - -from pyinfra import host -from pyinfra.facts.files import FindInFile -from pyinfra.facts.server import Arch, LinuxDistribution -from pyinfra.operations import apt, files, server, systemd, git +from pyinfra.operations import apt, files, git, server def ntop(): files.directory('/opt/ntop') - + apt.packages(packages=[ "build-essential", "git", "bison", "flex", "libxml2-dev", "libpcap-dev", "libtool", "libtool-bin", "rrdtool", "librrd-dev", "autoconf", "pkg-config", "automake", "autogen", "redis-server", "wget", "libsqlite3-dev", "libhiredis-dev",