From 0a07c6eba75abf43e12123b3a0e2dfc8bb6b9ef2 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sun, 30 Nov 2014 04:04:23 +0100 Subject: clients: renamce all-clients --- all-clients | 12 ------------ clients | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) delete mode 100755 all-clients create mode 100755 clients diff --git a/all-clients b/all-clients deleted file mode 100755 index f904c61..0000000 --- a/all-clients +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/python -import Bcfg2.Options -import Bcfg2.Client.Proxy - -parser = Bcfg2.Options.get_parser( - components=[Bcfg2.Client.Proxy.ComponentProxy]) -parser.parse() - -proxy = Bcfg2.Client.Proxy.ComponentProxy() -clients = getattr(proxy, 'Metadata.list_clients')() -for client in clients: - print client diff --git a/clients b/clients new file mode 100755 index 0000000..f904c61 --- /dev/null +++ b/clients @@ -0,0 +1,12 @@ +#!/usr/bin/python +import Bcfg2.Options +import Bcfg2.Client.Proxy + +parser = Bcfg2.Options.get_parser( + components=[Bcfg2.Client.Proxy.ComponentProxy]) +parser.parse() + +proxy = Bcfg2.Client.Proxy.ComponentProxy() +clients = getattr(proxy, 'Metadata.list_clients')() +for client in clients: + print client -- cgit v1.2.3-1-g7c22