Skip to content

Commit 4a98626

Browse files
committed
Squashed commit of the following:
commit aac0f64 Author: Juan Treminio <[email protected]> Date: Sat Apr 18 11:20:15 2015 -0500 Fixes issue with empty environments variable; incorrectly calling job.hour for multiple fields commit 2ab715a Author: Juan Treminio <[email protected]> Date: Sat Apr 18 11:11:48 2015 -0500 Enables nginx autoindex commit aae84e1 Author: Juan Treminio <[email protected]> Date: Sat Apr 18 00:47:36 2015 -0500 Fixes for https commit 1fb59c0 Author: Juan Treminio <[email protected]> Date: Sat Apr 18 00:45:31 2015 -0500 Fixes for https commit 5d9f1d3 Author: Juan Treminio <[email protected]> Date: Sat Apr 18 00:38:09 2015 -0500 Fixes use of "vm_target_key" value commit 0d4ff9a Author: Juan Treminio <[email protected]> Date: Fri Apr 17 23:44:43 2015 -0500 Checks if values exist before looping commit dae5a94 Author: Juan Treminio <[email protected]> Date: Fri Apr 17 23:44:22 2015 -0500 getExtensionData => getExtensionAvailableData commit ddef73d Author: Juan Treminio <[email protected]> Date: Fri Apr 17 23:43:55 2015 -0500 Bug requires fog/version be included commit f7ed001 Author: Juan Treminio <[email protected]> Date: Fri Apr 17 18:50:43 2015 -0500 Replaces "require" with "eval File.read()" commit 48bdce1 Author: Juan Treminio <[email protected]> Date: Fri Apr 17 18:50:30 2015 -0500 Merges minimum required data with submitted before creating archive file commit e0f56d8 Author: Juan Treminio <[email protected]> Date: Fri Apr 17 18:38:58 2015 -0500 Fixes tests commit 1ac78cb Author: Juan Treminio <[email protected]> Date: Fri Apr 17 18:30:56 2015 -0500 Separates available_data from data/default keys commit 32a8425 Author: Juan Treminio <[email protected]> Date: Fri Apr 17 17:04:14 2015 -0500 Unit tests! commit 1563cf0 Author: Juan Treminio <[email protected]> Date: Fri Apr 17 17:03:52 2015 -0500 Custom config should call template, not index commit c22de79 Author: Juan Treminio <[email protected]> Date: Fri Apr 17 11:31:27 2015 -0500 Unit\TestExtensions -> Unit\BaseTest commit 7627c10 Author: Juan Treminio <[email protected]> Date: Fri Apr 17 11:31:07 2015 -0500 Hides YAML library behind method for mocking commit 77c4660 Author: Juan Treminio <[email protected]> Date: Fri Apr 17 11:30:23 2015 -0500 Adds BASE_TEST_DIR commit f856ad4 Author: Juan Treminio <[email protected]> Date: Fri Apr 17 11:29:53 2015 -0500 Disables opcache and bumps up error reporting commit 7beb25e Author: Juan Treminio <[email protected]> Date: Fri Apr 17 08:49:12 2015 -0500 Redirects /help and /about pages commit 60e9a56 Author: Juan Treminio <[email protected]> Date: Fri Apr 17 02:17:44 2015 -0500 Adds intro description commit 6c5767a Author: Juan Treminio <[email protected]> Date: Fri Apr 17 01:51:27 2015 -0500 fixes top tabs not showing proper content when quickly switching commit 23882bd Author: Juan Treminio <[email protected]> Date: Fri Apr 17 01:30:21 2015 -0500 Adds frontpage commit 061e6b5 Author: Juan Treminio <[email protected]> Date: Thu Apr 16 19:08:24 2015 -0500 Converts about and help page to v5 design commit 5fcf913 Author: Juan Treminio <[email protected]> Date: Thu Apr 16 10:13:37 2015 -0500 Removes "install" text commit b1e4e75 Author: Juan Treminio <[email protected]> Date: Thu Apr 16 10:10:39 2015 -0500 Removes checkbox for ruby/python. Removes "install" text commit 9ac1171 Author: Juan Treminio <[email protected]> Date: Thu Apr 16 09:58:50 2015 -0500 Fixes issue with modal not displaying commit 9a1873b Author: Juan Treminio <[email protected]> Date: Wed Apr 15 23:29:27 2015 -0500 Fixes link to cron tab commit db47f3e Author: Juan Treminio <[email protected]> Date: Wed Apr 15 23:29:18 2015 -0500 Sets min. height for form commit e09fd7e Author: Juan Treminio <[email protected]> Date: Wed Apr 15 13:09:01 2015 -0500 Use JS to disable hidden form fields commit 2d5cefa Author: Juan Treminio <[email protected]> Date: Wed Apr 15 12:23:28 2015 -0500 Fixes bad routing for vagrantfiles commit ece0882 Author: Juan Treminio <[email protected]> Date: Wed Apr 15 11:40:45 2015 -0500 Adds border to sidebar commit 48fdff4 Author: Juan Treminio <[email protected]> Date: Wed Apr 15 10:49:20 2015 -0500 Reversed default disable form fields commit e1c27f9 Author: Juan Treminio <[email protected]> Date: Wed Apr 15 10:37:26 2015 -0500 Adds empty forwarded_port values commit e1b209b Author: Juan Treminio <[email protected]> Date: Wed Apr 15 10:19:31 2015 -0500 Adds footer commit 2ec941d Author: Juan Treminio <[email protected]> Date: Wed Apr 15 10:02:27 2015 -0500 Vagrantfile inherits from proper target commit 1df3769 Author: Juan Treminio <[email protected]> Date: Wed Apr 15 10:02:09 2015 -0500 Disables non-selected target on start commit cd2d902 Author: Juan Treminio <[email protected]> Date: Wed Apr 15 01:17:57 2015 -0500 Handles vagrantfile providers in custom data commit e36067b Author: Juan Treminio <[email protected]> Date: Wed Apr 15 00:39:14 2015 -0500 Covers local-only values commit 34a24dc Author: Juan Treminio <[email protected]> Date: Wed Apr 15 00:33:07 2015 -0500 Simplifies extensions commit 98891e8 Author: Juan Treminio <[email protected]> Date: Tue Apr 14 22:53:53 2015 -0500 Fixes bad field names commit 607e663 Author: Juan Treminio <[email protected]> Date: Tue Apr 14 22:15:23 2015 -0500 Converts create section to v5 design commit cfb4886 Author: Juan Treminio <[email protected]> Date: Tue Apr 14 22:15:08 2015 -0500 Adds missing font files commit 323714c Author: Juan Treminio <[email protected]> Date: Tue Apr 14 20:47:29 2015 -0500 Removes unneeded services.yml; moves Vagrantfiles to archive directory commit 7e3d02c Author: Juan Treminio <[email protected]> Date: Tue Apr 14 20:26:46 2015 -0500 Removes v4 assets commit d4cf0b8 Author: Juan Treminio <[email protected]> Date: Tue Apr 14 20:15:06 2015 -0500 Converts solr to v5 design commit 2869021 Author: Juan Treminio <[email protected]> Date: Tue Apr 14 19:46:15 2015 -0500 Converts elastic search to v5 design commit 5caa520 Author: Juan Treminio <[email protected]> Date: Tue Apr 14 17:32:56 2015 -0500 Converts rabbitmq to v5 design commit 9f41c58 Author: Juan Treminio <[email protected]> Date: Tue Apr 14 16:41:33 2015 -0500 Converts beanstalkd to v5 design commit 09f03cd Author: Juan Treminio <[email protected]> Date: Tue Apr 14 15:42:14 2015 -0500 converts mailcatcher to v5 design commit ff0c1e2 Author: Juan Treminio <[email protected]> Date: Tue Apr 14 15:28:11 2015 -0500 Converts sqlite to v5 design commit b17e178 Author: Juan Treminio <[email protected]> Date: Tue Apr 14 15:10:05 2015 -0500 Converts redis to v5 design commit 4b8ff06 Author: Juan Treminio <[email protected]> Date: Tue Apr 14 14:32:03 2015 -0500 Removes old bundle commit 5e17148 Author: Juan Treminio <[email protected]> Date: Tue Apr 14 14:31:46 2015 -0500 Updates name of template commit a102732 Author: Juan Treminio <[email protected]> Date: Tue Apr 14 14:30:50 2015 -0500 Converts mongodb to v5 design commit daa704d Author: Juan Treminio <[email protected]> Date: Tue Apr 14 14:30:39 2015 -0500 Removes extra class commit 1446418 Author: Juan Treminio <[email protected]> Date: Tue Apr 14 13:39:04 2015 -0500 Renames to lowercase commit 2ed26ff Author: Juan Treminio <[email protected]> Date: Tue Apr 14 13:38:12 2015 -0500 Renames to lowercase commit e089d4c Author: Juan Treminio <[email protected]> Date: Tue Apr 14 13:37:46 2015 -0500 Converts postgresql to v5 design commit a4cb358 Author: Juan Treminio <[email protected]> Date: Tue Apr 14 13:36:50 2015 -0500 Spacing commit a9f4460 Author: Juan Treminio <[email protected]> Date: Tue Apr 14 12:59:23 2015 -0500 Radio to checkbox commit 6a48ac4 Merge: 2f2d8ac ee15c85 Author: Juan Treminio <[email protected]> Date: Sat Apr 11 10:57:44 2015 -0500 Merge branch 'fix/disable-responsiveness' of https://github.com/stefanotorresi/puphpet into stefanotorresi-fix/disable-responsiveness commit 2f2d8ac Author: Juan Treminio <[email protected]> Date: Sat Apr 11 10:56:58 2015 -0500 Renaming to lowercase commit b1ec2d3 Author: Juan Treminio <[email protected]> Date: Sat Apr 11 10:55:41 2015 -0500 Renaming to lowercase commit ed771ad Author: Juan Treminio <[email protected]> Date: Sat Apr 11 10:54:41 2015 -0500 Converts mysql to v5 design commit 802521a Author: Juan Treminio <[email protected]> Date: Fri Apr 10 13:55:10 2015 -0500 Deletes old hhvm bundle commit 7657e49 Author: Juan Treminio <[email protected]> Date: Fri Apr 10 13:31:21 2015 -0500 Converts hhvm to v5 design commit 96a6dda Author: Juan Treminio <[email protected]> Date: Fri Apr 10 13:00:07 2015 -0500 Deletes old nodejs bundle commit a7d2398 Author: Juan Treminio <[email protected]> Date: Fri Apr 10 12:59:07 2015 -0500 Converts nodejs to v5 design commit 50f2baf Author: Juan Treminio <[email protected]> Date: Thu Apr 9 00:37:35 2015 -0500 Renames to lowercase commit aeb17fe Author: Juan Treminio <[email protected]> Date: Thu Apr 9 00:35:58 2015 -0500 Renames to lowercase commit 2486898 Author: Juan Treminio <[email protected]> Date: Thu Apr 9 00:35:25 2015 -0500 Renames to lowercase commit d1b0c35 Author: Juan Treminio <[email protected]> Date: Thu Apr 9 00:35:06 2015 -0500 Converts python to v5 design commit 8a91b30 Author: Juan Treminio <[email protected]> Date: Wed Apr 8 23:32:36 2015 -0500 Renames to lowercase commit 90888f4 Author: Juan Treminio <[email protected]> Date: Wed Apr 8 23:32:09 2015 -0500 Renames to lowercase commit f5436a7 Author: Juan Treminio <[email protected]> Date: Wed Apr 8 23:31:49 2015 -0500 Converts ruby to v5 design commit 1db855d Author: Juan Treminio <[email protected]> Date: Wed Apr 8 14:37:52 2015 -0500 Converts PHP, Drush, WP-CLI, XDebug, Xhprof to v5 design commit b1077b5 Author: Juan Treminio <[email protected]> Date: Wed Apr 8 12:29:15 2015 -0500 Renaming to lower case commit 07bb58f Author: Juan Treminio <[email protected]> Date: Wed Apr 8 12:28:07 2015 -0500 Renaming to lower case commit 5980d8a Author: Juan Treminio <[email protected]> Date: Wed Apr 8 12:11:23 2015 -0500 Renaming to lower case commit df12ac5 Author: Juan Treminio <[email protected]> Date: Wed Apr 8 12:11:10 2015 -0500 Renaming to lower case commit 401b218 Author: Juan Treminio <[email protected]> Date: Wed Apr 8 12:10:15 2015 -0500 Major refactoring commit 34eefa9 Author: Juan Treminio <[email protected]> Date: Wed Apr 8 00:21:40 2015 -0500 Simplifies structure commit 74463ce Author: Juan Treminio <[email protected]> Date: Tue Apr 7 17:14:32 2015 -0500 Uses slideDown() for showing deploy targets commit e7f9866 Author: Juan Treminio <[email protected]> Date: Tue Apr 7 16:31:40 2015 -0500 Updates to use new PUPHPET.toggleDisplayOnSelect() commit 6442010 Author: Juan Treminio <[email protected]> Date: Tue Apr 7 16:31:08 2015 -0500 Refactors handling display/hide on checking checkbox/radio commit 1eed17e Author: Juan Treminio <[email protected]> Date: Tue Apr 7 16:30:37 2015 -0500 Removes "!important" from .hidden commit f89c6b4 Author: Juan Treminio <[email protected]> Date: Tue Apr 7 13:30:14 2015 -0500 Converts Apache to v5 design commit ebd1045 Author: Juan Treminio <[email protected]> Date: Tue Apr 7 13:30:06 2015 -0500 Updates gitattribues commit cf84bd2 Author: Juan Treminio <[email protected]> Date: Tue Apr 7 13:23:00 2015 -0500 Adds gitattributes commit 1ff1ba0 Author: Juan Treminio <[email protected]> Date: Mon Apr 6 21:09:59 2015 -0500 Adds help block commit 1a8f54b Author: Juan Treminio <[email protected]> Date: Mon Apr 6 16:11:27 2015 -0500 PUPHPET.toggleDisplayOnSelect() expected element name without # or . commit 836a6d3 Author: Juan Treminio <[email protected]> Date: Mon Apr 6 16:11:02 2015 -0500 Converts Nginx to v5 design commit 7f9e05f Author: Juan Treminio <[email protected]> Date: Fri Apr 3 13:37:52 2015 -0500 Adds custom files tab commit f6694db Author: Juan Treminio <[email protected]> Date: Fri Apr 3 12:55:03 2015 -0500 Hides inactive deploy target contents commit 2db3d22 Author: Juan Treminio <[email protected]> Date: Fri Apr 3 11:43:12 2015 -0500 Jumps to top of page on tab change commit 43959ce Author: Juan Treminio <[email protected]> Date: Fri Apr 3 11:24:50 2015 -0500 darkens input field borders; clearfix all the things commit 06f0140 Author: Juan Treminio <[email protected]> Date: Fri Apr 3 01:26:21 2015 -0500 Sets up dual columns commit cf36b00 Merge: e0afec1 175e619 Author: Juan Treminio <[email protected]> Date: Thu Apr 2 13:02:14 2015 -0500 Merge branch 'theme-5.0' of github.com:puphpet/puphpet into theme-5.0 commit e0afec1 Author: Juan Treminio <[email protected]> Date: Thu Apr 2 13:01:50 2015 -0500 Converts CronBundle to v5 design commit ee15c85 Author: Stefano Torresi <[email protected]> Date: Tue Mar 31 18:22:43 2015 +0200 remove top navbar collapsing commit 9a1859e Author: Stefano Torresi <[email protected]> Date: Tue Mar 31 17:50:01 2015 +0200 remove meta viewport commit 175e619 Merge: ccba6ad a3c5426 Author: Juan Treminio <[email protected]> Date: Tue Mar 31 08:53:23 2015 -0500 Merge pull request puphpet#1489 from pborreli/patch-1 Fixed typo commit a3c5426 Author: Pascal Borreli <[email protected]> Date: Tue Mar 31 13:47:01 2015 +0000 Fixed typo commit ccba6ad Author: Juan Treminio <[email protected]> Date: Mon Mar 30 17:51:44 2015 -0500 Sets up more pages commit 3821f3b Author: Juan Treminio <[email protected]> Date: Mon Mar 30 11:53:27 2015 -0500 Converts VagrantfileIkoulaCloudBundle to v5 design commit ba9566c Author: Juan Treminio <[email protected]> Date: Mon Mar 30 11:33:54 2015 -0500 Converts VagrantfileDigitalOceanBundle to v5 design commit be5787a Author: Juan Treminio <[email protected]> Date: Mon Mar 30 11:21:25 2015 -0500 Converts VagrantfileGceBundle to v5 design commit e718b09 Author: Juan Treminio <[email protected]> Date: Mon Mar 30 11:21:11 2015 -0500 Moves private key path above private key username commit b199862 Author: Juan Treminio <[email protected]> Date: Mon Mar 30 11:04:41 2015 -0500 Clarifies rackspace cloud commit d7175b4 Author: Juan Treminio <[email protected]> Date: Mon Mar 30 11:04:10 2015 -0500 Fixes wrong div element commit bc83241 Author: Juan Treminio <[email protected]> Date: Mon Mar 30 11:00:41 2015 -0500 Converts VagrantfileAwsBundle to v5 design commit 2d928d4 Author: Juan Treminio <[email protected]> Date: Mon Mar 30 10:25:22 2015 -0500 Fixes margin on large icons commit 616de3e Author: Juan Treminio <[email protected]> Date: Mon Mar 30 10:16:53 2015 -0500 Fixes checkbox moving on select commit 0f40edd Author: Juan Treminio <[email protected]> Date: Mon Mar 30 10:13:59 2015 -0500 Fades out unselected radio boxes commit 9836dd6 Author: Juan Treminio <[email protected]> Date: Mon Mar 30 09:57:37 2015 -0500 Updates Linode default image commit 71df11a Author: Juan Treminio <[email protected]> Date: Mon Mar 30 09:53:49 2015 -0500 Converts VagrantfileSoftLayerBundle to v5 design commit b7382ad Author: Juan Treminio <[email protected]> Date: Mon Mar 30 09:53:31 2015 -0500 Fixes incorrect help-text commit 36b13e0 Author: Juan Treminio <[email protected]> Date: Mon Mar 30 09:32:42 2015 -0500 Removes "required" in html inputs commit 73ec4ac Author: Juan Treminio <[email protected]> Date: Mon Mar 30 09:21:58 2015 -0500 Converts VagrantfileLinodeBundle to v5 design commit a12e8eb Author: Juan Treminio <[email protected]> Date: Mon Mar 30 09:20:52 2015 -0500 Removes instructions page commit 08e48b9 Author: Juan Treminio <[email protected]> Date: Mon Mar 30 09:20:41 2015 -0500 Clarifies some labels commit 91e7e0c Author: Juan Treminio <[email protected]> Date: Mon Mar 30 09:20:23 2015 -0500 Clarifies where VM will live for local deployment commit 625860e Merge: 1c4e62d bd23079 Author: Juan Treminio <[email protected]> Date: Mon Mar 30 09:00:09 2015 -0500 Merge branch 'master' into theme-5.0 commit 1c4e62d Author: Juan Treminio <[email protected]> Date: Sat Mar 28 00:40:02 2015 -0500 Fix CRLF commit e9d1989 Author: Juan Treminio <[email protected]> Date: Sat Mar 28 00:39:34 2015 -0500 Converts VagrantfileRackspaceBundle to v5 design commit 23f342b Author: Juan Treminio <[email protected]> Date: Sat Mar 28 00:39:09 2015 -0500 Adds section header; removes extra "local" in field name commit 47a5746 Author: Juan Treminio <[email protected]> Date: Sat Mar 28 00:38:06 2015 -0500 Adds id to page header block, removes extra clearfix commit dd25e01 Author: Juan Treminio <[email protected]> Date: Sat Mar 28 00:37:04 2015 -0500 Changes page header on section change commit 29f505d Author: Juan Treminio <[email protected]> Date: Fri Mar 27 17:39:02 2015 -0500 Converts VagrantfileLocalBundle to v5 design commit ffcb861 Author: Juan Treminio <[email protected]> Date: Fri Mar 27 17:38:28 2015 -0500 Forces lowercase uniqid; was not using defined prepend commit 2b7b258 Author: Juan Treminio <[email protected]> Date: Fri Mar 27 17:38:02 2015 -0500 Adds vendor files for v5
1 parent bd23079 commit 4a98626

