diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2012-04-27 18:51:15 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2012-04-27 18:56:11 -0500 |
commit | 10eb57597eecdb42e931a5f817af58b508e2fff9 (patch) | |
tree | 82428c7c080f21e69f3869a3195e7db4979d9123 /src/lib/Bcfg2/Server/Reports/updatefix.py | |
parent | c00d0c1d1a57895451bb479bf11a33d59cdf8635 (diff) | |
download | bcfg2-10eb57597eecdb42e931a5f817af58b508e2fff9.tar.gz bcfg2-10eb57597eecdb42e931a5f817af58b508e2fff9.tar.bz2 bcfg2-10eb57597eecdb42e931a5f817af58b508e2fff9.zip |
DBStats: Add unpruned entry reporting (#659)
Path type='directory' entries previously had no 'reason' associated with
their 'dirty' state.
This change adds a database field for unpruned entries which are present
in a pruned directory and displays that list in the web reporting
interface.
There is also a change made to the POSIX client tool which forces it to
display the extra entry list when running in interactive mode without
debugging enabled.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Bcfg2/Server/Reports/updatefix.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Reports/updatefix.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Server/Reports/updatefix.py b/src/lib/Bcfg2/Server/Reports/updatefix.py index 90eaacf89..39fc10b56 100644 --- a/src/lib/Bcfg2/Server/Reports/updatefix.py +++ b/src/lib/Bcfg2/Server/Reports/updatefix.py @@ -171,6 +171,7 @@ _fixes = [_merge_database_table_entries, 'alter table reports_reason add is_binary bool NOT NULL default False;', 'alter table reports_reason add is_sensitive bool NOT NULL default False;', _remove_table_column('reports_interaction', 'client_version'), + "alter table reports_reason add unpruned varchar(1280) not null default 'N/A';", ] # this will calculate the last possible version of the database |