[consfigurator] user feedback when missing property definitions

Russell Sim russell.sim at gmail.com
Sun Jul 24 22:01:43 BST 2022


Hey,

I just started playing around with consfigurator, and I got stuck
early on in this situation. I wanted to test a defproplist in the
repl.

I defined a very basic proplist

(defproplist emacs-installed :posix ()
  "Install emacs-nox"
  (:desc "Emacs NO X is installed")
  (apt:installed "emacs-nox"))

but when i execute it via

(consfigurator:deploy-these ((:ssh :user "root") :sbcl)
192.168.122.111 (emacs-installed))

Nothing is applied?

The mistake I made was that I never added the file I declared the
defproplist to my system asd, it was in a new file, and i was just
fiddling with the repl and didn't understand how the propspec would be
propagated to the remote host, so didn't consider that I would need it
to exist in a file referenced by the asd file to take effect.

It's pretty obvious in retrospect, but this could be something that
catches others when they first start using consfigurator.  Would it be
possible to add a warning for this case? or possibly an error? I don't
have any strong opinions, I have only just started playing around
today.

-- 
Cheers,
Russell Sim



More information about the sgo-software-discuss mailing list