FAQ

On Tue, 2012-07-31 at 15:58 +0700, heriyanto wrote:
asterisk package already installed. I don't plan installation for this package managed by puppet.
just want manage the file configuration.
If the package is already installed, adding
package { 'asterisk': }
to your puppet config won't do anything to your system. Puppet will
simply notice that the 'asterisk' package is already there, mark the
resource as present, and continue on with all the dependencies
satisfied.
it come up when i yum search.

actually how "require => Package" working? its checking to repos or into system?
require => Package[] doesn't do anything by itself. All it does is make
sure that the corresponding package {} resource is checked before
whatever you added the 'require' to. It just sets the order.

The package {} resource itself will query the package management system
to see if the package is installed, and will install it if it is
missing.

--
Calvin Walton <calvin.walton@kepstin.ca>

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 6 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedJul 31, '12 at 8:26a
activeJul 31, '12 at 9:11p
posts6
users5
websitepuppetlabs.com

People

Translate

site design / logo © 2022 Grokbase