Hi,
you can work around your issue with the following evil-ish construct:
define my_user($uid,...)
exec {
"newly-create-user-$name":
command => "useradd -u $uid $name",
unless => "getent passwd $name",
}
->
user { $name:
# do NOT manage uid here
...
}
}
It's not ideal, but then situations in which you cannot declare the full
final state for Puppet to sync to never are.
I imagine that a feature request towards implementing a means to change
properties to creation-time parameters will be quite controversial. I
would recommend taking the scenario to the puppet-dev list as well, or
perhaps instead of opening the request outright.
Cheers,
Felix