There are a number of ways to achieve that.
One would be to.
file { [ '/first', '/first/second' ]:
ensure => directory,
owner => 'root',
group => 'root',
mode => '0755',
before => User['julia'],
}
user { 'juila':
ensure => present,
gid => 'julia',
groups => ['users'],
# uid => '7000',
comment => 'This user was created by puppet',
require => File['/first/second'],
# managehome => true,
}
Now you can declare a require or before, you do not have to specify both,
but if you do it will not break.
As for the passing special characters. I will post something related now.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/_V9RvUlzSgAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.