puppetlabs-tomcat: Could not evaluate: Saving failed, see debug

asked 2016-08-17 09:22:56 -0500

Christoph Gösgens gravatar image

Hi,

I'm trying to configure a somewhat complex server.xml using the puppetlabs-tomcat module. Both the Agent and Server are running Puppet 3.7.2 from Debian Jessie.

puppetlabs-tomcat v1.5.0 and nanliu-staging v1.0.3 are installed in /etc/puppet/modules, puppetlabs-concat v1.1.1 and puppetlabs-stdlib v4.11.0 are installed in /usr/share/puppet/modules, presumably from the debian packages.

Every single XML-node i configured threw an error like this:

`Error: /Stage[main]/Main/Node[dvb-app2]/Tomcat::Config::Server::Service[Catalina]/Augeas[server-/opt/apache-tomcat-service-Catalina]: Could not evaluate: Saving failed, see debug

To try and get a handle on this I commented out everything but this node:

  tomcat::config::server::service {'Catalina':}

This is the resulting debug log:

Error: /Stage[main]/Main/Node[dvb-app2]/Tomcat::Config::Server::Service[Catalina]/Augeas[server-/opt/apache-tomcat-service-Catalina]: Could not evaluate: Saving failed, see debug
/usr/lib/ruby/vendor_ruby/puppet/util/errors.rb:104:in `fail'
/usr/lib/ruby/vendor_ruby/puppet/provider/augeas/augeas.rb:388:in `need_to_run?'
/usr/lib/ruby/vendor_ruby/puppet/type/augeas.rb:188:in `retrieve'
/usr/lib/ruby/vendor_ruby/puppet/type.rb:1058:in `block in retrieve'
/usr/lib/ruby/vendor_ruby/puppet/type.rb:1053:in `each'
/usr/lib/ruby/vendor_ruby/puppet/type.rb:1053:in `retrieve'
/usr/lib/ruby/vendor_ruby/puppet/type.rb:1076:in `retrieve_resource'
/usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:236:in `from_resource'
/usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:19:in `evaluate'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:204:in `apply'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:217:in `eval_resource'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:147:in `call'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:147:in `block (2 levels) in evaluate'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:327:in `block in thinmark'
/usr/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:326:in `thinmark'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:147:in `block in evaluate'
/usr/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
/usr/lib/ruby/vendor_ruby/puppet/transaction.rb:138:in `evaluate'
/usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:169:in `block in apply'
/usr/lib/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
/usr/lib/ruby/vendor_ruby/puppet/transaction/report.rb:112:in `as_logging_destination'
/usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:168:in `apply'
/usr/lib/ruby/vendor_ruby/puppet/configurer.rb:118:in `block in apply_catalog'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
/usr/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
/usr/lib/ruby/vendor_ruby/puppet/configurer.rb:117:in `apply_catalog'
/usr/lib/ruby/vendor_ruby/puppet/configurer.rb:224:in `run_internal'
/usr/lib/ruby/vendor_ruby/puppet/configurer.rb:132:in `block in run'
/usr/lib/ruby/vendor_ruby/puppet/context.rb:64:in `override'
/usr/lib/ruby/vendor_ruby/puppet.rb:244:in `override'
/usr/lib/ruby/vendor_ruby/puppet ...
(more)
edit retag flag offensive close merge delete