Actually I was going in an entirely different direction with the subdirectory.<br><br>It's an RCS directory.  I've been using for years and never switched to cvs,<br>or svn.  It would be good if version control subdirectories were quietly ignored.
<br><br><div><span class="gmail_quote">On 8/27/07, <b class="gmail_sendername">Matt Hyclak</b> <<a href="mailto:hyclak@math.ohiou.edu">hyclak@math.ohiou.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, Aug 27, 2007 at 11:10:35AM -0400, Michael DeHaan enlightened us:<br>> Matt Hyclak wrote:<br>> >On Mon, Aug 27, 2007 at 10:33:51AM -0400, Michael DeHaan enlightened us:<br>> ><br>> >>drew einhorn wrote:
<br>> >><br>> >>>I installed 0.6.0 and now cobbler sync dies with:<br>> >>><br>> >>> File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py", line<br>> >>>466, in load_snippet_cache
<br>> >>>   snip_file = open(snip)<br>> >>>IOError: [Errno 21] Is a directory<br>> >>><br>> >>><br>> >>At first guess, it looks like you have a subdirectory in your
<br>> >>/var/lib/cobbler/snippets directory where I wasn't expecting any.<br>> >><br>> >>The short term solution is to not put subdirectories there (cobbler<br>> >>won't read them).    I'll fix 
0.6.1 to ignore potential subdirectories.<br>> >><br>> >><br>> ><br>> >Might be worth emulating some other things that have directories that are<br>> >read, but only read files with a particular ending - 
e.g.<br>> >partition_select.snip and ignore all other files/directories. That way it's<br>> >easy to disable a particular snippet by renaming it to something else.<br>> ><br>> >Matt<br>> >
<br>> ><br>> If a kickstart references "SNIPPET::bar" all you need to do currently to<br>> disable it is to rename<br>> "bar" to something not named "bar".<br>><br><br>True. Just hope you don't have another snippet named "not bar". :-)
<br><br>> Searching subdirectories (and possibly even namespacing them) is<br>> reasonable though.<br>><br><br>Oooh, getting advanced on us. That might be interesting...<br><br>Matt<br><br>--<br>Matt Hyclak<br>Department of Mathematics
<br>Department of Social Work<br>Ohio University<br>(740) 593-1263<br><br>_______________________________________________<br>et-mgmt-tools mailing list<br><a href="mailto:et-mgmt-tools@redhat.com">et-mgmt-tools@redhat.com
</a><br><a href="https://www.redhat.com/mailman/listinfo/et-mgmt-tools">https://www.redhat.com/mailman/listinfo/et-mgmt-tools</a><br></blockquote></div><br><br clear="all"><br>-- <br>Drew Einhorn