Issue #5075 has been updated by Markus Roberts.

Status changed from Investigating to Needs more information
Assignee changed from Markus Roberts to Cody Herriges

I am not able to reproduce this with 2.6.3rc1; this probably means:

1. You are using an earlier version and it's been fixed (and thus this ticket 
is a duplicate of...?)
2. There's something else going on and we need to figure out what
3. I'm just doing something wrong.

Could you try it again on 2.6.3rc1 or 2.6.x and report back the results, along 
with any hints you might be able to provide?

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

Author: Cody Herriges
Status: Needs more information
Priority: Normal
Assignee: Cody Herriges
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:

<pre>
class audit::passwd {

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

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

Reply via email to