File tree

762 files changed

+21117
-26042
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

762 files changed

+21117
-26042
lines changed

.gitattributes

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
* text=auto
2+
3+
*.css text
4+
*.dist text
5+
*.js text
6+
*.json text
7+
*.lock text
8+
*.md text
9+
*.php text
10+
*.pp text
11+
Puppetfile text
12+
*.rb text
13+
*.sh text
14+
*.txt text
15+
*.twig text
16+
Vagrantfile text
17+
*.yaml text
18+
*.yml text
19+
20+
# Denote all files that are truly binary and should not be modified.
21+
*.ico binary
22+
*.gif binary
23+
*.jpg binary
24+
*.png binary

app/AppKernel.php

-34
Original file line numberDiff line numberDiff line change
@@ -15,40 +15,6 @@ public function registerBundles()
1515
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
1616
new Puphpet\MainBundle\PuphpetMainBundle(),
1717
new Cocur\Slugify\Bridge\Symfony\CocurSlugifyBundle(),
18-
19-
new Puphpet\Extension\VagrantfileLocalBundle\PuphpetExtensionVagrantfileLocalBundle(),
20-
new Puphpet\Extension\VagrantfileRackspaceBundle\PuphpetExtensionVagrantfileRackspaceBundle(),
21-
new Puphpet\Extension\VagrantfileLinodeBundle\PuphpetExtensionVagrantfileLinodeBundle(),
22-
new Puphpet\Extension\VagrantfileSoftlayerBundle\PuphpetExtensionVagrantfileSoftlayerBundle(),
23-
new Puphpet\Extension\VagrantfileAwsBundle\PuphpetExtensionVagrantfileAwsBundle(),
24-
new Puphpet\Extension\VagrantfileGceBundle\PuphpetExtensionVagrantfileGceBundle(),
25-
new Puphpet\Extension\VagrantfileDigitalOceanBundle\PuphpetExtensionVagrantfileDigitalOceanBundle(),
26-
new Puphpet\Extension\VagrantfileIkoulaCloudBundle\PuphpetExtensionVagrantfileIkoulaCloudBundle(),
27-
new Puphpet\Extension\PackageBundle\PuphpetExtensionPackageBundle(),
28-
new Puphpet\Extension\UserGroupBundle\PuphpetExtensionUserGroupBundle(),
29-
new Puphpet\Extension\CronBundle\PuphpetExtensionCronBundle(),
30-
new Puphpet\Extension\ApacheBundle\PuphpetExtensionApacheBundle(),
31-
new Puphpet\Extension\NginxBundle\PuphpetExtensionNginxBundle(),
32-
new Puphpet\Extension\PhpBundle\PuphpetExtensionPhpBundle(),
33-
new Puphpet\Extension\WPCliBundle\PuphpetExtensionWPCliBundle(),
34-
new Puphpet\Extension\DrushBundle\PuphpetExtensionDrushBundle(),
35-
new Puphpet\Extension\XdebugBundle\PuphpetExtensionXdebugBundle(),
36-
new Puphpet\Extension\XhprofBundle\PuphpetExtensionXhprofBundle(),
37-
new Puphpet\Extension\MysqlBundle\PuphpetExtensionMysqlBundle(),
38-
new Puphpet\Extension\PostgresqlBundle\PuphpetExtensionPostgresqlBundle(),
39-
new Puphpet\Extension\BeanstalkdBundle\PuphpetExtensionBeanstalkdBundle(),
40-
new Puphpet\Extension\MongoDbBundle\PuphpetExtensionMongoDbBundle(),
41-
new Puphpet\Extension\ElasticSearchBundle\PuphpetExtensionElasticSearchBundle(),
42-
new Puphpet\Extension\MailCatcherBundle\PuphpetExtensionMailCatcherBundle(),
43-
new Puphpet\Extension\RabbitMQBundle\PuphpetExtensionRabbitMQBundle(),
44-
new Puphpet\Extension\HhvmBundle\PuphpetExtensionHhvmBundle(),
45-
new Puphpet\Extension\RedisBundle\PuphpetExtensionRedisBundle(),
46-
new Puphpet\Extension\SqliteBundle\PuphpetExtensionSqliteBundle(),
47-
new Puphpet\Extension\FirewallBundle\PuphpetExtensionFirewallBundle(),
48-
new Puphpet\Extension\RubyBundle\PuphpetExtensionRubyBundle(),
49-
new Puphpet\Extension\NodeJsBundle\PuphpetExtensionNodeJsBundle(),
50-
new Puphpet\Extension\PythonBundle\PuphpetExtensionPythonBundle(),
51-
new Puphpet\Extension\SolrBundle\PuphpetExtensionSolrBundle(),
5218
);
5319

