puppet resource doesnt necessarily require root access. E.g. running
�puppet resource group� should show you present groups and it should
work as a normal user. Like:
% puppet resource group wheel
group { 'wheel':
ensure => 'present',
gid => '10',
}
Just note that �puppet resource some_resource_type� needs a suitable
provider for the type. Most of the providers specify a few files that
have to be executable by the user that is running puppet. The �groupadd�
provider e.g. requires the commands "groupadd", "groupdel" and "groupmod".
If your unprivileged user doesnt have these commands in $PATH or doesn't
have access rights (I guess ubuntoo ships these commands with mode 0700)
puppet will not work.
-Stefan