fixes test setup
switch from undef to :undef

puppet complained about the use of the undef keyword, using a symbol instead
checks for :undef before configuring aws-sdk