aboutsummaryrefslogtreecommitdiff
path: root/manifests/examples/silex.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/examples/silex.pp')
-rw-r--r--manifests/examples/silex.pp44
1 files changed, 0 insertions, 44 deletions
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,
-}