James Shubin 4d9d0d4548 resources: Improve AutoEdge API and pkg breakage
I previously broke the pkg auto edges because the package list wasn't
available by the time it was called. This fixes the pkg resource so that
it gets the necessary list of packages when needed. Since this means
that a possible failure could happen, we also update the AutoEdges API
to support errors. Errors can only be generated at AutoEdge struct
creation, once the struct has been returned (right before modification
of the graph structure) there is no possibility to return any errors.

It's important to remember that the AutoEdges stuff gets called because
the Init of each resource, so make sure it doesn't depend on anything
that happens there or that gets cached as a result of Init.

This is all much nicer now and has a test too :)
2017-06-02 22:15:28 -04:00
2016-09-18 05:47:33 -04:00
2016-05-21 12:57:28 -04:00
2017-03-03 21:04:29 -08:00
2017-02-16 01:34:32 -05:00
2017-02-12 23:02:12 +01:00
2016-05-21 11:08:14 +02:00
2017-02-12 23:02:12 +01:00
2017-03-07 14:17:53 -08:00
2017-02-21 07:07:41 +01:00
2015-09-25 01:16:03 -04:00
2017-02-16 01:34:32 -05:00
2017-02-16 01:34:32 -05:00
2017-02-16 01:34:32 -05:00
2016-01-04 21:00:13 -05:00
2015-09-25 01:16:03 -04:00
2017-04-13 04:35:59 -04:00
2015-09-25 01:16:03 -04:00
2017-02-10 11:55:58 -05:00
2017-03-11 08:41:56 -05:00
2017-06-02 03:32:53 -04:00

mgmt: next generation config management!

mgmt!

Go Report Card Build Status GoDoc IRC Jenkins

Community:

Come join us in the mgmt community!

Medium Link
IRC #mgmtconfig on Freenode
Twitter @mgmtconfig & #mgmtconfig
Mailing list mgmtconfig-list@redhat.com

Status:

Mgmt is a fairly new project. We're working towards being minimally useful for production environments. We aren't feature complete for what we'd consider a 1.x release yet. With your help you'll be able to influence our design and get us there sooner!

Documentation:

Please read, enjoy and help improve our documentation!

Documentation Additional Notes
general documentation for everyone
quick start guide for mgmt developers
resource guide for mgmt developers
godoc API reference for mgmt developers
prometheus guide for everyone
puppet guide for puppet sysadmins

Questions:

Please ask in the community! If you have a well phrased question that might benefit others, consider asking it by sending a patch to the documentation FAQ section. I'll merge your question, and a patch with the answer!

Roadmap:

Please see: TODO.md for a list of upcoming work and TODO items. Please get involved by working on one of these items or by suggesting something else! Feel free to grab one of the straightforward #mgmtlove issues if you're a first time contributor to the project or if you're unsure about what to hack on!

Bugs:

Please set the DEBUG constant in main.go to true, and post the logs when you report the issue. Bonus points if you provide a shell or OMV reproducible test case. Feel free to read my article on debugging golang programs.

Patches:

We'd love to have your patches! Please send them by email, or as a pull request.

On the web:

Author Format Subject
James Shubin blog Next generation configuration mgmt
James Shubin video Introductory recording from DevConf.cz 2016
James Shubin video Introductory recording from CfgMgmtCamp.eu 2016
Julian Dunn video On mgmt at CfgMgmtCamp.eu 2016
Walter Heck slides On mgmt at CfgMgmtCamp.eu 2016
Marco Marongiu blog On mgmt
Felix Frank blog From Catalog To Mgmt (on puppet to mgmt "transpiling")
James Shubin blog Automatic edges in mgmt (...and the pkg resource)
James Shubin blog Automatic grouping in mgmt
John Arundel tweet “Puppets days are numbered.”
Felix Frank blog Puppet, Meet Mgmt (on puppet to mgmt internals)
Felix Frank blog Puppet Powered Mgmt (puppet to mgmt tl;dr)
James Shubin blog Automatic clustering in mgmt
James Shubin video Recording from CoreOSFest 2016
James Shubin video Recording from DebConf16 (Slides)
Felix Frank blog Edging It All In (puppet and mgmt edges)
Felix Frank blog Translating All The Things (puppet to mgmt translation warnings)
James Shubin video Recording from systemd.conf 2016
James Shubin blog Remote execution in mgmt
James Shubin video Recording from High Load Strategy 2016
James Shubin video Recording from NLUUG 2016
James Shubin blog Send/Recv in mgmt
James Shubin blog Metaparameters in mgmt
James Shubin video Recording from Incontro DevOps 2017
Yves Brissaud blog mgmt aux HumanTalks Grenoble (french)

Happy hacking!

Description
No description provided
Readme 12 MiB
Languages
Go 95%
Shell 2.3%
Yacc 0.9%
Makefile 0.8%
JavaScript 0.4%
Other 0.6%