Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes-issue-85 #163

Merged
merged 1 commit into from
Mar 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion psconfig/perfsonar-psconfig/bin/commands/remote
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ parser.add_argument('--agent', '-a', dest='agent', action='store', help='Name of
parser.add_argument('--transform', dest='transform', action='store', help='JSON transform object or a path to a file starting with @ that alters downloaded json')
parser.add_argument('--bind-address', '-B', dest='bind_address', action='store', help='Local address to bind to when downloading JSON')
parser.add_argument('--ssl-ca-file', dest='ssl_ca_file', action='store', help='A typical certificate authority (CA) file found on BSD. Used to verify server SSL certificate when using https.')
parser.add_argument('--no-headers', dest='no_headers', action='store_true', help='Do not print agent header information')
args = parser.parse_args()

#Init CLI utility
Expand Down Expand Up @@ -64,7 +65,8 @@ for agent in PSCONFIG_CLI_AGENTS:
agent_found = True

#print heading
cli.print_msg("=== {} Agent ===".format(agent['name']))
if not args.no_headers:
cli.print_msg("=== {} Agent ===".format(agent['name']))

#Load config file using appropriate config_connect class
config_client = agent['client_class']()
Expand Down
Loading