>>> Dejan Muhamedagic <deja...@fastmail.fm> schrieb am 23.11.2016 um 14:15 in Nachricht <20161123131501.GB16270@tuttle.homenet>: > Hi, > > On Wed, Nov 09, 2016 at 02:49:02PM +0100, Ulrich Windl wrote: >> Hi! >> >> I just found a minor problem when redirecting the output of >> "crm configure show" to a file for archiving purposes: If you > > Better use 'configure save' for archive/backup. 'configure show' > is really meant for the terminal.
So "crm configure save -"? Somewhat odd, but seems to work: h02:~ # crm configure save - >/tmp/2 h02:~ # crm configure show >/tmp/1 h02:~ # diff -u /tmp/{1,2} --- /tmp/1 2016-11-23 16:32:57.000000000 +0100 +++ /tmp/2 2016-11-23 16:32:51.000000000 +0100 @@ -255,4 +255,4 @@ operator acl_target t11adm \ monitor \ - r_dbadmin_t11 \ No newline at end of file + r_dbadmin_t11 > >> use diff to compare two files, diff complains about a missing >> newline (especially after having edited the other file with >> vim). For XML output the final newline is there. Is that an >> omission? Or is it related that my last entry is an acl_target? > > I doubt that it depends on the last entry. But if 'save' doesn't > work, just open an issue at github. > > Regards, > > Dejan > >> >> Regards, >> Ulrich >> >> >> >> _______________________________________________ >> Users mailing list: Users@clusterlabs.org >> http://clusterlabs.org/mailman/listinfo/users >> >> Project Home: http://www.clusterlabs.org >> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf >> Bugs: http://bugs.clusterlabs.org > > _______________________________________________ > Users mailing list: Users@clusterlabs.org > http://clusterlabs.org/mailman/listinfo/users > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org _______________________________________________ Users mailing list: Users@clusterlabs.org http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org