Module Expr Str ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Dict Str Str ListLoad Str Str ListLoad Str Str Assign NameStore Call NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareNotIn NameLoad TupleLoad Str Str Str body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr NameLoad body If CompareIn Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr Num For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd SubscriptLoad NameLoad Index NameLoad ListLoad NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad If CompareEq Str NameLoad body Expr Call NameLoad NameLoad NameLoad Call AttributeLoad Str attr NameLoad orelse If CompareEq Str NameLoad body Expr Call NameLoad NameLoad NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad decorator_list Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list
N/A N/A 
Search harder for service dependencies.  The APT, Yum, and files backends
have already found the services of note but the file and package resources
which need to trigger restarts have not been fully enumerated.
 collections defaultdict N/A logging N/A os.path N/A re N/A subprocess N/A util N/A walk N/A pattern N/A N/A re compile (/[/0-9A-Za-z_.-]+) services N/A N/A b N/A N/A N/A N/A N/A logging info searching for service dependencies N/A commands N/A apt yum N/A dpkg-query -L N/A rpm -ql N/A dirs N/A defaultdict list N/A pathname N/A b files N/A N/A dirname N/A N/A N/A os path dirname pathname N/A N/A dirname N/A /etc /etc/init /etc/init.d N/A N/A N/A N/A N/A dirs N/A dirname append pathname service_file N/A N/A manager service pathname N/A N/A N/A 
        Add dependencies for every pathname extracted from init scripts and
        other dependent files.
         N/A content N/A N/A N/A open pathname read N/A match N/A N/A pattern finditer content N/A N/A N/A N/A N/A match group 1 N/A b files N/A N/A N/A N/A b add_service_file manager service N/A N/A match group 1 N/A dirname N/A N/A N/A b sources iterkeys N/A N/A content N/A N/A util unicodeme content N/A N/A dirname content N/A N/A N/A N/A b add_service_source manager service dirname N/A service_package N/A N/A manager service package_manager package N/A N/A N/A 
        Add dependencies for every file in the blueprint that's also in
        this service's package or in a directory in this service's package.
         N/A N/A N/A p N/A N/A subprocess Popen N/A N/A commands N/A package_manager N/A package close_fds True stdout N/A subprocess PIPE N/A N/A N/A KeyError N/A N/A N/A line N/A p stdout N/A N/A pathname N/A N/A line rstrip N/A N/A pathname N/A b files N/A N/A N/A N/A b add_service_file manager service pathname N/A N/A N/A pathname dirs N/A N/A N/A N/A b add_service_file manager service N/A dirs N/A pathname N/A service N/A N/A manager service N/A N/A N/A 
        Add extra file dependencies found in packages.  Then add extra file
        dependencies found by searching file content for pathnames.
         N/A N/A N/A walk walk_service_packages b manager service service_package service_package N/A N/A sysvinit manager N/A N/A N/A service_file manager service N/A N/A /etc/init.d/{0} format service N/A N/A N/A upstart manager N/A N/A N/A service_file manager service N/A N/A /etc/init/{0}.conf format service N/A N/A N/A walk walk_service_files b manager service service_file service_file N/A N/A N/A N/A b walk service service N/A