ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] I: collectd 5.5.0 в Sisyphus
@ 2015-10-28 13:11 Sergey
  2015-10-29 14:02 ` Sergey
  0 siblings, 1 reply; 3+ messages in thread
From: Sergey @ 2015-10-28 13:11 UTC (permalink / raw)
  To: ALT Linux sysadmins' discussion

Приветствую.

В Сизиф готовится уйти collectd 5.5.0, задание 152235 (apt-repo add 152235).
Есть одно изменение, которое вызывает необходимость ручного исправления
конфига, если используется плагин libvirt: плагин переименован в virt.

-- 
С уважением, Сергей.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Sysadmins] I: collectd 5.5.0 в Sisyphus
  2015-10-28 13:11 [Sysadmins] I: collectd 5.5.0 в Sisyphus Sergey
@ 2015-10-29 14:02 ` Sergey
  2015-10-29 14:05   ` Sergey
  0 siblings, 1 reply; 3+ messages in thread
From: Sergey @ 2015-10-29 14:02 UTC (permalink / raw)
  To: ALT Linux sysadmins' discussion

On Wednesday 28 October 2015, Sergey wrote:

> Есть одно изменение, которое вызывает необходимость ручного исправления
> конфига, если используется плагин libvirt: плагин переименован в virt.
 
Может, pre-скрипт сделать ?

%pre
sed -i "s/Plugin libvirt/Plugin virt/g" %_sysconfdir/%name.conf

-- 
С уважением, Сергей.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Sysadmins] I: collectd 5.5.0 в Sisyphus
  2015-10-29 14:02 ` Sergey
@ 2015-10-29 14:05   ` Sergey
  0 siblings, 0 replies; 3+ messages in thread
From: Sergey @ 2015-10-29 14:05 UTC (permalink / raw)
  To: ALT Linux sysadmins' discussion

On Thursday 29 October 2015, Sergey wrote:

> %pre
> sed -i "s/Plugin libvirt/Plugin virt/g" %_sysconfdir/%name.conf
 
То есть, 

%pre
sed -i "s/Plugin libvirt/Plugin virt/g" %_sysconfdir/%name.conf 2>/dev/null ||:

-- 
С уважением, Сергей.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-29 14:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-28 13:11 [Sysadmins] I: collectd 5.5.0 в Sisyphus Sergey
2015-10-29 14:02 ` Sergey
2015-10-29 14:05   ` Sergey

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git