On Mon, Jun 25, 2012 at 05:46:39PM -0400, Worker Bee wrote: > Hi Everyone; > > Why does running "puppet resource" require root/sudo access? Is it > supposed to be this way or do I have a permissions issue? > I installed using the gzip files... > > Thanks! >
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 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.