Re: Looping through possibilities in a "snippet"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Apr 7, 2008, at 11:06 AM, Michael DeHaan wrote:

What if we changed the semantics of...

SNIPPET::foosball

which would now be smart and would pull one of the following, whichever exists first:

/var/lib/cobbler/snippets/system/foosball/$system_name
/var/lib/cobbler/snippets/profile/foosball/$profile_name
/var/lib/cobbler/snippets/distro/foosball/$distro_name
/var/lib/cobbler/snippets/foosball

whichever was found first.

I think this is what you're getting at and could be done fairly cleanly without being package specific.

Of course the stock install would lay down none of these paths except the directories and this would largely be just documented
if you decide to use it (on the Wiki).

I think that would be perfect!  Thanks!

	-s-


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux