Don Jackson
2010-Oct-16 23:53 UTC
[Puppet Users] darwinports package provider under MacOS X
I am attempting to use install some macports packages via puppet: My manifest looks like this: $macportsineed = [ ''ncftp'', ''git-core'' ] package { $macportsineed : ensure => ''installed'', provider => ''darwinport'', } Here is the message I get from puppetd: debug: Puppet::Type::Package::ProviderDarwinport: Executing ''/opt/local/bin/port upgrade git-core'' err: //Node[macaddr-c8bcc8937cf9]/Package[git-core]/ensure: change from absent to present failed: Execution of ''/opt/local/bin/port upgrade git-core'' returned 1: Error: git-core is not installed To report a bug, see <http://guide.macports.org/#project.tickets> debug: Puppet::Type::Package::ProviderDarwinport: Executing ''/opt/local/bin/port upgrade ncftp'' err: //Node[macaddr-c8bcc8937cf9]/Package[ncftp]/ensure: change from absent to present failed: Execution of ''/opt/local/bin/port upgrade ncftp'' returned 1: Error: ncftp is not installed To report a bug, see <http://guide.macports.org/#project.tickets> What am I doing wrong? I am using puppetd --version 2.6.1 -- 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.
Nigel Kersten
2010-Oct-17 20:54 UTC
Re: [Puppet Users] darwinports package provider under MacOS X
Don, it sounds like you may have hit: http://projects.puppetlabs.com/issues/2331 You can grab the ''macports'' provider from that bug report, and use that in place of the existing ''darwinports'' provider. There''s probably a good argument to be made that we should have considered this a bug and "patched" the current releases with the new provider, and if you feel strongly that was what we should have done, please add your voice to that bug report. On Sat, Oct 16, 2010 at 4:53 PM, Don Jackson < puppet-users@clark-communications.com> wrote:> > I am attempting to use install some macports packages via puppet: > > My manifest looks like this: > > $macportsineed = [ ''ncftp'', ''git-core'' ] > package { $macportsineed : > ensure => ''installed'', > provider => ''darwinport'', > } > > > Here is the message I get from puppetd: > > debug: Puppet::Type::Package::ProviderDarwinport: Executing > ''/opt/local/bin/port upgrade git-core'' > err: //Node[macaddr-c8bcc8937cf9]/Package[git-core]/ensure: change from > absent to present failed: Execution of ''/opt/local/bin/port upgrade > git-core'' returned 1: Error: git-core is not installed > To report a bug, see <http://guide.macports.org/#project.tickets> > > debug: Puppet::Type::Package::ProviderDarwinport: Executing > ''/opt/local/bin/port upgrade ncftp'' > err: //Node[macaddr-c8bcc8937cf9]/Package[ncftp]/ensure: change from absent > to present failed: Execution of ''/opt/local/bin/port upgrade ncftp'' returned > 1: Error: ncftp is not installed > To report a bug, see <http://guide.macports.org/#project.tickets> > > > What am I doing wrong? > > I am using puppetd --version > > 2.6.1 > > -- > 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<puppet-users%2Bunsubscribe@googlegroups.com> > . > 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 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.