简体   繁体   English

如何允许没有经验的用户使用我的Puppet模块

[英]How To allow unexperienced users to use my Puppet module

I am developing opensouce project with a huge pile of dependencies, and I find Puppet a perfect tool for my requirements. 我正在开发具有大量依赖关系的opensouce项目,我发现Puppet是满足我的要求的理想工具。

However, my target audience is not necessarily experienced with Puppet. 但是,我的目标受众不一定对Puppet有经验。 To the point they may not be even know how web servers work. 到目前为止,他们甚至可能不知道Web服务器如何工作。 So I would like to ask the user to “run this in terminal” for the simplest case, but if the user also wants to configure some parts of my software, he would have to learn puppet. 因此,我想请用户在最简单的情况下“在终端中运行”,但是如果用户还想配置我的软件的某些部分,则他必须学习木偶。 And educating them Puppet defeats the “servers for dummies” purpose of my project. 并且教育他们Puppet击败了我项目的“傻瓜服务器”目的。

Basically, dare I say, I need Unity from the deployment world. 基本上,我敢说,我需要部署领域的Unity。

The thing I came up with, is to use 'json' as a backend for Puppet, and then write some GUI tool that would generate/modify that json using JSON Schema. 我想到的是使用“ json”作为Puppet的后端,然后编写一些GUI工具,该工具将使用JSON模式生成/修改该json。 Of couse, this thing will be optional and experient Puppet usets could still just use my module as is. 当然,这是可选的,经验丰富的Puppet用户仍然可以照常使用我的模块。

The questiond is, am I doing it right? 问题是,我做对了吗? Is there a solution for my problem? 我的问题有解决方案吗?

Thanks in advance. 提前致谢。

These are some things that you can use. 这些是您可以使用的东西。 Have a look at these:- 看看这些:

https://puphpet.com/ https://puphpet.com/

https://github.com/voxpupuli/puppetboard https://github.com/voxpupuli/puppetboard

You can use Hieradata to give the ability to users to configure some parts for your "Software". 您可以使用Hieradata使用户能够为“软件”配置某些部分。 you can put your hiera configuration in a git repository or build a tool to edit & update this hiera configuration. 您可以将您的hiera配置放入git存储库中,或构建一个工具来编辑和更新此hiera配置。

There is some tools that you can use in order to make more easier for your users like Foreman and Puppetboard 您可以使用一些工具来使用户更轻松,例如ForemanPuppetboard

But I think it's mandatory for your users to have a basic knowledge of Puppet so they can debug or manipulate the software. 但是我认为您的用户必须具备Puppet的基本知识,以便他们可以调试或操纵该软件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM