Hi all

I'd expect this promise to define the class snmpd_installed:

- if the package was not installed, and it succeeds in installing
  it;
- if the package is already installed.

  packages:
      "snmpd"
        comment        => "Install snmpd",
        package_policy => "addupdate",
        package_method => apt,
        classes        => if_ok("snmpd_installed") ;

Unfortunately, if the package is already installed, it does *NOT* define
the class.

Is it a bug, or I am misunderstanding something?

Ciao
-- bronto
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to