diff --git a/spec/defines/resource_geo_spec.rb b/spec/defines/resource_geo_spec.rb index 59f527ff7..d13bb420d 100644 --- a/spec/defines/resource_geo_spec.rb +++ b/spec/defines/resource_geo_spec.rb @@ -31,6 +31,24 @@ end describe 'os-independent items' do + let(:pre_condition) do + <<~PUPPET + class nginx::service {} + class nginx { + $root_group = 'root' + $conf_dir = '/etc/nginx' + $global_mode = '0644' + + include nginx::service + + file { [$conf_dir, "${conf_dir}/conf.d"]: + ensure => directory, + } + } + include nginx + PUPPET + end + describe 'basic assumptions' do let(:params) { default_params }