[consfigurator] user feedback when missing property definitions

Sean Whitton spwhitton at spwhitton.name
Sun Aug 21 23:48:30 BST 2022


Hello,

On Sun 24 Jul 2022 at 11:01PM +02, Russell Sim wrote:

>
> 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.

This is now implemented on master.

-- 
Sean Whitton



More information about the sgo-software-discuss mailing list