Ticket #1071 (closed enhancement: fixed)
bcfg2-admin pull on a non existent file on client gives false feedback
Reported by: | https://www.google.com/accounts/o8/id?id=AItOawmwdKt_YKyLClGGNu0lUuocNy76Mh7Nogw | Owned by: | desai |
---|---|---|---|
Priority: | minor | Milestone: | Bcfg2 1.2.0 Release |
Component: | bcfg2-server | Version: | 1.0 |
Keywords: | Cc: |
Description
on server:
#bcfg2-admin pull -vvv -I hostname Path /path/to/file (current entry) => host entry: hostname Use this entry? [yN]: y
on client after above pull:
Incorrect entries: 1
Path: /path/to/file
Shows the entry is incorrect, when in fact it's b/c it was missing on the client when doing the original pulling.
Same behaviour when not using "-vvv or -I", just different message from the server: "Integrate configuration information from clients into the server repository"
The Path is defined in a bundle but b/c of the way this host was brought up and "fixed" I needed to pull all the configs on it into bcfg2, but it was missing a file.
Fringe case but it had me scratching my head b/c of the pull output. If bcfg2-admin pull would return with a no file exists error that would be great.
So this is just when the client file is not present that things get confusing.
Thanks Joe
This behavior should be fixed in the current code