On Nov 9, 10:13 am, Bakul <bakul.ghug...@gmail.com> wrote:
> I know that would be better option but it's not possible to do it at
> this point (due to some non-technical issue). Is there anyway this can
> be handled in puppet.

Your manifests cannot directly specify command line parameters to be
passed to yum.  As I already wrote, however, you can configure yum
(in /etc/yum.conf) so that -y is always assumed.  (man yum.conf)

Alternatively, you can create a new or modified yum package provider
that does this, and install it into Puppet.  That would narrow the
scope to which the -y default would apply.  (http://
docs.puppetlabs.com/guides/custom_types.html)

I reiterate, however, that these options are not just _worse_ than
building proper packages: they are BAD.

If the jboss-fix package contains only a few files then it might be
better all around to just manage those files directly, instead of
distributing them in RPM form.  Especially so if the changes are all
in config files.

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

Reply via email to