puppet agent is not reflecting my changes

94 views
Skip to first unread message

Raj Raju

unread,
Feb 18, 2015, 8:19:02 AM2/18/15
to puppet...@googlegroups.com
I have installed puppet enterprise 3.7.2 on centos 7.Both Puppet master and agent is working .I can able to view the node from puppet enterprise console and attached screen shot.



I created the manifest file /etc/puppetlabs/puppet/manifests/sites.pp with the following content on puppet server.

node 'puppet.client.net' {
  file { '/tmp/hello':
    content => "Hello, world\n",
  }
}

After I executed the following command on master:

 #puppet agent apply  sites.pp

And then Executed the following command on client node :

#puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for puppet.client.net
Info: Applying configuration version '1424179235'
Notice: Finished catalog run in 2.12 seconds

Puppet node does not pick any changes from master.

Dirk Heinrichs

unread,
Feb 18, 2015, 8:35:11 AM2/18/15
to puppet...@googlegroups.com
Am 18.02.2015 um 14:19 schrieb Raj Raju:
I created the manifest file /etc/puppetlabs/puppet/manifests/sites.pp with the following content on puppet server.
[...]

Puppet node does not pick any changes from master.

Because it needs to be named "site.pp", not "sites.pp".

HTH...

    Dirk
--

Dirk Heinrichs, Senior Systems Engineer, Engineering Solutions
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Tel: +49 2226 1596666 (Ansage) 1149
Email: d...@recommind.com
Skype: dirk.heinrichs.recommind
www.recommind.com
Reply all
Reply to author
Forward
0 new messages