TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Automating Development Environments with Vagrant and Puppet

109 点作者 analogAndroid将近 12 年前

11 条评论

WestCoastJustin将近 12 年前
This is a very nice write up. If anyone is interested, I&#x27;ve put several screencasts together about Vagrant [1], creating a Vagrant box with Veewee [2], and Learning Puppet with Vagrant.<p>[1] <a href="http://sysadmincasts.com/episodes/4-vagrant" rel="nofollow">http:&#x2F;&#x2F;sysadmincasts.com&#x2F;episodes&#x2F;4-vagrant</a><p>[2] <a href="http://sysadmincasts.com/episodes/5-create-a-vagrant-box-with-veewee" rel="nofollow">http:&#x2F;&#x2F;sysadmincasts.com&#x2F;episodes&#x2F;5-create-a-vagrant-box-wit...</a><p>[3] <a href="http://sysadmincasts.com/episodes/8-learning-puppet-with-vagrant" rel="nofollow">http:&#x2F;&#x2F;sysadmincasts.com&#x2F;episodes&#x2F;8-learning-puppet-with-vag...</a>
评论 #5974679 未加载
评论 #5973939 未加载
narsil将近 12 年前
I have been using Vagrant for development on my Mac for over a year now and it has made having consistent dev, test and prod environments so much easier. I see others who dev on a Mac and deploy to Ubuntu running into a myriad of issues, ranging from libraries not compiling correctly to TCP sockets lingering on TIME_WAIT for different periods of time. It&#x27;s nice to avoid that class of bugs.
contingencies将近 12 年前
The limitation with this type of approach is the assumption of a conventional (and, some would say, out of date) architecture, ie. single service on a single VM on a single cloud provider.<p>Topology specification, firewalling, resource constraints (bandwidth, IO speed&#x2F;resilience... ie. RAID&#x2F;backup persistence safety), service cohabitation or codependence, performance&#x2F;capacity testing, cost, cloud provider abstraction, public DNS+SSL+sofware package distribution infrastructure dependencies, legal jurisdiction considerations, speed of instantiation, etc. are all realistic considerations (often requirements) for much modern infrastructure.<p>In short: this only gets you half-way, for relatively simple examples. But if your workload is within that space, by all means go for it.<p>(PS. Before anyone snaps &#x27;you can manage multiple hosts with &lt;tool&gt;&#x27;, sure. But the architecture of the tools begins to present issues.)
评论 #5975470 未加载
评论 #5975759 未加载
thecodemonkey将近 12 年前
If you&#x27;re interested in getting up and running with a full development environment, I created a minimal LAMP stack utilizing the deliciousness of Vagrant and Chef. It&#x27;s available on GitHub <a href="https://github.com/MiniCodeMonkey/Vagrant-LAMP-Stack" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;MiniCodeMonkey&#x2F;Vagrant-LAMP-Stack</a><p>There has been a lot of discussions about which provisioner to use, but at the end of the day they all achieve the same goal. I would personally just use one that you feel comfortable with, in the sense of configuration system and structure.
评论 #5976059 未加载
Axsuul将近 12 年前
I myself am also a big fan of vagrant although it can be tough on your machine when working on multiple projects at the same time. Often times I find myself running out of memory and it can be quite tedious having to halt and bring back my vagrant boxes when I jump from project to project. Perhaps docker can address this issue someday?
评论 #5976568 未加载
joemaller1将近 12 年前
If you&#x27;re just getting started with Vagrant and find yourself stuck, try a different provisioner. I had a lot of trouble wrapping my head around Puppet, but was up and running with Ansible very quickly. Puppet, Chef and Ansible can all be used to build out your Vagrant VM&#x27;s environment.
评论 #5974554 未加载
评论 #5975045 未加载
评论 #5974243 未加载
deadfall将近 12 年前
Nice write up. I have been using Vagrant for a while now and it has made it really easy to move environments around to different machines. Mitchell Hashimoto is a brilliant guy.
rhelmer将近 12 年前
I did a bit of extra work to make my puppet manifests work outside of vagrant too, so I can use a simple script to install to any Ubuntu base box (e.g. bare metal, EC2, docker, etc) - <a href="https://github.com/mozilla/socorro/blob/master/puppet/ubuntu-bootstrap.sh" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mozilla&#x2F;socorro&#x2F;blob&#x2F;master&#x2F;puppet&#x2F;ubuntu...</a>
ckdarby将近 12 年前
This could have been 1&#x2F;10th the content<p><a href="https://puphpet.com/" rel="nofollow">https:&#x2F;&#x2F;puphpet.com&#x2F;</a>
评论 #5974286 未加载
评论 #5976598 未加载
评论 #5974315 未加载
ethanaustinite将近 12 年前
The author should really check out saltstack (with or without vagrant).
评论 #5975782 未加载
sandGorgon将近 12 年前
why are people not using Docker as compared to Vagrant ? Doesnt it consume way less memory ?
评论 #5978525 未加载
评论 #5978106 未加载
评论 #5982463 未加载