For illustrating purposes,
I need a *david* user with home directory /haha/david,
and at the same time, the directory /haha also needs to be owned by *david*.

this code does not work,
because user requires the /haha directory, and the /haha directory requires 
the david user,
so we have a circular dependency,
and it seems that puppet does not know how to handle this.

user {'david':
  ensure      => present,
  home        => '/haha/david',
  managehome  => true
}

file {'/haha':
  ensure => directory,
  owner  => 'david'
}


how to solve this?



-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/da03b929-db57-4964-acf9-060beec69d2c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to