Hi, I''m using FreeBSD and puppet-0.24.7 I want to update several ports. This, for instance, works fine: class package_joe3{ $packagelist_joe3 = ["joe-3.*"] package{ $packagelist_joe3: ensure => latest, provider => ports } } problem is, that we''re changing to portsnap and with portsnap configured, the class shown above doesn''t automatically install the latest port. Does anybody know how to do that? I know http://reductivelabs.com/trac/puppet/wiki/PuppetFreeBSD but that''s only for updating and fetching the portsnap ports, right? Is there anyting like provider => portsnap ? regards, Bernd --~--~---------~--~----~------------~-------~--~----~ 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 again, just wanted to correct something: If I uninstall a port, the most current one is installed. But if for instance joe-3.5 is already installed, puppet doesn''t upgrade to 3.7 (which is the current at the moment). On Mar 4, 10:44 pm, "kuh...@gmx.net" <kuh...@gmx.net> wrote:> Hi, I''m using FreeBSD and puppet-0.24.7 > > I want to update several ports. This, for instance, works fine: > > class package_joe3{ > $packagelist_joe3 = ["joe-3.*"] > package{ > $packagelist_joe3: > ensure => latest, > provider => ports > } > > } > > problem is, that we''re changing to portsnap and with portsnap > configured, the class shown above doesn''t automatically install the > latest port. Does anybody know how to do that? > > I know > http://reductivelabs.com/trac/puppet/wiki/PuppetFreeBSD > > but that''s only for updating and fetching the portsnap ports, right? > Is there anyting like > provider => portsnap > ? > > regards, > Bernd--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Le mercredi 04 mars 2009 à 13:47 -0800, kuhlen@gmx.net a écrit :> Hi again, > just wanted to correct something: > > If I uninstall a port, the most current one is installed. But if for > instance joe-3.5 is already installed, puppet doesn''t upgrade to 3.7 > (which is the current at the moment).Portsnap is only used to fetch & extract the ports tree. The ports provider is not versionnable so latest acts as installed (someone correct me if I''m wrong). You may set a crontab to run portsnap each night if you want to update your port tree but if you have a slightly large number of machine I recommend to set up a local mirror in order to speed up the process & reduce the load for the project servers. Bye, -- Nicolas Szalay Administrateur systèmes & réseaux -- _ ASCII ribbon campaign ( ) - against HTML email X & vCards / \
> > Portsnap is only used to fetch & extract the ports tree. The ports > provider is not versionnable so latest acts as installed (someone > correct me if I''m wrong). >Hi, according to http://reductivelabs.com/trac/puppet/wiki/TypeReference#package the ports-providers supports upgrading (upgradable) and it works as long as csup is responsible for /usr/ports puppet successfully updated joe3.5 to joe3.7. But after "portsnap fetch / porsnap extract" that doesn''t work anymore. regards, Bernd --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---