Re: declarative (config file) way idea of handling the OS by way of the old system

2022-06-03 Thread Emanuel Berg
Andy Smith wrote: >> Except for people aging and dying I didn't understand any >> of this post ... > > I'm happy to explain any part of it that you were not able > to understand, but you'll have to be more specific. No, I understand now, as a blueprint for a human to read as well, not just

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-06-02 Thread Andy Smith
Hello, On Thu, Jun 02, 2022 at 02:46:49AM +0200, Emanuel Berg wrote: > Except for people aging and dying I didn't understand any of > this post ... I'm happy to explain any part of it that you were not able to understand, but you'll have to be more specific. I must have been very unclear indeed

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-06-02 Thread Dan Ritter
Andy Smith wrote: > On Mon, May 30, 2022 at 08:05:28AM -0400, Dan Ritter wrote: > > For a single user's machine, it's unlikely to be rewarding > > except intellectually. [good arguments snipped] > There have honestly been times in my life where I've had to look at > something set up by someone

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-06-01 Thread Emanuel Berg
Andy Smith wrote: >> For a single user's machine, it's unlikely to be rewarding >> except intellectually. > > It is however a great way to document a system for those > that don't get around to making free text notes. > The language of the configuration management tool both does > the setup and

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-06-01 Thread Emanuel Berg
Dan Ritter wrote: > That's just knowing what packages you want to install. What do you mean, what else are you supposed to know? >>> >>> Examples [...] >> >> Okay, right, no here we're only concerned with the state of >> the OS in terms of packages that are installed so that they

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-06-01 Thread Andy Smith
Hello, On Mon, May 30, 2022 at 08:05:28AM -0400, Dan Ritter wrote: > For a single user's machine, it's unlikely to be rewarding > except intellectually. It is however a great way to document a system for those that don't get around to making free text notes. The language of the configuration

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-05-31 Thread Dan Ritter
Emanuel Berg wrote: > Dan Ritter wrote: > > >>> That's just knowing what packages you want to install. > >> > >> What do you mean, what else are you supposed to know? > > > > Examples: > > Okay, right, no here we're only concerned with the state of > the OS in terms of packages that are

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-05-31 Thread Emanuel Berg
Dan Ritter wrote: >>> That's just knowing what packages you want to install. >> >> What do you mean, what else are you supposed to know? > > Examples: > > - you have installed a load balancer; it needs > a configuration file to work. > > - you have installed bind or unbound to provide DNS,

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-05-31 Thread Dan Ritter
Emanuel Berg wrote: > Dan Ritter wrote: > > > That's just knowing what packages you want to install. > > What do you mean, what else are you supposed to know? Examples: - you have installed a load balancer; it needs a configuration file to work. - you have installed bind or unbound to

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-05-31 Thread Emanuel Berg
Dan Ritter wrote: > That's just knowing what packages you want to install. What do you mean, what else are you supposed to know? > If that's all you want, you can use dpkg --set-selections > and a text list. What about using the interactive commands? sudo apt-get -qq update sudo apt-get

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-05-31 Thread Dan Ritter
Emanuel Berg wrote: > Dan Ritter wrote: > > >>> You can do it with puppet, chef, ansible, salt... > >>> > >>> You can go further into it with guix and nix. > >>> > >>> It can be quite a lot of work > >> > >> Okay, but why so, since it looks like the task to be done > >> is just a config file

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-05-30 Thread Emanuel Berg
IL Ka wrote: > With a non-interactive frontend you can install all packages > and configure them with one script. Right, and I happen to know exactly what I want, I want - from the repos, with the default configuration - if by configuration you mean install options - these programs feh mpv

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-05-30 Thread IL Ka
> > > Noninteractive is the word! Thank you. > > This is a technical term covered by debconf(7) :) https://manpages.debian.org/bullseye/debconf-doc/debconf.7.en.html The idea is covered here: https://manpages.debian.org/bullseye/debconf-doc/debconf-devel.7.en.html With a non-interactive

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-05-30 Thread Emanuel Berg
Dan Ritter wrote: >>> You can do it with puppet, chef, ansible, salt... >>> >>> You can go further into it with guix and nix. >>> >>> It can be quite a lot of work >> >> Okay, but why so, since it looks like the task to be done >> is just a config file that's iterated by a script and >> boiled

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-05-30 Thread Dan Ritter
Emanuel Berg wrote: > Dan Ritter wrote: > > > You can do it with puppet, chef, ansible, salt... > > > > You can go further into it with guix and nix. > > > > It can be quite a lot of work > > Okay, but why so, since it looks like the task to be done is > just a config file that's iterated by a

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-05-30 Thread Emanuel Berg
IL Ka wrote: > You are probably looking for unattended installation and > configuration using "noninteractive" dbconf frontend. > https://manpages.debian.org/bullseye/debconf-doc/debconf.7.en.html#Unattended_Package_Installation Noninteractive is the word! Thank you. But obviously people can

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-05-30 Thread Emanuel Berg
Mike Kupfer wrote: > I have half of that, sort of. A static file has 1 package > name per line, and each line has a usage tag like "base", > "dev", or "emacs-build", and distro tags, like "deb10" or > "f25". I run a script, telling it the usage and distro, and > it spits out a list of packages. I

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-05-30 Thread Emanuel Berg
Dan Ritter wrote: > You can do it with puppet, chef, ansible, salt... > > You can go further into it with guix and nix. > > It can be quite a lot of work Okay, but why so, since it looks like the task to be done is just a config file that's iterated by a script and boiled down to suitable

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-05-30 Thread IL Ka
You are probably looking for unattended installation and configuration using "noninteractive" dbconf frontend. https://manpages.debian.org/bullseye/debconf-doc/debconf.7.en.html#Unattended_Package_Installation On Mon, May 30, 2022 at 6:10 AM Emanuel Berg wrote: > Have a look at this blog post

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-05-30 Thread Dan Ritter
Emanuel Berg wrote: > Have a look at this blog post and program: > > Managing OpenBSD installed packages declaratively > > https://dataswamp.org/~solene/2022-05-05-openbsd-declarative-packages-with-pkgset.html > > That's sure one idea, to have a config file (that's the > "declarative"

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-05-30 Thread Timothy M Butterworth
On Sun, May 29, 2022 at 11:10 PM Emanuel Berg wrote: > Have a look at this blog post and program: > > Managing OpenBSD installed packages declaratively > > https://dataswamp.org/~solene/2022-05-05-openbsd-declarative-packages-with-pkgset.html > > That's sure one idea, to have a config file

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-05-29 Thread Emanuel Berg
Mike Kupfer wrote: >> Have a look at this blog post and program: >> >> Managing OpenBSD installed packages declaratively >> >> https://dataswamp.org/~solene/2022-05-05-openbsd-declarative-packages-with-pkgset.html >> >> [...] Anyone has that for Debian and Debian-like systems? > > I have

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-05-29 Thread Mike Kupfer
Emanuel Berg wrote: > Have a look at this blog post and program: > > Managing OpenBSD installed packages declaratively > > https://dataswamp.org/~solene/2022-05-05-openbsd-declarative-packages-with-pkgset.html [...] > Anyone has that for Debian and Debian-like systems? I have half of that,

Re: declarative (config file) way idea of handling the OS by way of the old system

2022-05-29 Thread Emanuel Berg
> Anyone has that for Debian and Debian-like systems? Or, to be exact, systems that use APT. -- underground experts united https://dataswamp.org/~incal

declarative (config file) way idea of handling the OS by way of the old system

2022-05-29 Thread Emanuel Berg
Have a look at this blog post and program: Managing OpenBSD installed packages declaratively https://dataswamp.org/~solene/2022-05-05-openbsd-declarative-packages-with-pkgset.html That's sure one idea, to have a config file (that's the "declarative" part) and then a script that converts