On Saturday, May 4, 2019 at 5:29:53 PM UTC-5, Daniel Kinon wrote:
>
> Hey Stephen and all,
> You are correct in your assumptions, and this definitely solved my
> problem. I tried going down this path before but only met failure, looks
> like my declaration syntax might have been wrong and
On Friday, May 3, 2019 at 12:14:35 PM UTC-5, Stephen Marlow wrote:
>
> Hey Dan,
>
> The error you're getting is just saying that you've declared the
> Base::Systemusers class twice and a class can only be declared once.
>
No, not exactly. Puppet's diagnostic is deceiving here: classes may be
Hey Stephen and all,
You are correct in your assumptions, and this definitely solved my
problem. I tried going down this path before but only met failure, looks
like my declaration syntax might have been wrong and I might have also had
issues with the define syntax itself but I'm unsure at thi
Hey Dan,
The error you're getting is just saying that you've declared the
Base::Systemusers class twice and a class can only be declared once. I
suspect that your code looks something like this:
$systemusers = lookup({ name => 'base::systemusers' })
$systemusers.each |$username, $userinfo
Hello Everyone,
So I'm trying to create templates for system users. Here is my
systemusers class:
~~~
class base::systemusers (
$username = $title,
$home = "/var/lib/$username",
) {
$systemusers = lookup({ name => 'base::systemusers' })
user { $username:
ensure => present