Live data from Hacker News

Marelle: logic-based devops with Prolog

larsyencken.github.io

21–24 of 24 posts

Re: Marelle: logic-based devops with Prolog

#21
post #9

Earlier quoted context omitted.

Ahm, that's the way to install pretty much everything these days. I mean, I know it's a security risk. But it isn't any more (or less) of a risk than installing nvm or just running git clone.

No, it's not. I only see it on the odd hip-n-cool project by people with less experience than my server's uptime. Everything I install is either from a distro's package, from a tarball or by compiling from source. I don't mind having a script that sets up the environment, there is a lot of software out there that does have these set up scripts in the tarball, or is distributed as a self-extracting archive, but you ca…

If you read the page, right under the quickstart script is the manual version describing all the same steps yourself. This indicates precisely what the script does, and leaves it to you to decide if you want to run it or just do the steps yourself.

Re: Marelle: logic-based devops with Prolog

#24
post #18
post #2

This looks like scripting to me, not describing the desired state of a system: % we can install by running apt-get in shell meet(python, linux(_)) :- % could also use: install_apt('python-dev') bash('sudo apt-get install -y python-dev').

So, how do you describe how to install a package without looking like "scripting"?

Package { "bash": ensure => installed }
Post reply on HN