summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-info
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-01-05 20:46:11 -0600
committerSol Jerome <sol.jerome@gmail.com>2011-01-05 20:46:11 -0600
commit8acbadc0c12d78f6dbc6c379b219ce6fb8ce2965 (patch)
tree54813ba60b3fddb32e7513c5b612c7be168b772f /src/sbin/bcfg2-info
parent901ae62249665ed813f0978ef10ed2063992f674 (diff)
downloadbcfg2-8acbadc0c12d78f6dbc6c379b219ce6fb8ce2965.tar.gz
bcfg2-8acbadc0c12d78f6dbc6c379b219ce6fb8ce2965.tar.bz2
bcfg2-8acbadc0c12d78f6dbc6c379b219ce6fb8ce2965.zip
Remove old references to ConfigFile
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/sbin/bcfg2-info')
-rwxr-xr-xsrc/sbin/bcfg2-info6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info
index 77b70f7e5..47fdf82d3 100755
--- a/src/sbin/bcfg2-info
+++ b/src/sbin/bcfg2-info
@@ -59,7 +59,7 @@ def displayTrace(trace, num=80, sort=('time', 'calls')):
def write_config_file(outputdir, cfg):
"""
Store file content of an
- <ConfigFile name='/path/to/file' ...>...</ConfigFile> entry
+ <Path type='file' ...>...</Path> entry
in the appropriate directory under the output directory.
"""
name = cfg.get('name')
@@ -222,7 +222,7 @@ class infoCore(cmd.Cmd, Bcfg2.Server.Core.Core):
print('rooted under /tmp unless the -f argument is provided, in')
print('which case it can be located anywhere.')
print('')
- print('NOTE: Currently only handles ConfigFile entries and writes')
+ print('NOTE: Currently only handles file entries and writes')
print('all content with the default owner and permissions. These')
print('could be much more permissive than would be created by the')
print('Bcfg2 client itself.')
@@ -250,7 +250,7 @@ class infoCore(cmd.Cmd, Bcfg2.Server.Core.Core):
try:
write_config_file(odir, configfile)
except FileNotBuilt, ex:
- print("Warning: No file content generated for ConfigFile %s!" % ex)
+ print("Warning: No file content generated for file %s!" % ex)
pass
except Exception, ex:
print("Unknown error, giving up: %s" %ex)