论文标题
推土机:通过执行分析和合成将外壳命令迁移到Ansible模块
Dozer: Migrating Shell Commands to Ansible Modules via Execution Profiling and Synthesis
论文作者
论文摘要
软件开发人员经常使用系统外壳执行配置管理任务。不幸的是,外壳不能很好地扩展到大型系统,而诸如Ansible之类的配置管理工具更难学习。我们用Dozer解决了这一问题,Dozer是一种帮助开发人员将其壳命令推入Ansible任务定义的技术。它是通过跟踪和比较系统调用来找到具有与Shell命令相似行为的Ansible模块的操作,然后生成和验证迁移以找到与系统产生最相似更改的任务。 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.