Depends on why you want this info ... but its available in the catalog
on the box for 'grepping' (more or less).

Something I recommend to some people:

http://www.tenshu.net/2010/08/adventures-in-puppet-tangled-strings.html

Which does more or less that ... but shows a banner in VIM for users
to warn them the file is puppet managed before they modify it.

ken.

On Tue, Nov 15, 2011 at 10:38 AM, chaica <lordcha...@free.fr> wrote:
> Hi,
>
> I'm looking for a simple way to check if a file on a client (where
> puppetd is running) is managed by puppet. At this time, I have to put
> a comment on the file and have to run a puppetd -to --noop in order to
> see if puppet triggers actions on this file. Is there any way to
> simply find if a file on the client is supervised by puppet ?
>
> Regards,
> Carl Chenet
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to