[Crowbar] bc-template-$barclamp.schema file duplication
aspiers at suse.com
Mon Jul 23 05:37:06 CDT 2012
Are the *.schema files in
still necessary? They seem to partially duplicate the *.schema files
in each barclamp. Using this shell hack:
for s in barclamps/*/chef/data_bags/crowbar/*.schema; do
if ! [ -e $s2 ]; then
echo "NOT THERE: $s2"
if cmp $s $s2 >/dev/null; then
echo "IDENTICAL: $s and $s2"
diff -u $s $s2 | diffstat | grep -v 'file changed'
done | sort
tells me that 6 of the pairs are identical, 6 are different, and 6 are
missing from barclamps/crowbar/crowbar_framework/schema.
More information about the Crowbar