There might be an example for FreeBSD in a
tarball:/test/units/unit_package_freebsd.cf, I guess.
Cheers,
--Nakarin
On Feb 25, 2010, at 11:03 AM, Traiano Welcome wrote:
> Hi List
>
> How would I construct a bundle to add packages to a freebsd system using the
> Ports collection? I see the CF3 Solutions list provides an example for
> Solaris and SuSE, but I can’t find anything on the internet for installing
> freebsd packages.
>
> I’d like to somehow adapt the solution presented in the CF3 Solutions list
> along the lines of the following:
>
> -----
> #
> # Package managment
> #
>
> body common control
> {
> bundlesequence => { "packages" };
> }
>
> #############################################
>
> bundle agent packages
> {
> vars:
>
> "match_package" slist => {
> "apache2",
> "apache2-mod_php5",
> "apache2-prefork",
> "php5"
> };
> packages:
>
> solaris::
>
> "$(match_package)"
>
> package_policy => "add",
> package_method => solaris;
>
> redhat|SuSE::
>
> "$(match_package)"
>
> package_policy => "add",
> package_method => yum;
>
> }
>
> -----
>
> Thanks in Advance,
> Traiano Welcome
>
>
>
>
> NOTE: This e-mail message and all attachments thereto contain confidential
> information intended for a specific addressee and purpose. If you are not the
> addressee (a) you may not disclose, copy, distribute or take any action based
> on the contents hereof; (b) kindly inform the sender immediately and destroy
> all copies hereof. Any copying, publication or disclosure of this message, or
> part hereof, in any form whatsoever, without the sender's express written
> consent, is prohibited. No opinion expressed or implied by the sender
> necessarily constitutes the opinion of MTN. This message does not constitute
> a guarantee or proof of the facts mentioned herein. No Employee or
> intermediary is authorised to conclude a binding agreement on behalf of MTN
> Group Limited, or any of its subsidiary companies, by e-mail without the
> express written confirmation by a duly authorised representative of MTN Group
> Limited.
> _______________________________________________
> Help-cfengine mailing list
> [email protected]
> https://cfengine.org/mailman/listinfo/help-cfengine
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine