--- lib/puppet/provider/user/pw.rb.orig 2017-02-01 04:53:32 UTC +++ lib/puppet/provider/user/pw.rb @@ -2,13 +2,13 @@ require 'puppet/provider/nameservice/pw' require 'open3' Puppet::Type.type(:user).provide :pw, :parent => Puppet::Provider::NameService::PW do - desc "User management via `pw` on FreeBSD and DragonFly BSD." + desc "User management via `pw` on FreeBSD, BSDSUniX and DragonFly BSD." commands :pw => "pw" has_features :manages_homedir, :allows_duplicates, :manages_passwords, :manages_expiry, :manages_shell - defaultfor :operatingsystem => [:freebsd, :dragonfly] - confine :operatingsystem => [:freebsd, :dragonfly] + defaultfor :operatingsystem => [:freebsd, :dragonfly, :bsdsunix] + confine :operatingsystem => [:freebsd, :dragonfly, :bsdsunix] options :home, :flag => "-d", :method => :dir options :comment, :method => :gecos