Issue #5075 has been updated by Markus Roberts.

Affected Puppet version set to 2.6.2

Guessing the affected version from the problem description and the line numbers 
given.  Cody of course knows, but decided for reasons of his own to keep it 
dark. :)

----------------------------------------
Bug #5075: audit => content has odd behaviour in agent/master mode
https://projects.puppetlabs.com/issues/5075

Author: Cody Herriges
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.6.2
Keywords: 
Branch: 


Auditing content of a file resource always works properly when running the 
resource using 'puppet apply' but using the same code in agent/master mode 
results in the following error.

    err: /Stage[main]/Audit::Passwd/File[/tmp/passwd]: Could not evaluate: 
Could not retrieve content for {md5}bd7c8189e4202258c9686c04d2263e2f from 
filebucket: File not found at /etc/puppet/modules/audit/manifests/passwd.pp:5

Went digging through the code for some clues.  I haven't investigated how to 
fix but the error is involved with line 171 and 207 of 
lib/puppet/type/file/content.rb, which is the content property code for the 
file type.  This simple manifest file is what I was using for testing:

class audit::passwd {

  file { "/tmp/passwd":
    audit => content,
  }

}




-- 
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.

Reply via email to