Alternatively, you can use two-step approach to install RPM located at 
Puppet Master:
1. Copy the rpm file from Puppet Master to Puppet Agent
2. Install the rpm file on Puppet Agent from local path

This looks like following:
class ...{
... 
  package { 'python-boto':
    ensure => installed,
    provider => 'rpm',
    source => '/tmp/python-boto.rpm',
    require  => File["/tmp/python-boto.rpm"],
  }

  file { "/tmp/python-boto.rpm":
    source => 
'puppet:///modules/profile/python-boto-2.5.2-3.el6.noarch.rpm',
  }  
...
}

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