Used puppet apply instead of puppet agent -t

Change-Id: I4809b187482795acd3182a8ab7befc773997e20d