Get spec tests closer to working
This commit is contained in:
Родитель
2176a8b134
Коммит
e76ca2f5d2
|
@ -3,5 +3,6 @@ fixtures:
|
|||
stdlib: "git://github.com/puppetlabs/puppetlabs-stdlib.git"
|
||||
staging: "https://github.com/nanliu/puppet-staging.git"
|
||||
concat: "https://github.com/puppetlabs/puppet-concat.git"
|
||||
consul: "https://github.com/solarkennedy/puppet-consul"
|
||||
symlinks:
|
||||
consul_template: "#{source_dir}"
|
||||
|
|
|
@ -7,8 +7,10 @@ describe 'consul_template::watch', :type => :define do
|
|||
describe "consul_template::watch define on OS family #{osfamily}" do
|
||||
let(:title) { 'test_watcher' }
|
||||
let(:params) {{
|
||||
:destination => '/var/tmp/consul_template',
|
||||
:command => '/bin/test',
|
||||
:config_hash => {
|
||||
'destination' => '/var/tmp/consul_template',
|
||||
'command' => '/bin/test',
|
||||
}
|
||||
}}
|
||||
let(:facts) {{
|
||||
:osfamily => osfamily,
|
||||
|
@ -30,10 +32,12 @@ describe 'consul_template::watch', :type => :define do
|
|||
describe "consul_template::watch define on OS family #{osfamily}" do
|
||||
let(:title) { 'test_watcher' }
|
||||
let(:params) {{
|
||||
:template => 'consul_template_spec/test_template',
|
||||
:template => 'consul_template_spec/test_template',
|
||||
:template_vars => { 'foo' => 'bar' },
|
||||
:destination => '/var/tmp/consul_template',
|
||||
:command => '/bin/test',
|
||||
:config_hash => {
|
||||
'destination' => '/var/tmp/consul_template',
|
||||
'command' => '/bin/test',
|
||||
}
|
||||
}}
|
||||
let(:facts) {{
|
||||
:osfamily => osfamily,
|
||||
|
|
Загрузка…
Ссылка в новой задаче