Thanks to all that contributed.  I managed to solve the issue.  Transpires 
that the permissions  on the files and directories (0640 for the most part) 
was not sufficient.  I had to ensure that all files in question had 0644 
and directories at 0755 permissions set to get this to work.  A simple 
permission denied error somewhere among the logs would of been helpful!!

Thanks again,
Dan.

On Sunday, September 29, 2019 at 9:19:13 PM UTC+1, Andreas Ntaflos wrote:
>
> On 28.09.19 12:15, Martin Alfke wrote: 
> > Hi Dirk, 
> > 
> > you are including class accounts within node default classification. 
> > The accounts module does not do anything unless you add data to it. 
> > 
> > Please look at https://github.com/puppetlabs/puppetlabs-accounts and 
> check if the following example is working: 
>
> It doesn't look like Dan is using the puppetlabs-accounts module. His 
> accounts module just creates a user and a group (copy/pasting the code 
> from the initial post): 
>
> # more 
> /etc/puppetlabs/code/environments/production/modules/accounts/manifests/init.pp
>  
>
> class accounts { 
>
>   include accounts::groups 
>
>   user { 'djc72uk': 
>     ensure      => present, 
>     home        => '/home/djc72uk', 
>     shell       => '/bin/bash', 
>     managehome  => true, 
>     gid         => 'djc72uk', 
>   } 
>
> } 
>
> # more 
> /etc/puppetlabs/code/environments/production/modules/accounts/manifests/groups.pp
>  
>
> class accounts::groups { 
>
>   group { 'djc72uk': 
>     ensure  => present, 
>   } 
> } 
>
> Andreas 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/4a709aee-0057-4498-92f8-7b24ec4a31b4%40googlegroups.com.

Reply via email to