On Feb 26, 2010, at 12:07 PM, Alan Sparks wrote:
I've a tidy resource for /tmp under 0.24.8, which throws errors each
run
due to a socket file created by xfs under /tmp/.font-unix/. It's
relatively harmless, but it fills the logs with error messages...
/var/log/messages.4:Jan 31 04:01:34 vm03 puppetd[15362]:
(//Node[vm03]/Tidy::Olderthan[/tmp]/Tidy[/tmp/.font-unix/fs7100]/
ensure)
change from /tmp/.font-unix/fs7100(age)1264176925 to anything failed:
Cannot tidy files of type socket
Since tidy does not have a parameter for directories or files to
ignore,
and there's no option to specify the types of files to consider, is
there any way short of hacking the code to eliminate these errors?
I don't think so.
I basically threw that failure in there because I wasn't sure what the
behaviour should be for anything other than the standard file types.
It'd be pretty easy to fix tidy to behave appropriately if you can
describe how it should actually behave.
--
Take the utmost trouble to find the right thing to say, and then say
it with the utmost levity. -- George Bernard Shaw
---------------------------------------------------------------------
Luke Kanies -|- http://reductivelabs.com -|- +1(615)594-8199
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" 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-users?hl=en.