5420
if (in_array($this->getEnvironment(), array('dev', 'test'))) {

app/config/routing.yml

-124
Original file line numberDiff line numberDiff line change
@@ -1,127 +1,3 @@
11
puphpet.main:
22
resource: "@PuphpetMainBundle/Resources/config/routing.yml"
33
prefix: /
4-
5-
puphpet.extension.vagrantfilelocal:
6-
resource: "@PuphpetExtensionVagrantfileLocalBundle/Resources/config/routing.yml"
7-
prefix: /extension/vagrantfile/local
8-
9-
puphpet.extension.vagrantfile.rackspace:
10-
resource: "@PuphpetExtensionVagrantfileRackspaceBundle/Resources/config/routing.yml"
11-
prefix: /extension/vagrantfile/rackspace
12-
13-
puphpet.extension.vagrantfile.linode:
14-
resource: "@PuphpetExtensionVagrantfileLinodeBundle/Resources/config/routing.yml"
15-
prefix: /extension/vagrantfile/linode
16-
17-
puphpet.extension.vagrantfile.softlayer:
18-
resource: "@PuphpetExtensionVagrantfileSoftlayerBundle/Resources/config/routing.yml"
19-
prefix: /extension/vagrantfile/softlayer
20-
21-
puphpet.extension.vagrantfile.aws:
22-
resource: "@PuphpetExtensionVagrantfileAwsBundle/Resources/config/routing.yml"
23-
prefix: /extension/vagrantfile/aws
24-
25-
puphpet.extension.vagrantfile.gce:
26-
resource: "@PuphpetExtensionVagrantfileGceBundle/Resources/config/routing.yml"
27-
prefix: /extension/vagrantfile/gce
28-
29-
puphpet.extension.vagrantfile.ikoulacloud:
30-
resource: "@PuphpetExtensionVagrantfileIkoulaCloudBundle/Resources/config/routing.yml"
31-
prefix: /extension/vagrantfile/ikoula-cloud
32-
33-
puphpet.extension.vagrantfile.digital_ocean:
34-
resource: "@PuphpetExtensionVagrantfileDigitalOceanBundle/Resources/config/routing.yml"
35-
prefix: /extension/vagrantfile/digitalocean
36-
37-
puphpet.extension.package:
38-
resource: "@PuphpetExtensionPackageBundle/Resources/config/routing.yml"
39-
prefix: /extension/package
40-
41-
puphpet.extension.user_group:
42-
resource: "@PuphpetExtensionUserGroupBundle/Resources/config/routing.yml"
43-
prefix: /extension/user-group
44-
45-
puphpet.extension.cron:
46-
resource: "@PuphpetExtensionCronBundle/Resources/config/routing.yml"
47-
prefix: /extension/cron
48-
49-
puphpet.extension.apache:
50-
resource: "@PuphpetExtensionApacheBundle/Resources/config/routing.yml"
51-
prefix: /extension/apache
52-
53-
puphpet.extension.nginx:
54-
resource: "@PuphpetExtensionNginxBundle/Resources/config/routing.yml"
55-
prefix: /extension/nginx
56-
57-
puphpet.extension.php:
58-
resource: "@PuphpetExtensionPhpBundle/Resources/config/routing.yml"
59-
prefix: /extension/php
60-
61-
puphpet.extension.hhvm:
62-
resource: "@PuphpetExtensionHhvmBundle/Resources/config/routing.yml"
63-
prefix: /extension/hhvm
64-
65-
puphpet.extension.xdebug:
66-
resource: "@PuphpetExtensionXdebugBundle/Resources/config/routing.yml"
67-
prefix: /extension/xdebug
68-
69-
puphpet.extension.xhprof:
70-
resource: "@PuphpetExtensionXhprofBundle/Resources/config/routing.yml"
71-
prefix: /extension/xhprof
72-
73-
puphpet.extension.wpcli:
74-
resource: "@PuphpetExtensionWPCliBundle/Resources/config/routing.yml"
75-
prefix: /extension/wpcli
76-
77-
puphpet.extension.mysql:
78-
resource: "@PuphpetExtensionMysqlBundle/Resources/config/routing.yml"
79-
prefix: /extension/mysql
80-
81-
puphpet.extension.postgresql:
82-
resource: "@PuphpetExtensionPostgresqlBundle/Resources/config/routing.yml"
83-
prefix: /extension/postgresql
84-
85-
puphpet.extension.mongodb:
86-
resource: "@PuphpetExtensionMongoDbBundle/Resources/config/routing.yml"
87-
prefix: /extension/mongodb
88-
89-
puphpet.extension.beanstalkd:
90-
resource: "@PuphpetExtensionBeanstalkdBundle/Resources/config/routing.yml"
91-
prefix: /extension/beanstalkd
92-
93-
puphpet.extension.rabbitmq:
94-
resource: "@PuphpetExtensionRabbitMQBundle/Resources/config/routing.yml"
95-
prefix: /extension/rabbitmq
96-
97-
puphpet.extension.elastic-search:
98-
resource: "@PuphpetExtensionElasticSearchBundle/Resources/config/routing.yml"
99-
prefix: /extension/elastic-search
100-
101-
puphpet.extension.mailcatcher:
102-
resource: "@PuphpetExtensionMailCatcherBundle/Resources/config/routing.yml"
103-
prefix: /extension/mailcatcher
104-
105-
puphpet.extension.redis:
106-
resource: "@PuphpetExtensionRedisBundle/Resources/config/routing.yml"
107-
prefix: /extension/redis
108-
109-
puphpet.extension.sqlite:
110-
resource: "@PuphpetExtensionSqliteBundle/Resources/config/routing.yml"
111-
prefix: /extension/sqlite
112-
113-
puphpet.extension.firewall:
114-
resource: "@PuphpetExtensionFirewallBundle/Resources/config/routing.yml"
115-
prefix: /extension/firewall
116-
117-
puphpet.extension.ruby:
118-
resource: "@PuphpetExtensionRubyBundle/Resources/config/routing.yml"
119-
prefix: /extension/ruby
120-
121-
puphpet.extension.nodejs:
122-
resource: "@PuphpetExtensionNodeJsBundle/Resources/config/routing.yml"
123-
prefix: /extension/nodejs
124-
125-
puphpet.extension.python:
126-
resource: "@PuphpetExtensionPythonBundle/Resources/config/routing.yml"
127-
prefix: /extension/python

archive/Vagrantfile

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
dir = File.dirname(File.expand_path(__FILE__))
2+
3+
require 'yaml'
4+
require "#{dir}/puphpet/ruby/deep_merge.rb"
5+
6+
configValues = YAML.load_file("#{dir}/puphpet/config.yaml")
7+
8+
if File.file?("#{dir}/puphpet/config-custom.yaml")
9+
custom = YAML.load_file("#{dir}/puphpet/config-custom.yaml")
10+
configValues.deep_merge!(custom)
11+
end
12+
13+
data = configValues['vagrantfile']
14+
15+
Vagrant.require_version '>= 1.6.0'
16+
17+
eval File.read("#{dir}/puphpet/vagrant/Vagrantfile-#{data['target']}")

archive/puphpet/config.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
---

archive/puphpet/puppet/nodes/Firewall.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
if $firewall_values == undef { $firewall_values = hiera_hash('firewall', false) }
2-
if $vm_values == undef { $vm_values = hiera_hash($::vm_target_key, false) }
2+
if $vm_values == undef { $vm_values = hiera_hash('vagrantfile', false) }
33

44
include puphpet::params
55

archive/puphpet/puppet/nodes/Nginx.pp

+71-5
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,59 @@
6868
}
6969
}
7070

