integration test: create sample file

This commit is contained in:
Christoph Hartmann 2015-10-24 11:11:36 +02:00
parent 25783ea283
commit 2ba34c302c
2 changed files with 17 additions and 1 deletions

View file

@ -4,5 +4,6 @@
# #
# prepare all operating systems with the required configuration # prepare all operating systems with the required configuration
include_recipe('os_prepare::package')
include_recipe('os_prepare::apt') include_recipe('os_prepare::apt')
include_recipe('os_prepare::file')
include_recipe('os_prepare::package')

View file

@ -0,0 +1,15 @@
# encoding: utf-8
# author: Christoph Hartmann
# author: Dominik Richter
#
# prepares a sample file for verification
gid = 'root'
gid = 'wheel' if node['platform_family'] == 'freebsd'
file '/tmp/file' do
mode '0765'
owner 'root'
group gid
content 'hello world'
end