On Thu, Jun 18, 2009 at 2:26 AM, hyde <haiwu...@gmail.com> wrote:

>
> I have puppet client on centos5, but we don't use yum to install
> packages, we use apt-rpm to install packages, so it would be 'apt-get
> install packagename' instead of 'yum install packagename'.
>
> How can I customize puppet for the above?


for a specific package:

package { "foo":
  provider => "apt-rpm",
  ...
}

to make this the default for all packages unless overriden in a specific
package resource definition:

Package { provider => "apt-rpm" }

http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#resource-defaults




>
> Thanks,
> Hai
>
> >
>


-- 
Nigel Kersten
nig...@google.com
System Administrator
Google, Inc.

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to