puppet | 2 Jan 2007 03:49

[Puppet-dev] #395: Files in non-existent directories cause execution to halt

#395: Files in non-existent directories cause execution to halt
---------------------+------------------------------------------------------
 Reporter:  mpalmer  |       Owner:  luke
     Type:  defect   |      Status:  new 
 Priority:  normal   |   Milestone:      
Component:  types    |     Version:      
 Severity:  normal   |    Keywords:      
---------------------+------------------------------------------------------
 (currently running svn2013)

 If I try to copy a file into a directory which doesn't exist at the
 beginning of the Puppet execution run, I get an error like this:

 {{{
 err: Could not apply complete configuration: Could not retrieve object
 '/usr/share/ruby-snmpd/plugins/last_puppet_run.rb' of type
 'Puppet::Type::File' at /etc/puppet/manifests/classes/snmp_enabled.pp:36
 }}}

 and the manifest stops running.  The real problem is that the directory
 that I want to copy the file into is part of a package, and that package
 is depended on by this file, like so:

 {{{
 file { "/usr/share/ruby-snmpd/plugins/last_puppet_run.rb":
   content =>
 template("/etc/puppet/config/classes/snmp_enabled/last_puppet_run.rb",
   require => package["ruby-snmpd"]
 }

(Continue reading)

puppet | 2 Jan 2007 07:59

Re: [Puppet-dev] #395: subscribing to non-existant objects confuses Matt

#395: subscribing to non-existant objects confuses Matt
---------------------+------------------------------------------------------
 Reporter:  mpalmer  |        Owner:  luke   
     Type:  defect   |       Status:  closed 
 Priority:  normal   |    Milestone:         
Component:  types    |      Version:         
 Severity:  normal   |   Resolution:  invalid
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by luke):

 Error output was corrected in [2015], since it was clear that this was not
 clear (just to be clear).

--

-- 
Ticket URL: <http://reductivelabs.com/cgi-bin/puppet.cgi/ticket/395#comment:2>
puppet <https://reductivelabs.com>
Puppet - Portable System Automation
puppet | 2 Jan 2007 04:01

Re: [Puppet-dev] #395: subscribing to non-existant objects confuses Matt

#395: subscribing to non-existant objects confuses Matt
---------------------+------------------------------------------------------
 Reporter:  mpalmer  |        Owner:  luke   
     Type:  defect   |       Status:  closed 
 Priority:  normal   |    Milestone:         
Component:  types    |      Version:         
 Severity:  normal   |   Resolution:  invalid
 Keywords:           |  
---------------------+------------------------------------------------------
Changes (by mpalmer):

  * status:  new => closed
  * resolution:  => invalid
  * summary:  Files in non-existent directories cause execution to halt =>
              subscribing to non-existant objects confuses
              Matt

Comment:

 This was a stuff-up on my part.  It wasn't that I was trying to put a file
 into a non-existent directory, if was that I was subscribing to a file
 object that didn't exist.

--

-- 
Ticket URL: <http://reductivelabs.com/cgi-bin/puppet.cgi/ticket/395#comment:1>
puppet <https://reductivelabs.com>
Puppet - Portable System Automation

Gmane