Minimalist example of executing commands via ssh with pallet

63 views
Skip to first unread message

Maxime Lévesque

unread,
Oct 1, 2014, 4:06:05 PM10/1/14
to palle...@googlegroups.com


Hi, I've been using Ansible for all my provisioning/configuring over ssh,
and been mostly satisfied, but often find myself wishing for easier composability
of provisioning code. It seems that Clojure should be an ideal language
for this, so I was quite happy to discover the Pallet project.

I've been struggling to write a POC to write a script that 
connects to an existing machine via ssh and run a command (ex. install nginx).

It seems that there is part of the solution :


but this snippet needs to be inside a somekind of projet declaration / boilerplate,
and being a clojure newbe, that is where I am stuck...

Any help or pointers would be appreciated.

Thanks

Michael Jerger

unread,
Nov 7, 2014, 3:42:52 AM11/7/14
to palle...@googlegroups.com
Hi,

fortunately I just wrote my first blog-post about using pallet this morning :-)
Exactly for the Scenario you described:

https://www.domaindrivenarchitecture.org/blog-lang/-/blogs/configmanagement-with-pallet-first-steps

So I planned to ask Hugo for a brief review - but if you want to do the test, that's fine to me :-)
Any feedback and hint is welcome :-))


Best Regards,
Michael
Reply all
Reply to author
Forward
0 new messages