aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-27 14:55:43 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-27 14:55:43 -0300
commitc6414a872cf187360bb39f23a4bbdf0010806c7d (patch)
tree3fda37e2c5e33f1152619d5da073499da557635f /manifests
parent650799734e3f82dceb769a50977ed008175e9c51 (diff)
downloadpuppet-bootstrap-c6414a872cf187360bb39f23a4bbdf0010806c7d.tar.gz
puppet-bootstrap-c6414a872cf187360bb39f23a4bbdf0010806c7d.tar.bz2
Removes examples
Diffstat (limited to 'manifests')
-rw-r--r--manifests/examples/laravel.pp48
-rw-r--r--manifests/examples/silex.pp44
-rw-r--r--manifests/examples/symfony.pp28
3 files changed, 0 insertions, 120 deletions
diff --git a/manifests/examples/laravel.pp b/manifests/examples/laravel.pp
deleted file mode 100644
index 3554ffd..0000000
--- a/manifests/examples/laravel.pp
+++ /dev/null
@@ -1,48 +0,0 @@
-class laravel {
- include php
- include database
- include nodo::utils::web
- include websites
-
- # Laravel requirement
- package { 'php5-mcrypt':
- ensure => installed,
- }
-
- apache::site { "laravel":
- docroot => "/vagrant/laravel/public",
- server_alias => 'vagrant localhost',
- use => [ "Site laravel" ],
- tag => 'all',
- owner => vagrant,
- group => vagrant,
- mpm_user => vagrant,
- mpm_group => vagrant,
- password => '$5$iu01VZigQlBm5OUb$2W9AmvI/tjwxSTYYMOHOmwYpann.PTl8jdcycp.fpl4',
- shell => '/bin/bash',
- }
-
- database::instance { "laravel":
- password => 'laravel',
- tag => 'all',
- }
-
- # TODO
- #curl -sS https://getcomposer.org/installer | php
- #sudo mv composer.phar /usr/local/bin/composer
- #cd /vagrant && rm -rf laravel
- #composer create-project laravel/laravel laravel --prefer-dist
-
- exec { 'create-laravel':
- command => '/usr/local/bin/composer create-project laravel/laravel laravel --prefer-dist',
- user => 'vagrant',
- cwd => '/vagrant',
- }
-}
-
-#
-# Class instantiations
-#
-class { 'laravel':
- stage => main,
-}
diff --git a/manifests/examples/silex.pp b/manifests/examples/silex.pp
deleted file mode 100644
index 19fdd1f..0000000
--- a/manifests/examples/silex.pp
+++ /dev/null
@@ -1,44 +0,0 @@
-# Main class
-class silex {
- include php
- include database
- include nodo::utils::web
- include websites
-
- apache::site { "silex":
- docroot => "/vagrant/silex/web",
- server_alias => 'vagrant localhost',
- use => [ "Site silex" ],
- tag => 'all',
- owner => vagrant,
- group => vagrant,
- mpm_user => vagrant,
- mpm_group => vagrant,
- password => '$5$iu01VZigQlBm5OUb$2W9AmvI/tjwxSTYYMOHOmwYpann.PTl8jdcycp.fpl4',
- shell => '/bin/bash',
- }
-
- database::instance { "silex":
- password => 'silex',
- tag => 'all',
- }
-
- # TODO
- #curl -sS https://getcomposer.org/installer | php
- #sudo mv composer.phar /usr/local/bin/composer
- #cd /vagrant/silex
- #composer install
-
- exec { 'composer-install':
- command => '/usr/local/bin/composer install',
- user => 'vagrant',
- cwd => '/vagrant/silex',
- }
-}
-
-#
-# Class instantiations
-#
-class { 'silex':
- stage => main,
-}
diff --git a/manifests/examples/symfony.pp b/manifests/examples/symfony.pp
deleted file mode 100644
index 2829b98..0000000
--- a/manifests/examples/symfony.pp
+++ /dev/null
@@ -1,28 +0,0 @@
-# Main class
-# TODO: http://symfony.com/doc/current/book/installation.html
-#
-# After provisioning, you'll probably just want to access http://localhost:PORT/config.php
-# After configuration, start navigating at http://localhost:PORT/app_dev.php/
-class symfony {
- include php
- include database
- include nodo::utils::web
- include websites
-
- # Symfony requirement
- file { '/etc/php5/conf.d/timezone.ini':
- ensure => present,
- owner => root,
- group => root,
- mode => 0644,
- content => "date.timezone = America/Sao_Paulo\n",
- notify => Service['apache'],
- }
-}
-
-#
-# Class instantiations
-#
-class { 'symfony':
- stage => main,
-}