Module Expr Str Import alias Import alias Import alias TryExcept body Import alias Expr AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad body Import alias identifier ClassDef bases AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr ListLoad Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str BinOpMod Str TupleLoad NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Return Dict Str Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If CompareIn Str NameLoad body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad body Expr Call AttributeLoad NameLoad attr ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad comprehension NameStore NameLoad CompareEq NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A Validate JSON files.

Ensure that all JSON files in the Bcfg2 repository are
valid. Currently, the only plugins that uses JSON are Ohai and
Properties.
 N/A os N/A sys N/A Bcfg2.Server.Lint N/A N/A N/A json N/A N/A json loads N/A N/A N/A N/A ImportError AttributeError N/A N/A simplejson json ValidateJSON N/A N/A N/A N/A Bcfg2 Server Lint ServerlessPlugin N/A N/A Ensure that all JSON files in the Bcfg2 repository are
    valid. Currently, the only plugins that uses JSON are Ohai and
    Properties.  __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A N/A Bcfg2 Server Lint ServerlessPlugin __init__ self args kwargs N/A N/A self globs N/A Properties/*.json Ohai/*.json N/A N/A self files N/A N/A self get_files N/A Run N/A N/A self N/A N/A N/A path N/A self files N/A N/A N/A N/A N/A self logger debug N/A Validating JSON in %s path N/A N/A N/A N/A N/A json load N/A open path N/A N/A N/A ValueError N/A N/A N/A N/A self LintError json-failed-to-parse N/A %s does not contain valid JSON: %s N/A path N/A N/A N/A sys exc_info N/A 1 N/A Errors N/A N/A cls N/A N/A N/A N/A json-failed-to-parse error N/A classmethod get_files N/A N/A self N/A N/A N/A Return a list of all JSON files to validate, based on
        :attr:`Bcfg2.Server.Lint.ValidateJSON.ValidateJSON.globs`.  N/A rv N/A N/A path N/A self globs N/A N/A N/A /**/ path N/A N/A N/A N/A self files None N/A N/A N/A N/A rv extend N/A N/A self list_matching_files path N/A N/A N/A fpath fname N/A N/A path split /**/ N/A N/A root _ files N/A N/A os walk N/A N/A N/A os path join N/A N/A N/A Bcfg2 Options setup repository fpath N/A N/A N/A N/A rv extend N/A N/A N/A N/A os path join root f N/A f files N/A f fname N/A N/A N/A N/A rv extend N/A N/A self list_matching_files path N/A rv N/A N/A