diff --git a/acceptance/tests/environment/use_enc_environment_for_files.rb b/acceptance/tests/environment/use_enc_environment_for_files.rb index b921fa90f..6f3f0248a 100644 --- a/acceptance/tests/environment/use_enc_environment_for_files.rb +++ b/acceptance/tests/environment/use_enc_environment_for_files.rb @@ -1,52 +1,52 @@ -test_name "Agent should environment given by ENC for pluginsync" +test_name "Agent should use environment given by ENC for fetching remote files" testdir = master.tmpdir('respect_enc_test') create_remote_file master, "#{testdir}/enc.rb", < "puppet:///amod/testy", + source => "puppet:///modules/amod/testy", } notify { "mytemp is ${::mytemp}": } END on master, "chmod 644 #{testdir}/different.pp" run_agent_on(agent, "--no-daemonize --onetime --server #{master} --verbose") on agent, "cat #{atmp}/special_testy" assert_match(/special_environment/, stdout, "The file from environment 'special' was not found") on agent, "rm -rf #{atmp}" end end on master, "rm -rf #{testdir}"