Skip to content

Commit

Permalink
Update platform fixtures and chefspec supported platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
svanzoest committed Mar 25, 2016
1 parent e3b55c3 commit 314fd99
Show file tree
Hide file tree
Showing 5 changed files with 115 additions and 17 deletions.
6 changes: 3 additions & 3 deletions spec/support/supported_platforms.rb
Expand Up @@ -3,10 +3,10 @@ def supported_platforms
platforms = {
'amazon' => ['2014.09'],
'ubuntu' => ['14.04'],
'debian' => ['7.6'],
'fedora' => %w(18 21),
'debian' => ['7.9'],
'fedora' => %w(23),
'redhat' => ['7.0'],
'centos' => ['6.5'],
'centos' => ['6.7'],
'freebsd' => ['10.0'],
'opensuse' => ['13.1']
}
Expand Down
48 changes: 48 additions & 0 deletions test/fixtures/platforms/amazon/2016.03.json
@@ -0,0 +1,48 @@
{
"apache": {
"version": "2.4",
"package": "httpd24",
"devel_package": "httpd24-devel",
"binary": "/usr/sbin/httpd",
"mpm": "prefork",
"dir": "/etc/httpd",
"lib_dir": "/usr/lib64/httpd",
"libexec_dir": "/usr/lib64/httpd/modules",
"cache_dir": "/var/cache/httpd",
"cgibin_dir": "/var/www/cgi-bin",
"docroot_dir": "/var/www/html",
"conf": "/etc/httpd/conf/httpd.conf",
"perl_pkg": "perl",
"log_dir": "/var/log/httpd",
"root_group": "root",
"service_name": "httpd",
"service_reload_command": "/sbin/service httpd graceful",
"default_site_name": "default",
"default_site_enabled": false,
"default_modules": [
"status",
"alias",
"auth_basic",
"authn_file",
"authz_core",
"authz_groupfile",
"authz_host",
"authz_user",
"autoindex",
"dir",
"env",
"mime",
"negotiation",
"setenvif"
],
"mod_auth_openid": {
"version": "0.8"
},
"mod_ssl": {
"pkg_name": "mod24_ssl"
},
"mod_php5": {
"so_filename": "libphp.so"
}
}
}
48 changes: 48 additions & 0 deletions test/fixtures/platforms/centos/6.7.json
@@ -0,0 +1,48 @@
{
"apache": {
"package": "httpd",
"devel_package": "httpd-devel",
"binary": "/usr/sbin/httpd",
"mpm": "prefork",
"dir": "/etc/httpd",
"lib_dir": "/usr/lib64/httpd",
"libexec_dir": "/usr/lib64/httpd/modules",
"cache_dir": "/var/cache/httpd",
"cgibin_dir": "/var/www/cgi-bin",
"docroot_dir": "/var/www/html",
"conf": "/etc/httpd/conf/httpd.conf",
"perl_pkg": "perl",
"log_dir": "/var/log/httpd",
"root_group": "root",
"service_name": "httpd",
"service_reload_command": "/sbin/service httpd graceful",
"service_restart_command": "/sbin/service httpd restart && sleep 1",
"default_site_name": "default",
"default_site_enabled": false,
"default_modules": [
"status",
"alias",
"auth_basic",
"authn_file",
"authz_core",
"authz_groupfile",
"authz_host",
"authz_user",
"autoindex",
"dir",
"env",
"mime",
"negotiation",
"setenvif"
],
"mod_auth_openid": {
"version": "0.8"
},
"mod_ssl": {
"pkg_name": "mod_ssl"
},
"mod_php5": {
"so_filename": "libphp5.so"
}
}
}
File renamed without changes.
@@ -1,21 +1,22 @@
{
"apache": {
"package": "apache2",
"devel_package": "apache2-prefork-dev",
"binary": "/usr/sbin/apache2",
"version": "2.4",
"package": "httpd",
"devel_package": "httpd-devel",
"binary": "/usr/sbin/httpd",
"mpm": "prefork",
"dir": "/etc/apache2",
"lib_dir": "/usr/lib/apache2",
"libexec_dir": "/usr/lib/apache2/modules",
"cache_dir": "/var/cache/apache2",
"cgibin_dir": "/usr/lib/cgi-bin",
"docroot_dir": "/var/www",
"conf": "/etc/apache2/apache2.conf",
"dir": "/etc/httpd",
"lib_dir": "/usr/lib64/httpd",
"libexec_dir": "/usr/lib64/httpd/modules",
"cache_dir": "/var/cache/httpd",
"cgibin_dir": "/var/www/cgi-bin",
"docroot_dir": "/var/www/html",
"conf": "/etc/httpd/conf/httpd.conf",
"perl_pkg": "perl",
"log_dir": "/var/log/apache2",
"log_dir": "/var/log/httpd",
"root_group": "root",
"service_name": "apache2",
"default_site_name": "000-default",
"service_name": "httpd",
"default_site_name": "default",
"default_site_enabled": false,
"default_modules": [
"status",
Expand All @@ -31,7 +32,8 @@
"env",
"mime",
"negotiation",
"setenvif"
"setenvif",
"systemd"
],
"mod_auth_openid": {
"version": "0.8"
Expand Down

0 comments on commit 314fd99

Please sign in to comment.