anchor.diff:  #
   # This is restricted to 'root' by default.
   #unix_sock_group = "libvirt"
  -#<% if unix_sock_group != 'root' -%>
  +#<% if @unix_sock_group != 'root' -%>
   unix_sock_group = "<%= scope.lookupvar('libvirt::unix_sock_group') %>"
   #<% end -%>
   
  
positive.code: # If not using PolicyKit and setting group ownership for access
  # control then you may want to relax this to:
  #unix_sock_rw_perms = "0770"
  #<% if unix_sock_rw_perms != '0700' -%>
  unix_sock_rw_perms = "<%= scope.lookupvar('libvirt::unix_sock_rw_perms') %>"
  #<% end -%>
  
  # Set the name of the directory in which sockets will be found/created.
  #unix_sock_dir = "/var/run/libvirt"
  #<% if unix_sock_dir != '/var/run/libvirt' -%>
  unix_sock_dir = "<%= scope.lookupvar('libvirt::unix_sock_dir') %>"
  #<% end -%>
  
  
negative.code: # Default allows any user. If setting group ownership may want to
  # restrict this to:
  #unix_sock_ro_perms = "0777"
  #<% if @unix_sock_ro_perms != '0777' -%>
  unix_sock_ro_perms = "<%= scope.lookupvar('libvirt::unix_sock_ro_perms') %>"
  #<% end -%>
  
  