Skip to content

Commit

Permalink
Add qemu_set_process_name parameter (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
thias committed Jan 13, 2014
1 parent d297fc6 commit fc1dd27
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Add type to manage storage pools (#16, @msimonin).
* Fix tests (#17, @igalic).
* Add initial configuration of qemu.conf (#18, @luisfdez).
* Add qemu_set_process_name parameter (#21).

2013-10-16 - 0.2.3
* Fix for default sysconfig setting on RedHat.
Expand Down
7 changes: 4 additions & 3 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@
$auth_unix_rw = $::libvirt::params::auth_unix_rw,
$unix_sock_dir = $::libvirt::params::unix_sock_dir,
# qemu.conf options
$qemu_vnc_listen = undef,
$qemu_vnc_sasl = undef,
$qemu_vnc_tls = undef,
$qemu_vnc_listen = undef,
$qemu_vnc_sasl = undef,
$qemu_vnc_tls = undef,
$qemu_set_process_name = undef,
) inherits ::libvirt::params {

package { 'libvirt':
Expand Down
5 changes: 5 additions & 0 deletions templates/qemu.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,11 @@ vnc_sasl = 0
# its arguments) appear in process listings.
#
# set_process_name = 1
<% if @qemu_set_process_name == true -%>
set_process_name = 1
<% elsif @qemu_set_process_name == false -%>
set_process_name = 0
<% end -%>


# If max_processes is set to a positive integer, libvirt will use
Expand Down

0 comments on commit fc1dd27

Please sign in to comment.