Issue #9651 has been updated by Joe McDonagh.

File mtier.rb added

Yes they are somewhat related, I left comments on those other tickets. Attached 
the mtier provider with a slight mod for flavors here. My tab spacing is set to 
3, so in accordance with Puppet code base, it would need to be modified to two 
spaces I think. Also, the mtier guys needs to sign a CLA afaik.
----------------------------------------
Bug #9651: OpenBSD Package provider is fubar'd
https://projects.puppetlabs.com/issues/9651

Author: Joe McDonagh
Status: Investigating
Priority: Normal
Assignee: Joe McDonagh
Category: package
Target version: 
Affected Puppet version: 2.7.3
Keywords: 
Branch: 


This provider used to work in .25.4, now the obvious failure is it runs 
'pkg_add $source' instead of pkg_add $name, but even if you fix that it still 
doesn't really seem to be working properly. The code is fairly confusing at 
points and it's kind of unclear what is trying to be achieved at times, as in 
pieces of code seem totally useless. With no comments, tough to tell. I took a 
crack at fixing it and wasn't really getting far. I think the thing just needs 
to be re-written.  To compound the problem, pkg_add is working like a faulty 
init script and returning 0 even when it fails. Might want to address this in 
the code somehow by re-running the instances method and seeing if it is in 
there on exit code 0, if not raise a puppeterror. That could have a performance 
impact I guess on large package sets though.

There is a package provider that probably works in the mtier puppetlabs.com 
blog post, A Puffy in the Corporate something or other.

I can probably assist with this, but I'm not going to really put too much into 
it til someone from PL has a response to the issue.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to