puppet-vagrant

时间:2021-07-13 02:30:43
【文件属性】:
文件名称:puppet-vagrant
文件大小:18KB
文件格式:ZIP
更新时间:2021-07-13 02:30:43
Ruby 使用 Serverspec 和 Vagrant 测试 Puppet 模块 此存储库包含 OpenDNS 工程博客文章“使用 Vagrant 和 ServerSpec 测试 Puppet 模块”的代码示例,可在找到。 要求 。 在这些示例中,我使用 Vagrant 框“hashicorp/precise64”; 如果你还没有它,它会自动安装。 ,这意味着运行它的 Ruby 开发环境; 对于 OS X,我使用 。 的以下模块: 有关设置的重要说明,请参阅下面的“准备 Puppet”。 准备木偶 Puppet 模块应该在“~/puppet/modules”中。 为了准备它并获取依赖项,你可以从这个 git repo 运行 setup_puppet.sh。 或者,您可以通过编辑示例目录中的 Vagrantfile 并根据需要更改“puppet.module_path”来指定自己的这些模块的
【文件预览】:
puppet-vagrant-master
----example_1()
--------Vagrantfile(805B)
--------manifests()
----setup_puppet.sh(766B)
----LICENSE(1KB)
----.gitignore(12B)
----README.md(4KB)
----example_2()
--------Vagrantfile(805B)
--------manifests()
--------Rakefile(521B)
--------send.py(637B)
--------.rspec(31B)
--------spec()
--------receive_once.py(712B)
----example_3()
--------Vagrantfile(1KB)
--------slave_setup.sh(138B)
--------send-mirrored.py(1KB)
--------manifests()
--------master_setup.sh(189B)
--------Rakefile(521B)
--------receive_once-mirrored.py(866B)
--------send.py(637B)
--------.rspec(31B)
--------spec()
--------receive_once.py(712B)

网友评论