71+
$nginx_proxies = array_true($proxy, 'proxies') ? {
72+
true => $proxy['proxies'],
73+
default => [],
74+
}
75+
76+
each( $nginx_proxies ) |$key, $proxy| {
77+
$proxy_redirect = array_true($proxy, 'proxy_redirect') ? {
78+
true => $proxy['proxy_redirect'],
79+
default => undef,
80+
}
81+
$proxy_read_timeout = array_true($proxy, 'proxy_read_timeout') ? {
82+
true => $proxy['proxy_read_timeout'],
83+
default => $nginx::config::proxy_read_timeout,
84+
}
85+
$proxy_connect_timeout = array_true($proxy, 'proxy_connect_timeout') ? {
86+
true => $proxy['proxy_connect_timeout'],
87+
default => $nginx::config::proxy_connect_timeout,
88+
}
89+
$proxy_set_header = array_true($proxy, 'proxy_set_header') ? {
90+
true => $proxy['proxy_set_header'],
91+
default => [],
92+
}
93+
$proxy_cache = array_true($proxy, 'proxy_cache') ? {
94+
true => $proxy['proxy_cache'],
95+
default => false,
96+
}
97+
$proxy_cache_valid = array_true($proxy, 'proxy_cache_valid') ? {
98+
true => $proxy['proxy_cache_valid'],
99+
default => false,
100+
}
101+
$proxy_method = array_true($proxy, 'proxy_method') ? {
102+
true => $proxy['proxy_method'],
103+
default => undef,
104+
}
105+
$proxy_set_body = array_true($proxy, 'proxy_set_body') ? {
106+
true => $proxy['proxy_set_body'],
107+
default => undef,
108+
}
109+
110+
$proxy_merged = merge($proxy, {
111+
'proxy_redirect' => $proxy_redirect,
112+
'proxy_read_timeout' => $proxy_read_timeout,
113+
'proxy_connect_timeout' => $proxy_connect_timeout,
114+
'proxy_set_header' => $proxy_set_header,
115+
'proxy_cache' => $proxy_cache,
116+
'proxy_cache_valid' => $proxy_cache_valid,
117+
'proxy_method' => $proxy_method,
118+
'proxy_set_body' => $proxy_set_body,
119+
})
120+
121+
create_resources(nginx::resource::vhost, { "${key}" => $proxy_merged })
122+
}
123+
71124
# Creates a default vhost entry if user chose to do so
72125
if hash_key_equals($nginx_values['settings'], 'default_vhost', 1) {
73126
$nginx_vhosts = merge($nginx_values['vhosts'], {
@@ -85,6 +138,7 @@
85138
'locations' => [
86139
{
87140
'location' => '/',
141+
'autoindex' => 'off',
88142
'try_files' => ['$uri', '$uri/', 'index.php',],
89143
'fastcgi' => '',
90144
'fastcgi_index' => '',
@@ -94,6 +148,7 @@
94148
},
95149
{
96150
'location' => '~ \.php$',
151+
'autoindex' => 'off',
97152
'try_files' => [
98153
'$uri', '$uri/', 'index.php', '/index.php$is_args$args'
99154
],
@@ -161,9 +216,9 @@
161216
true => $vhost['ssl_port'],
162217
default => '443',
163218
}
164-
$rewrite_to_https = array_true($vhost, 'rewrite_to_https') ? {
219+
$rewrite_to_https = $ssl and array_true($vhost, 'rewrite_to_https') ? {
165220
true => true,
166-
default => false,
221+
default => undef,
167222
}
168223

169224
$vhost_cfg_append = deep_merge(
@@ -191,26 +246,37 @@
191246
}
192247

193248
each( $nginx_locations ) |$lkey, $location| {
249+
if $location['autoindex'] or $location['autoindex'] == 'on' {
250+
$autoindex = 'on'
251+
} else {
252+
$autoindex = 'off'
253+
}
254+
194255
# remove empty values
195256
$location_trimmed = merge({
196257
'fast_cgi_params_extra' => [],
197258
}, delete_values($location, ''))
198259

260+
# transforms user-data to expected
261+
$location_custom_data = merge($location_trimmed, {
262+
'autoindex' => $autoindex,
263+
})
264+
199265
# Takes gui ENV vars: fastcgi_param {ENV_NAME} {VALUE}
200266
$location_custom_cfg_append = prefix(
201-
$location_trimmed['fast_cgi_params_extra'],
267+
$location_custom_data['fast_cgi_params_extra'],
202268
'fastcgi_param '
203269
)
204270

205-
# separate from $location_trimmed because some values
271+
# separate from $location_custom_data because some values
206272
# really need to be set to a default.
207273
# Removes fast_cgi_params_extra because it only exists in gui
208274
# not puppet-nginx
209275
$location_no_root = delete(merge({
210276
'vhost' => $key,
211277
'ssl' => $ssl,
212278
'location_custom_cfg_append' => $location_custom_cfg_append,
213-
}, $location_trimmed), 'fast_cgi_params_extra')
279+
}, $location_custom_data), 'fast_cgi_params_extra')
214280

215281
# If www_root was removed with all the trimmings,
216282
# add it back it
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
11
ENV['VAGRANT_DEFAULT_PROVIDER'] = 'aws'
2-
dir = File.dirname(File.expand_path(__FILE__))
3-
4-
require 'yaml'
5-
require "#{dir}/puphpet/ruby/deep_merge.rb"
6-
7-
configValues = YAML.load_file("#{dir}/puphpet/config.yaml")
8-
9-
if File.file?("#{dir}/puphpet/config-custom.yaml")
10-
custom = YAML.load_file("#{dir}/puphpet/config-custom.yaml")
11-
configValues.deep_merge!(custom)
12-
end
13-
14-
data = configValues['vagrantfile-aws']
15-
16-
Vagrant.require_version '>= 1.6.0'
172

183
Vagrant.configure('2') do |config|
194
config.vm.box = 'dummy'
@@ -59,7 +44,6 @@ Vagrant.configure('2') do |config|
5944
puppet.facter = {
6045
'ssh_username' => "#{ssh_username}",
6146
'provisioner_type' => ENV['VAGRANT_DEFAULT_PROVIDER'],
62-
'vm_target_key' => 'vagrantfile-aws',
6347
}
6448
puppet.manifests_path = "#{data['vm']['provision']['puppet']['manifests_path']}"
6549
puppet.manifest_file = "#{data['vm']['provision']['puppet']['manifest_file']}"

0 commit comments

Comments
 (0)