> It's rather confusing because I do have www-date defined in a file > called group.pp > > Which has the user defined like this: > > group { 'www-data': > ensure => 'present', > gid => '33' > }
I don't see that you have a user resource for the www-data user. What you've defined above is a group resource. It's common to have a group and a user by the same name, but they aren't the same thing: on most unix OSes, groups are configured in /etc/group, and users in /etc/passwd. When you run useradd manually, you are creating the user. If you write a user resource in your manifest, like user { 'www-data': ensure => present, uid => 48, gid => 'www-data' } that would also create the user. You'd also want your service resource to require User['www-data'] as well as Group['www-data']. Charles Johnson sez: > We use CentOS 5.x and by default httpd runs as the apache user and not > www-data. I believe the www-data user is common in Debian and derivatives (eg Ubuntu). - Ah, I see the references to CentOS in the manifest. *shrug* -- 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.