summaryrefslogtreecommitdiff
path: root/features/provider/package/apt_package.feature
blob: 72f2e0cbab684c7395db024506105ab0863cadc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@provider @package @apt
Feature: Install apt Packages from the Filesystem
  In order to automate installation of software in apt repositories
  As a Sysadmin
  I want chef to install deb packages

  Scenario: Install an apt package using the package resource
    Given I am running on a debian compatible OS
      And my dpkg architecture is 'amd64'
      And the apt server is running
      And I have configured my apt sources for integration tests 
      And I have updated my apt cache
      And a validated node
      And it includes the recipe 'packages::install_apt_package'
     When I run the chef-client with '-l debug'
     Then the run should exit '0'
      And the dpkg package 'chef-integration-test' should be installed