Module Expr Str ImportFrom alias Assign NameStore Str Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args defaults body Expr Str Return IfExp CompareIn Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Return TupleLoad NameLoad Str If CompareNotIn Str NameLoad body Return TupleLoad NameLoad Str Return TupleLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call NameLoad NameLoad If UnaryOpNot SubscriptLoad NameLoad Index Num body Return NameLoad Assign NameStore NameLoad If BoolOpAnd CompareIn Str NameLoad SubscriptLoad NameLoad Index Str body Assign NameStore NameLoad For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If BoolOpAnd NameLoad NameLoad body Assign NameStore Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list
N/A N/A 
Watch for pkgs that have upgrades, then fire an event.

.. versionadded:: 2016.3.0
 __future__ absolute_import N/A __virtualname__ pkg N/A logging N/A log N/A N/A logging getLogger __name__ __virtual__ N/A N/A N/A N/A N/A 
    Only load if strace is installed
     N/A N/A N/A pkg.upgrade_available __salt__ __virtualname__ False N/A validate N/A N/A config N/A N/A N/A 
    Validate the beacon configuration
     N/A N/A N/A isinstance config dict N/A N/A N/A False Configuration for pkg beacon must be a dictionary. N/A N/A pkgs config N/A N/A N/A False Configuration for pkg beacon requires list of pkgs. N/A N/A True Valid beacon configuration N/A beacon N/A N/A config N/A N/A N/A 
    Check if installed packages are the latest versions
    and fire an event for those that have upgrades.

    .. code-block:: yaml

        beacons:
          pkg:
            - pkgs:
                - zsh
                - apache2
            - refresh: True
     N/A ret N/A N/A _validate N/A validate config N/A N/A N/A _validate N/A 0 N/A N/A ret N/A _refresh False N/A N/A N/A refresh config N/A config N/A refresh N/A N/A _refresh True N/A pkg N/A config N/A pkgs N/A N/A _installed N/A N/A __salt__ N/A pkg.version pkg N/A _latest N/A N/A __salt__ N/A pkg.latest_version pkg refresh _refresh N/A N/A _installed _latest N/A N/A _pkg N/A pkg version pkg _latest N/A N/A N/A ret append _pkg N/A ret N/A