Change:

  restart_class => restart_sshd;

To:

  restart_class => "restart_sshd";

And try again.

On Wed, Nov 24, 2010 at 7:46 AM, Sandra Wittenbrock
<san...@hpcrd.lbl.gov> wrote:
> Hello,
>
> I'm getting an error that restart_sshd() was undeclared.
 Running version
> 3.0.5.
>
> body "restart_sshd()" was undeclared, but used in a promise near line 56 of
> /var/cfengine/inputs/site.cf
>
>
> site.cf does include:
>
> commands:
>    restart_sshd::
>      "/etc/init.d/ssh restart";
>
>
>
> Not sure what this needs.  I've attached the site.cf file.
>
> Regards,
>
> Sandra
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine
>
>
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to