Puppet Add Users

I am new to puppet
Please let me know where to learn this topic

thanks
mohammed iqbal

You can enroll in this course from kodekloud

I am enrolled and gone through the course, I could not found the related topic.
i did following
created pp file on master
user { ‘ammar’:
ensure => ‘present’,
uid => ’1727’,
}

executed the on agent
puppet agent --test

giving below error

Error: The certificate for ‘CN=stapp01.stratos.xfusioncorp.com’ does not match its private key
Error: Could not run: The certificate for ‘CN=stapp01.stratos.xfusioncorp.com’ does not match its private key

i always get this error when i run from stapp01 agent .
puppet agent --test

Try with sudo privilege.

sudo puppet agent -t
1 Like

Oops, It was not giving any permission error
Thanks, it worked.