在客戶端上: # puppet agent --no-daemonize --verbose notice: Starting Puppet client version 2.6.18 info: Caching catalog for cluster01.yihuacomputer.com info: Applying configuration version '1384758080' notice: /Stage/Tomcat::Install/File/ensure: defined content as '{md5}3ee83388ef4e45a55e5a4b41ae2d690e' notice: /Stage/Tomcat::Install/Exec/returns: executed successfully notice: /Stage/Tomcat::Update/File/ensure: defined content as '{md5}5c6866b09582d70a3e05bcf166b056ef' notice: /Stage/Tomcat::Update/File/ensure: defined content as '{md5}2385037e6349787b4c915562c91650fb' info: /Stage/Tomcat::Update/File: Scheduling refresh of Service err: /Stage/Tomcat::Service/Service/ensure: change from stopped to running failed: Could not start Service: Execution of '/usr/local/tomcat/bin/update.sh' returned 1: at /etc/puppet/modules/tomcat/manifests/service.pp:9 notice: /Stage/Tomcat::Service/Service: Triggered 'refresh' from 1 events notice: Finished catalog run in 160.13 seconds