On Mon, Apr 15, 2013 at 6:38 AM, Joao Sa <[email protected]> wrote: > I want to experiment a bit with PuppetDB and in the documentation there's > mention of the built in remote repl, but I can't seem to get it working. > > After enabling it on "/etc/puppetdb/conf.d/repl.ini": > > [repl] > enabled = true > type = nrepl > port = 8082 > > When I restart it the log "/var/log/puppetdb/puppetdb.log" shows that it's > started: > > WARN [main] [cli.services] Starting nrepl server on port 8082 > > It seems to be listening on port 8082 when I try to telnet, but doesn't > provide any sort of feedback as to whether it's actually running anything. > Is there a missing depency to get it to interpret commands?
This is a known issue...the version of nrepl we're using needs some additional options set in order to work with telnet: http://projects.puppetlabs.com/issues/19373 The current workaround is to install leiningen ( https://github.com/technomancy/leiningen) and execute “lein repl :connect localhost:8082”. The proper fix is to modify the encoding we're using for REPL commands, as I mention in the ticket...but that's a code change, unfortunately. It hasn't been a priority as most of us just connect to a running PuppetDB instance through emacs/vim/lein directly instead of telnet. But this is definitely a bug in any case! deepak -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
