On Thu, Sep 23, 2010 at 3:00 PM, Joseph Griffiths <[email protected]> wrote:
> Hello All,
>
> I am pretty new to puppet and struggle with the syntax any help with
> this problem means a lot...  I am trying to install an RPM on a RHEL
> system via puppet on the command line it works great.   Here is the
> section of code.
>
> # Push out the rpms used
>                                file { "/usr/local/src/nagios/rpms":
Perhaps /usr/local/src/nagios/rpms/perl-Socket6-0.23-1.el5.rf.x86_64.rpm
>                                        replace => true,
>                                        source => "puppet:///files/
> redhat/nagios/x86_64/install_rpm",
The same as above here
>                                        recurse => true,
>                                        ensure => directory,
>                                }
> # Section above works
>                                package { "perl-Socket":
>                                        ensure => present,
>                                        provider => "rpm",
>                                        source => "/usr/local/src/
> nagios/rpms/perl-Socket6-0.23-1.el5.rf.x86_64.rpm",
> #                                       require => File["/usr/local/
> src/nagios/rpms/perl-Socket6-0.23-1.el5.rf.x86_64.rpm"],
>                                }
>
> When testing on the client rpm -qa | grep -i Socket  I get nothing...
>
> Any suggestions are very welcome.  (The source file does exist already
> after one run)
>
> Thanks,
> Joseph
>
> --
> 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.
>
>

-- 
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.

Reply via email to