Re: Marelle: prolog for devops
Michael Hendricks <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <CAFHuXuZbUiJqiKwpU+bAp8+X2J+XDxAY4cTRzh=DjML7YKF3BA@mail.gmail.com> |
On Nov 7, 2013 1:49 AM, "larsyencken" <[email protected]> wrote: > At it's core, you define a handful of rules which describe a target, how to > check if it's been met, and how to meet it. For example, to install > supervisor Ubuntu 12.04: > > pkg(supervisor). > met(supervisor, linux(precise)) :- > isfile('/usr/bin/supervisorctl'). > meet(supervisor, linux(precise)) :- > bash('sudo apt-get install -y supervisor'). That's a cool idea. Is there a convenience for working with package versions? For example, to declare that 'supervisor' is the most recent version available or has version greater than X? -- Michael -------------- next part -------------- HTML attachment scrubbed and removed