Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道是否要安装 vim 之类的东西,我必须运行命令 apt-get install vim,还是应该更改我的 puphpetconfig.yaml来执行此操作,然后再执行一次,然后vagrant up重新开始下载和安装的整个过程?
apt-get install vim
config.yaml
vagrant up
您不应在Puppet 管理的 VM 中手动安装任何内容。使用config.yaml!只需将所需的包添加到 server.packages 数组,然后运行$ vagrant provision.
$ vagrant provision