3 ms·
> NixOps is a tool for deploying to NixOS machines in a network or the cloud seems like pyinfra is OS agnostic.
by jackhalford 6y ago
> NixOps is a tool for deploying to NixOS machines in a network or the cloud
seems like pyinfra is OS agnostic.
- ghostwriter 6y agoThe frontpage shows that it relies at least on apt-get: from pyinfra.modules import apt apt.packages( {'Install iftop'}, 'iftop', sudo=True, ) And search over docs doesn't produce results for Windows/MacOS * https://pyinfra.readthedocs.io/en/v0.14.5/search.html?q=windows https://pyinfra.readthedocs.io/en/v0.14.5/search.html?q=wind... * https://pyinfra.readthedocs.io/en/v0.14.5/search.html?q=macos# https://pyinfra.readthedocs.io/en/v0.14.5/search.html?q=maco...
- detaro 6y agoit supporting apt doesn't mean it "relies on apt". Looking at the list of options, it supports multiple package managers, including ones for Windows and MacOS.
- ghostwriter 6y agobut then, if one needs to use low-level primitives representing specific package managers, it's hardly aligned with a claim of "super fast infrastructure automation". With Nix I have exactly one package manager for any target platform.
- zoom6628 6y agoJust checked out the NixOps manual https://nixos.org/nixops/manual/ https://nixos.org/nixops/manual/ and it seems able to deploy to NixOS machines on any cloud or LAN platform. But i also do not find any mention of it being able to deploy non-NixOS servers.
- ghostwriter 6y agoThe question is why would you want to have non-nixos servers in that case. If the goal is to have super-fast automation, you still need to unify your setup around something common. I see more benefits in unifying around NixOS than in unifying around Ansible/Pyinfra, as the latter require me to specify my infra in terms of low-level OS- and distro-specific package managers, that would eventually define the same lack of "OS agnostic portability".