minor edits
This commit is contained in:
9
Vagrantfile
vendored
9
Vagrantfile
vendored
@@ -1,12 +1,10 @@
|
||||
box = 'dev'
|
||||
url = 'http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box'
|
||||
box = 'fadenb/ubnt-quantal-puppet3'
|
||||
hostname = 'dev'
|
||||
ram = '4028'
|
||||
VAGRANTFILE_API_VERSION = "2"
|
||||
|
||||
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||
config.vm.box = box
|
||||
config.vm.box_url = url
|
||||
config.vm.host_name = hostname
|
||||
config.vm.network :public_network
|
||||
|
||||
@@ -14,10 +12,13 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||
v.memory = ram
|
||||
v.cpus = 2
|
||||
end
|
||||
|
||||
|
||||
config.vm.provision :puppet do |puppet|
|
||||
puppet.module_path = 'puppet/modules'
|
||||
puppet.manifests_path = 'puppet/manifests'
|
||||
puppet.manifest_file = 'site.pp'
|
||||
puppet.module_path = 'puppet/modules'
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
include baseconfig
|
||||
include devPackages
|
||||
include ubuntuDesktop
|
||||
include ubuntuDesktop
|
||||
include monoDevelop
|
||||
@@ -4,11 +4,10 @@
|
||||
#
|
||||
class baseconfig {
|
||||
|
||||
|
||||
exec { 'apt-get update':
|
||||
command => '/usr/bin/apt-get update';
|
||||
}
|
||||
host { 'hostmachine':
|
||||
}
|
||||
|
||||
file {
|
||||
'/home/vagrant/.bashrc':
|
||||
|
||||
8
puppet/modules/monodevelop/manifests/init.pp
Normal file
8
puppet/modules/monodevelop/manifests/init.pp
Normal file
@@ -0,0 +1,8 @@
|
||||
include apt
|
||||
class monoDevelop {
|
||||
|
||||
apt::ppa {"ppa:ermshiperete/monodevelop":} -> Exec["apt-get update"] -> package { "monoDevelop" :
|
||||
name=>"monodevelop-4.0",
|
||||
ensure => "installed"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user