> http://reductivelabs.com/trac/puppet/wiki/TypeReference#package
>
> If you don't set the provider explicitly puppet tries to choose the
> best
> one for you.
>
> > The node in question does not support yum at all. (It 's a
customized
> > appliance type linux)
>
> A patch with a few line of changes could make puppet aware of your
> customized appliance and choose the right provider automatically.
>
> cheers pete
>
Hi Pete,
I found that TypeReference page after searching around and threw the rpm
provider in my manifest. It's ignoring that value for some reason.
Would you happen to have a link on how one would write such a patch?
Here is my package declaration in case I am doing something really dumb:
class XXXX:agent::XXX {
package {
"XX-agent":
provider => rpm,
source =>
"http://yum/yum/XXXXX/5/i386/XXXXX-4.1.2.XX-1.noarch.rpm",
ensure => installed
}
service {
"XX-agent":
ensure => running,
enable => true
}
file {
"XXX-agent":
path => "/opt/XXX/hq-plugins",
ensure => directory,
owner => "XXX",
group => "XXX",
mode => 0644,
purge => true,
recurse => true,
force => true,
require => Package["XXXX"],
notify => Service["XXXX"],
ignore => ['.svn', '.git', 'CVS' ],
source => "puppet://$servername/XXXX/plugins";
}
}
I have to blank out the real names for NDA reasons.. sorry.
Thanks!
-Matt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---