Puppet Setup File Permissions - unable to create a puppet file

Hello, everyone. I have trouble creating a Puppet programming file beta.pp under /etc/puppetlabs/code/environments/production/manifests directory on the master node i.e Jump Server . It seems that root privileges are needed to create such file since command vi does not work. But root password is not provided for Jump server. Any suggestions?

try sudo -i first, and you be a root