Hi@akhtar,
You need to add your node definition to /etc/puppet/manifests/site.pp. In Puppet manifests on 'master', agents are defined using node statements as shown below.
node 'puppet-agent' {
package { 'vim' :
ensure => present,
}
}
If you run Puppet on 'puppet agent', you can see the below output.
Centos@puppet-agent:~$ sudo puppet agent --test
Info: Retrieving plugin
Info: Caching catalog for puppet-agent.ec2.internal
Info: Applying configuration version '1419623309'
Notice: Finished catalog run in 0.03 seconds