packages feed

language-puppet-1.5.1: src/Puppet/Language/NativeTypes/Notify.hs

module Puppet.Language.NativeTypes.Notify (nativeNotify) where

import Puppet.Language.NativeTypes.Helpers

nativeNotify :: (NativeTypeName, NativeTypeMethods)
nativeNotify = ("notify", nativetypemethods parameterfunctions return)

parameterfunctions :: [(Text, [Text -> NativeTypeValidate])]
parameterfunctions =
  [ ("message", []),
    ("withpath", [string, defaultvalue "false", values ["true", "false"]])
  ]