- name: stateofthemap
run_list:
- recipe[stateofthemap::default]
+ - name: switch2osm
+ run_list:
+ - recipe[switch2osm::default]
- name: tilecache
run_list:
- recipe[tilecache::default]
- name: "Test Kitchen (stateofthemap)"
script:
- bundle exec kitchen test stateofthemap-ubuntu-1804
+ - name: "Test Kitchen (switch2osm)"
+ script:
+ - bundle exec kitchen test switch2osm-ubuntu-1804
- name: "Test Kitchen (tilecache)"
script:
- bundle exec kitchen test tilecache-ubuntu-1804
version "1.0.0"
supports "ubuntu"
-depends "wordpress"
+depends "apache"
+depends "git"
# See the License for the specific language governing permissions and
# limitations under the License.
#
+
include_recipe "apache"
include_recipe "git"
package %w[
ruby
ruby-dev
+ libssl-dev
zlib1g-dev
+ pkg-config
]
apache_module "expires"
--- /dev/null
+require "serverspec"
+
+# Required by serverspec
+set :backend, :exec
+
+describe package("apache2") do
+ it { should be_installed }
+end
+
+describe service("apache2") do
+ it { should be_enabled }
+ it { should be_running }
+end
+
+describe port(80) do
+ it { should be_listening.with("tcp") }
+end
+
+describe port(443) do
+ it { should be_listening.with("tcp") }
+end