Add a NotificationCommand object defined type, refs#7214

I got this from documentation page. My fault. I'll chage for undef.
Le 22 oct. 2014 02:09, "Nicholas Chappell" <notifications@github.com> a
écrit :

> In manifests/object/notificationcommand.pp:
>
> > @@ -0,0 +1,57 @@
> > +# == Defined type: icinga2::object::notificationcommand
> > +#
> > +# This is a defined type for Icinga 2 apply objects that create notification commands
> > +# See the following Icinga 2 doc page for more info:
> > +# http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/configuring-icinga2#objecttype-notificationcommand
> > +#
> > +# === Parameters
> > +#
> > +# See the inline comments.
> > +#
> > +
> > +define icinga2::object::notificationcommand (
> > +  $object_notificationcommandname = $name,
> > +  $template_to_import = 'plugin-check-command',
>
> This template doesn't actually exist. Is it a custom one that's somewhere
> else in your environment that's not a part of these code changes?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Icinga/puppet-icinga2/pull/32/files#r19195846>.
>