Hi,

could you please paste a working example where it is possible to add and 
delete a package with its version and architecture?

I.e. I'd like to add a package "jdk.x86_64" with version "2000:1.6.0_17-fcs"
and keep it frozen.

# yum list all | grep ^jdk.x86_64
jdk.x86_64                           2000:1.6.0_17-fcs      sl-security

Is it possible to do it without using "package_version"?

With someting like:
---------------------------
vars:
   "add_x86_64" slist => { "jdk-2000:1.6.0_17-fcs" };

packages:
   "$(add_x86_64)"
      package_policy => "add",
      package_method => yum,
      package_architectures => { "x86_64" };
---------------------------

Regards,
Patryk
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to