def METHOD_NAME(server, expected):
    result = server.get_features()
    assert ('puppet' in result) is expected
    assert ('puppetca' in result) is expected
    result = server.execute('rpm -q puppetserver')
    assert (result.status == 0) is expected
    assert ('package puppetserver is not installed' in result.stdout) is not expected
    result = server.execute('systemctl status puppetserver')
    assert ('active (running)' in result.stdout) is expected
    if type(server) is Satellite:
        for cmd in puppet_cli_commands:
            result = server.execute(f'hammer {cmd} --help')
            assert (result.status == 0) is expected
            assert (f"{err_msg} '{cmd.split()[-1]}'." in str(result.stderr)) is not expected