Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Class init.pp not working

Created a module called addusers. Inside the init.pp file (inside manifests) I have created a class called mitchell.pp When I run the apply there are no errors but it does nothing. What am i missing?

init.pp contains - class users { user {'mitchell': ensure => present, uid => '1009', gid => '1000', shell => '/bin/bash', home => '/home/mitchell' } }

Class init.pp not working

Created a module called addusers. Inside the init.pp file (inside manifests) I have created a class called mitchell.pp When I run the apply there are no errors but it does nothing. What am i missing?

init.pp contains - -

 class users {
        user {'mitchell':
                ensure => present,
                uid => '1009',
                gid => '1000',
                shell => '/bin/bash',
                home => '/home/mitchell'
        }
}

}