]> gitweb.fluxo.info Git - puppet-bootstrap.git/commitdiff
Another LAMP example
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 20 Aug 2015 01:18:28 +0000 (22:18 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 20 Aug 2015 01:18:28 +0000 (22:18 -0300)
manifests/bootstrap/vagrant.pp

index d24ed9079659a7367e24c298b5bb395539605b96..47305dc5e1fa8e7166b2a1c478f5725925f52ec1 100644 (file)
@@ -12,12 +12,27 @@ class { 'nodo':
   role => 'vagrant',
 }
 
-# LAMP
+#
+# 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',
 #}