On Mon, Sep 29, 2014 at 12:22 PM, Chris Price <[email protected]> wrote:
> On Mon, Sep 29, 2014 at 7:17 AM, Darin Perusich <[email protected]> wrote:
>>
>> Here's a quick recreation of the steps. This is on OpenSUSE 13.1 with
>> OpenJDK 1.7.0_51
>>
>> https://gist.github.com/deadpoint/900a2d92911705023986
>> --
>> Later,
>> Darin
>
>
> Hi Darin,
>
> The issue you're seeing is because the "tk-jetty9" dependency is specified
> in the 'dev' profile in project.clj. Dependencies that appear there instead
> of in the "main" deps section are available during testing / development,
> but they don't get bundled into the uberjar.
>
> The reason we do it this way (for now) is because we don't use the
> 'puppet-server' git repo as the source for building the final package
> artifacts; we now have a separate packaging project that can be re-used to
> build all of our clojure-based packages without having to repeat the
> packaging code everywhere. This also allows us to do things like compose
> multiple projects together (e.g., puppet-server + jetty + PE web apps) for
> development purposes.
>
> We might be able to open-source that packaging repo at some point if folks
> need it; I'll talk to our release team. In the meantime, you can work
> around the issue by simply moving the 'tk-jetty9' dependency up in the
> project.clj, out of the 'dev' profile and into the 'main' dependencies.
> That'll cause it to get included in the uberjar.
>
Progress...after making that change to the project.clj and building
it's now failing to start with this error. Hopefully I can dig into
this a bit more tomorrow, but puppetdb has been working fine on this
system.
ArgumentError: Could not find terminus puppetdb for indirection facts
validate_terminus_class at
/usr/lib64/ruby/vendor_ruby/2.0.0/puppet/indirector/indirection.rb:161
terminus_class= at
/usr/lib64/ruby/vendor_ruby/2.0.0/puppet/indirector/indirection.rb:153
configure_routes at
/usr/lib64/ruby/vendor_ruby/2.0.0/puppet/indirector.rb:27
each at org/jruby/RubyHash.java:1341
configure_routes at
/usr/lib64/ruby/vendor_ruby/2.0.0/puppet/indirector.rb:17
configure_indirector_routes at
file:/usr/share/puppetserver/puppet-server-release.jar!/puppet-server-lib/puppet/server/master.rb:238
initialize at
file:/usr/share/puppetserver/puppet-server-release.jar!/puppet-server-lib/puppet/server/master.rb:77
invoke at jruby_puppet_core.clj:140
invoke at jruby_puppet_core.clj:121
invoke at jruby_puppet_core.clj:222
invoke at jruby_puppet_core.clj:210
invoke at jruby_puppet_service.clj:29
invoke at internal.clj:246
invoke at internal.clj:230
shutdown_on_error at internal.clj:285
invoke at internal.clj:254
invoke at internal.clj:254
invoke at core.clj:619
doInvoke at core.clj:2396
invoke at jruby_puppet_service.clj:28
invoke at core.clj:1836
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-dev/CADaviKuJRug2roYLALd7%2BQAfC1c%3D4FVBzk6bY0pS7FJGhRsBVA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.