Hello, is there a way to install rpm packages that are located on the puppetmaster without copying them, or even rpm packages that are outside the LAN? I tried this: class packages_rpm { package { "rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm": source => "puppet:///files/rpm/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm", ensure => installed, provider => rpm, } } and got Mon Sep 01 14:11:21 +0000 2008 //Node[default]/packages_rpm/Package[rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm]/ensure (err): change from absent to present failed: Execution of ''/bin/rpm -i --oldpackage puppet:///files/rpm/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm'' returned 1: error: open of puppet:///files/rpm/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm failed: No such file or directory greetings Rupertt --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hi> is there a way to install rpm packages that are located on the > puppetmaster without copying them, > or even rpm packages that are outside the LAN? > I tried this: > > class packages_rpm { > package { > "rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm": > source => > "puppet:///files/rpm/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm", > ensure => installed, > provider => rpm, > } > > } > > > and got > > Mon Sep 01 14:11:21 +0000 2008 > //Node[default]/packages_rpm/Package[rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm]/ensure > (err): change from absent to present failed: Execution of ''/bin/rpm -i > --oldpackage puppet:///files/rpm/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm'' > returned 1: error: open of > puppet:///files/rpm/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm failed: > No such file or directorythe puppet protocol is not supported by yum, so you can''t use it that way. the better approach is to setup a repository for the packages you''d like to install. greets pete --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Jeroen van Meeuwen (GMail)
2008-Sep-01 15:47 UTC
[Puppet Users] Re: remote source for rpm?
Heiko wrote:> Hello, > is there a way to install rpm packages that are located on the > puppetmaster without copying them, > or even rpm packages that are outside the LAN? > I tried this: > > class packages_rpm { > package { > "rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm": > source => > "puppet:///files/rpm/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm", > ensure => installed, > provider => rpm, > } > > } >I think you can just use: source => "http://server/path/to/rpm" Kind regards, Jeroen van Meeuwen -kanarip --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---