On Friday, July 19, 2013 12:45:50 AM UTC+5:30, Mark Hatch wrote:
>
> Here is my manifest...
>
> package { 'tractor blade':
>                 provider => 'rpm',
>                 ensure   => present,
>                 source   => 
> 'puppet:///modules/mpsvfx/tractor-blade-1.7_1191418-linuxFC12_gcc44icc121.x86_64.rpm',
>                 name     => 
> 'tractor-blade-1.7_1191418-linuxFC12_gcc44icc121.x86_64.rpm',
>         }
>
>
> Here is where that file is...
>
>
> ...modules/mpsvfx/files/tractor-blade-1.7_1191418-linuxFC12_gcc44icc121.x86_64.rpm
>
> Here is the error I get...
>
> Error: Execution of '/bin/rpm -i 
> puppet:///modules/mpsvfx/tractor-blade-1.7_1191418-linuxFC12_gcc44icc121.x86_64.rpm'
>  
> returned 1: error: open of 
> puppet:///modules/mpsvfx/tractor-blade-1.7_1191418-linuxFC12_gcc44icc121.x86_64.rpm
>  
> failed: No such file or directory
>
> Anybody know what I am doing wrong?
>
> Thanks.
> Mark
>

Hi Mark,
     John is right, in package resource you can not directly use source as 
puppet file server, 
     OR i think, you can solve this issue by first transferring the .rpm 
file by file resource and then installing it through exec resource by  rpm 
-ivh command.
     This is work around solution for what you are doing.

Regards,
Sneha.

 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to