Edited /etc/puppetlabs/puppet/manifests/site.pp file as follows:
node 'puppet.client.net' { include user }
Edited /etc/puppetlabs/puppet/manifests/init.pp file as follows:
class user {
user { 'hellboy':
ensure => present,
comment => 'user',
home => '/home/hellboy',
managehome => true
}
}
--
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 puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/75bfb8e2-51aa-4c05-a124-ff4c931f5bff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Johan De Wit Open Source Consultant Red Hat Certified Engineer (805008667232363) Puppet Certified Professional 2013/2014 (PCP0000006) blog : http://johan.koewacht.net/ _________________________________________________________ Open-Future Phone +32 (0)2/255 70 70 Zavelstraat 72 Fax +32 (0)2/255 70 71 3071 KORTENBERG Mobile +32 (0)474/42 40 73 BELGIUM http://www.open-future.be _________________________________________________________
Upcoming Events:
Puppet Practitioner | http://www.open-future.be/puppet-practitioner-training-17th-till-19th-february
Bacula Administrator 1 | http://www.open-future.be/bacula-administrator-i-training-24th-till-26th-february
Zabbix Certified Specialist | http://www.open-future.be/zabbix-certified-specialist-training-2nd-till-4th-march
Zabbix Certified Professional | http://www.open-future.be/zabbix-certified-professional-training-5th-till-6th-march
Bacula Administrator 1 | http://www.open-future.be/bacula-administrator-i-training-10th-till-12th-march
Puppet Fundamentals | http://www.open-future.be/puppet-fundamentals-training-16th-till-18th-march
Puppet Architect | http://www.open-future.be/puppet-architect-training-19th-till-20th-march
Subscribe to our newsletter: http://eepurl.com/BUG8H
Hi,I am tried to creating the user account on puppet agent.puppet agent is not reflecting my changes.Edited /etc/puppetlabs/puppet/manifests/site.pp file as follows:
node 'puppet.client.net' { include user }Edited /etc/puppetlabs/puppet/manifests/init.pp file as follows:class user { user { 'hellboy': ensure => present, comment => 'user', home => '/home/hellboy', managehome => true } }
After that I have run below command on puppet agent[root@puppet ~]# puppet agent --testInfo: Retrieving pluginfactsInfo: Retrieving pluginInfo: Loading factsInfo: Caching catalog for puppet.client.netInfo: Applying configuration version '1424761232'Notice: Finished catalog run in 3.44 seconds