add opensuse support for user resource

This commit is contained in:
Christoph Hartmann 2015-10-22 23:53:50 +02:00
parent ea0814939a
commit c177a511fa

View file

@ -47,7 +47,7 @@ class User < Vulcano.resource(1)
# select package manager
@user_provider = nil
case vulcano.os[:family]
when 'ubuntu', 'debian', 'redhat', 'fedora', 'centos', 'arch'
when 'ubuntu', 'debian', 'redhat', 'fedora', 'centos', 'arch', 'opensuse'
@user_provider = LinuxUser.new(vulcano)
when 'windows'
@user_provider = WindowsUser.new(vulcano)