Notice: Package/ensure: created shows every time puppet catalog run

asked 2016-08-22 03:34:56 -0600

Manoj gravatar image

I have installed puppet 3.8.6 version. When i try to install gem files via puppet using package provider in manifest file. The client node definition as follows: node ''{

$packs = ['hashie:3.4.0', 'zabbix:0.3.0'] package { $packs: ensure => 'installed', provider => 'gem', } }

My problem is when the client node run the puppet catalogue the puppet agent shown as package ensure/created on every time puppet runs.

Info: Retrieving pluginfacts

Info: Retrieving plugin

Info: Loading facts

Info: Caching catalog for

Info: Applying configuration version '1471868134'

Notice: /Stage[main]/Main/Node[]/Package[zabbix:0.3.0]/ensure: created Notice: /Stage[main]/Main/Node[]/Package[hashie:3.4.0]/ensure: created

Notice: Finished catalog run in 33.93 seconds

How to avoid showing of Notice: /Stage[main]/Main/Node[]/Package[zabbix:0.3.0]/ensure: created Notice: /Stage[main]/Main/Node[]/Package[hashie:3.4.0]/ensure: - created that every time puppet catalog runs.

edit retag flag offensive close merge delete