Issue #3497 has been updated by Patrick Otto.
Anything on this? I'm running into the same issue ... ---------------------------------------- Bug #3497: Nagios with target attribute set fails during flush https://projects.puppetlabs.com/issues/3497 Author: James Turnbull Status: Accepted Priority: Normal Assignee: Category: nagios Target version: Affected Puppet version: 0.25.4 Keywords: Branch: With a resource like: <pre> @@nagios_service { "check_load_${hostname}": use => 'remote-nrpe-load', host_name => "$fqdn", target => '/etc/nagios3/nagios_service.cfg', } </pre> Results in the following error: <pre> notice: //nagios::server/Nagios_service[check_load_dxul]/ensure: created debug: Flushing nagios_service provider target /etc/nagios/nagios_service.cfg /usr/lib/ruby/1.8/fileutils.rb:1263:in `initialize' /usr/lib/ruby/1.8/fileutils.rb:1263:in `open' /usr/lib/ruby/1.8/fileutils.rb:1263:in `copy_file' /usr/lib/ruby/1.8/fileutils.rb:1262:in `open' /usr/lib/ruby/1.8/fileutils.rb:1262:in `copy_file' /usr/lib/ruby/1.8/fileutils.rb:463:in `copy_file' /usr/lib/ruby/1.8/fileutils.rb:383:in `cp' /usr/lib/ruby/1.8/fileutils.rb:1396:in `fu_each_src_dest' /usr/lib/ruby/1.8/fileutils.rb:1412:in `fu_each_src_dest0' /usr/lib/ruby/1.8/fileutils.rb:1394:in `fu_each_src_dest' /usr/lib/ruby/1.8/fileutils.rb:382:in `cp' /usr/lib/ruby/1.8/puppet/util/filetype.rb:116:in `write' /usr/lib/ruby/1.8/puppet/util/filetype.rb:55:in `real_write' /usr/lib/ruby/1.8/puppet/util/filetype.rb:55:in `write' /usr/lib/ruby/1.8/puppet/provider/parsedfile.rb:102:in `flush_target' /usr/lib/ruby/1.8/puppet/provider/parsedfile.rb:74:in `flush' /usr/lib/ruby/1.8/puppet/provider/parsedfile.rb:72:in `each' /usr/lib/ruby/1.8/puppet/provider/parsedfile.rb:72:in `flush' /usr/lib/ruby/1.8/puppet/provider/parsedfile.rb:356:in `flush' /usr/lib/ruby/1.8/puppet/type.rb:752:in `flush' /usr/lib/ruby/1.8/puppet/transaction.rb:94:in `apply' /usr/lib/ruby/1.8/puppet/transaction.rb:251:in `eval_children_and_apply_resource' /usr/lib/ruby/1.8/puppet/util.rb:418:in `thinmark' /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' /usr/lib/ruby/1.8/puppet/util.rb:417:in `thinmark' /usr/lib/ruby/1.8/puppet/transaction.rb:250:in `eval_children_and_apply_resource' /usr/lib/ruby/1.8/puppet/transaction.rb:207:in `eval_resource' /usr/lib/ruby/1.8/puppet/transaction.rb:296:in `evaluate' /usr/lib/ruby/1.8/puppet/util.rb:418:in `thinmark' /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' /usr/lib/ruby/1.8/puppet/util.rb:417:in `thinmark' /usr/lib/ruby/1.8/puppet/transaction.rb:295:in `evaluate' /usr/lib/ruby/1.8/puppet/transaction.rb:289:in `collect' /usr/lib/ruby/1.8/puppet/transaction.rb:289:in `evaluate' /usr/lib/ruby/1.8/puppet/resource/catalog.rb:142:in `apply' /usr/lib/ruby/1.8/puppet/configurer.rb:169:in `run' /usr/lib/ruby/1.8/puppet/util.rb:178:in `benchmark' /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' /usr/lib/ruby/1.8/puppet/util.rb:177:in `benchmark' /usr/lib/ruby/1.8/puppet/configurer.rb:168:in `run' /usr/lib/ruby/1.8/puppet/agent.rb:53:in `run' /usr/lib/ruby/1.8/puppet/agent/locker.rb:21:in `lock' /usr/lib/ruby/1.8/puppet/agent.rb:53:in `run' /usr/lib/ruby/1.8/sync.rb:230:in `synchronize' /usr/lib/ruby/1.8/puppet/agent.rb:53:in `run' /usr/lib/ruby/1.8/puppet/agent.rb:134:in `with_client' /usr/lib/ruby/1.8/puppet/agent.rb:51:in `run' /usr/lib/ruby/1.8/puppet/agent.rb:106 /usr/lib/ruby/1.8/puppet/external/event-loop/signal-system.rb:97:in `call' /usr/lib/ruby/1.8/puppet/external/event-loop/signal-system.rb:97:in `__signal__' /usr/lib/ruby/1.8/puppet/external/event-loop/signal-system.rb:97:in `each' /usr/lib/ruby/1.8/puppet/external/event-loop/signal-system.rb:97:in `__signal__' (eval):2:in `signal' /usr/lib/ruby/1.8/puppet/external/event-loop/event-loop.rb:321:in `sound_alarm' /usr/lib/ruby/1.8/puppet/agent.rb:110:in `start' /usr/lib/ruby/1.8/puppet/daemon.rb:127:in `start' /usr/lib/ruby/1.8/puppet/application/puppetd.rb:116:in `main' /usr/lib/ruby/1.8/puppet/application.rb:226:in `send' /usr/lib/ruby/1.8/puppet/application.rb:226:in `run_command' /usr/lib/ruby/1.8/puppet/application.rb:217:in `run' /usr/lib/ruby/1.8/puppet/application.rb:306:in `exit_on_fail' /usr/lib/ruby/1.8/puppet/application.rb:217:in `run' /usr/sbin/puppetd:159 /usr/lib/ruby/1.8/puppet/util/filetype.rb:64:in `write' /usr/lib/ruby/1.8/puppet/provider/parsedfile.rb:102:in `flush_target' /usr/lib/ruby/1.8/puppet/provider/parsedfile.rb:74:in `flush' /usr/lib/ruby/1.8/puppet/provider/parsedfile.rb:72:in `each' /usr/lib/ruby/1.8/puppet/provider/parsedfile.rb:72:in `flush' /usr/lib/ruby/1.8/puppet/provider/parsedfile.rb:356:in `flush' /usr/lib/ruby/1.8/puppet/type.rb:752:in `flush' /usr/lib/ruby/1.8/puppet/transaction.rb:94:in `apply' /usr/lib/ruby/1.8/puppet/transaction.rb:251:in `eval_children_and_apply_resource' /usr/lib/ruby/1.8/puppet/util.rb:418:in `thinmark' /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' /usr/lib/ruby/1.8/puppet/util.rb:417:in `thinmark' /usr/lib/ruby/1.8/puppet/transaction.rb:250:in `eval_children_and_apply_resource' /usr/lib/ruby/1.8/puppet/transaction.rb:207:in `eval_resource' /usr/lib/ruby/1.8/puppet/transaction.rb:296:in `evaluate' /usr/lib/ruby/1.8/puppet/util.rb:418:in `thinmark' /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' /usr/lib/ruby/1.8/puppet/util.rb:417:in `thinmark' /usr/lib/ruby/1.8/puppet/transaction.rb:295:in `evaluate' /usr/lib/ruby/1.8/puppet/transaction.rb:289:in `collect' /usr/lib/ruby/1.8/puppet/transaction.rb:289:in `evaluate' /usr/lib/ruby/1.8/puppet/resource/catalog.rb:142:in `apply' /usr/lib/ruby/1.8/puppet/configurer.rb:169:in `run' /usr/lib/ruby/1.8/puppet/util.rb:178:in `benchmark' /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' /usr/lib/ruby/1.8/puppet/util.rb:177:in `benchmark' /usr/lib/ruby/1.8/puppet/configurer.rb:168:in `run' /usr/lib/ruby/1.8/puppet/agent.rb:53:in `run' /usr/lib/ruby/1.8/puppet/agent/locker.rb:21:in `lock' /usr/lib/ruby/1.8/puppet/agent.rb:53:in `run' /usr/lib/ruby/1.8/sync.rb:230:in `synchronize' /usr/lib/ruby/1.8/puppet/agent.rb:53:in `run' /usr/lib/ruby/1.8/puppet/agent.rb:134:in `with_client' /usr/lib/ruby/1.8/puppet/agent.rb:51:in `run' /usr/lib/ruby/1.8/puppet/agent.rb:106 /usr/lib/ruby/1.8/puppet/external/event-loop/signal-system.rb:97:in `call' /usr/lib/ruby/1.8/puppet/external/event-loop/signal-system.rb:97:in `__signal__' /usr/lib/ruby/1.8/puppet/external/event-loop/signal-system.rb:97:in `each' /usr/lib/ruby/1.8/puppet/external/event-loop/signal-system.rb:97:in `__signal__' (eval):2:in `signal' /usr/lib/ruby/1.8/puppet/external/event-loop/event-loop.rb:321:in `sound_alarm' /usr/lib/ruby/1.8/puppet/agent.rb:110:in `start' /usr/lib/ruby/1.8/puppet/daemon.rb:127:in `start' /usr/lib/ruby/1.8/puppet/application/puppetd.rb:116:in `main' /usr/lib/ruby/1.8/puppet/application.rb:226:in `send' /usr/lib/ruby/1.8/puppet/application.rb:226:in `run_command' /usr/lib/ruby/1.8/puppet/application.rb:217:in `run' /usr/lib/ruby/1.8/puppet/application.rb:306:in `exit_on_fail' /usr/lib/ruby/1.8/puppet/application.rb:217:in `run' /usr/sbin/puppetd:159 err: Could not apply complete catalog: Puppet::Util::FileType::FileTypeFlat could not write /etc/nagios/nagios_service.cfg: No such file or directory - /etc/nagios/nagios_service.cfg </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
