Re: [ClusterLabs] Single quotes in values for 'crm resource rsc param set'

2015-08-17 Thread Vladislav Bogdanov
17.08.2015 10:39, Kristoffer Grönlund wrote: Vladislav Bogdanov bub...@hoster-ok.com writes: Hi Kristoffer, all. Could you please look why I get error when trying to update valid resource value (which already has single quotes inside) with the slightly different one by running the command

Re: [ClusterLabs] Single quotes in values for 'crm resource rsc param set'

2015-08-17 Thread Vladislav Bogdanov
14.08.2015 19:51, Jan Pokorný wrote: On 14/08/15 18:22 +0300, Vladislav Bogdanov wrote: I need to pass a command-line with semicolons in one of parameters which is run with eval in the resource agent. Backslashed double-quoting does not work in this case, but single-quotes work fine. Hmm,

Re: [ClusterLabs] Single quotes in values for 'crm resource rsc param set'

2015-08-17 Thread Kristoffer Grönlund
Vladislav Bogdanov bub...@hoster-ok.com writes: Hi Kristoffer, all. Could you please look why I get error when trying to update valid resource value (which already has single quotes inside) with the slightly different one by running the command in the subject? It looks like

[ClusterLabs] Single quotes in values for 'crm resource rsc param set'

2015-08-14 Thread Vladislav Bogdanov
Hi Kristoffer, all. Could you please look why I get error when trying to update valid resource value (which already has single quotes inside) with the slightly different one by running the command in the subject? It looks like is_value_sane() doesn't accept single quotes just because crmsh

Re: [ClusterLabs] Single quotes in values for 'crm resource rsc param set'

2015-08-14 Thread Jan Pokorný
On 14/08/15 18:22 +0300, Vladislav Bogdanov wrote: I need to pass a command-line with semicolons in one of parameters which is run with eval in the resource agent. Backslashed double-quoting does not work in this case, but single-quotes work fine. Hmm, another data point to the recent shell