Exemple #1
0
def list_nodes_with_role(role):
    """Show all nodes which have asigned a given role"""
    lib.print_nodes(lib.get_nodes_with_role(role, env.chef_environment))
Exemple #2
0
def list_nodes():
    """List all configured nodes"""
    lib.print_nodes(lib.get_nodes(env.chef_environment))
Exemple #3
0
def list_nodes_detailed():
    """Show a detailed list of all nodes"""
    lib.print_nodes(lib.get_nodes(env.chef_environment), detailed=True)
Exemple #4
0
def list_nodes_with_role(role):
    """Show all nodes which have asigned a given role"""
    lib.print_nodes(lib.get_nodes_with_role(role, env.chef_environment))
Exemple #5
0
def list_nodes_detailed():
    """Show a detailed list of all nodes"""
    lib.print_nodes(lib.get_nodes(env.chef_environment), detailed=True)
Exemple #6
0
def list_nodes():
    """List all configured nodes"""
    lib.print_nodes(lib.get_nodes(env.chef_environment))
def list_nodes_with_tag(tag):
    """Show all nodes which have assigned a given tag"""
    lib.print_nodes(lib.get_nodes_with_tag(tag, env.chef_environment,
                                           littlechef.include_guests))
Exemple #8
0
def list_nodes_with_tag(tag):
    """Show all nodes which have assigned a given tag"""
    lib.print_nodes(
        lib.get_nodes_with_tag(tag, env.chef_environment,
                               littlechef.include_guests))