I am using Ubuntu LTS 10.04 with the backported puppet 2.6.1-0ubuntu2~lucid1
I am trying to create user with the following manifests but at the end always getting the Could not find user git error message: What am i missing, seems the manifest not creating the missing git user. /etc/modules/git/manifests/user.pp class git::user { user{'install': name => 'install', ensure => absent, } user{'git': name => 'git', password => 'xxxxx', ensure => present, comment => 'Git user for puppet', managehome => true, shell => '/bin/bash', uid => '1000', require => User['install'], provider => 'useradd', } Some other classes uses this as requirement: /etc/modules/git/manifests/ssh.pp class git::ssh { package{'ssh': ensure => installed, } file{'dir': ensure => directory, path => '/home/git/.ssh', require => User['git'], } file{'authkey': path => '/home/git/.ssh/authorized_keys', ensure => file, source => '/etc/puppet/modules/git/files/ authorized_keys', owner => 'git', group => 'git', mode => '600', recurse => true, require => User['git'], } /etc/modules/git/manifests/init.pp class git { package{'git-core': ensure => installed, } file{'config': path => '/etc/puppet/.git/config', ensure => file, source => '/etc/puppet/modules/git/files/config', } file{'post_receive': path => '/etc/puppet/.git/hooks/post-receive', ensure => file, source => '/etc/puppet/modules/git/files/post- receive', } file{'dirrights': path => '/etc/puppet', owner => 'git', group => 'root', mode => '755', recurse => true, require => User['git'], } } Thank you Peter -- 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.