arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.12065cs.SE
收藏

Dozer:通过执行分析和合成将Shell命令迁移到Ansible模块

Dozer: Migrating Shell Commands to Ansible Modules via Execution Profiling and Synthesis

Eric Horton, Chris Parnin

摘要:

软件开发人员经常使用系统外壳来执行配置管理任务。不幸的是,shell不能很好地扩展到大型系统,并且像Ansible这样的配置管理工具更难学习。我们使用Dozer来解决这个问题,这是一种帮助开发人员将shell命令推送到Ansible任务定义中的技术。它通过跟踪和比较系统调用来找到与shell命令行为相似的Ansible模块,然后生成和验证迁移,以找到对系统产生最相似更改的任务。Dozer是语法不可知的,这应该允许它推广到其他配置管理平台。我们使用来自开源配置脚本的数据集来评估Dozer。

英文摘要:

Software developers frequently use the system shell to perform configuration management tasks. Unfortunately, the shell does not scale well to large systems, and configuration management tools like Ansible are more difficult to learn. We address this problem with Dozer, a technique to help developers push their shell commands into Ansible task definitions. It operates by tracing and comparing system calls to find Ansible modules with similar behaviors to shell commands, then generating and validating migrations to find the task which produces the most similar changes to the system. Dozer is syntax agnostic, which should allow it to generalize to other configuration management platforms. We evaluate Dozer using datasets from open source configuration scripts.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