All pastes #634654 Raw Edit

Something

public text v1 · immutable
#634654 ·published 2007-07-26 15:56 UTC
rendered paste body
    SomeClass::
        { /etc/syslog.conf
            BeginGroupIfNoLineMatching "# Added by cfengine.*"
                Append "# Added by cfengine"
                Append "*.info              @${LogServer}"
                Append "# end remote logging config"
                DefineInGroup "BounceSyslog"
            EndGroup
        }

shellcommands:

    BounceSyslog.redhat::
        "/etc/init.d/syslog restart"