summaryrefslogtreecommitdiff
path: root/puppet/manifests/bootstrap/vagrant.pp
blob: 47305dc5e1fa8e7166b2a1c478f5725925f52ec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# This manifest is intended to configure a vagrant
# virtual machine.
#

#
# Class definitions
#

# Vagrant classes
class { 'nodo':
  role => 'vagrant',
}

#
# LAMP example
#
#include database
#
#class { 'apache':
#  default_folder => '/vagrant',
#  default_user   => 'vagrant',
#  default_group  => 'vagrant',
#}
#
# If you want to manage another website
#apache::site { "myapp":
#  docroot        => "/vagrant/",
#  server_alias   => 'myapp vagrant localhost',
#  use            => [ "Site myapp" ],
#  tag            => 'all',
#  owner          => vagrant,
#  group          => vagrant,
#  mpm_user       => vagrant,
#  mpm_group      => vagrant,
#  password       => '$5$NZfZqcdyZ3Xt$.kfZejriEJP3fc6RU0gBGEzMPQ/c3XiowVImB6VDrtD',
#  shell          => '/bin/bash',
#}