Corregido o arquivo phpweb.pp com as informações abaixo:
# execute 'apt-get update'
exec { 'apt-update':
command => '/usr/bin/apt-get update'
}
package { ['php7.2' ,'php7.2-mysql'] :
require => Exec['apt-update'],
ensure => installed,
}
exec { 'run-php7':
require => Package['php7.2'],
command => '/usr/bin/php -S localhost:80 -t /vagrant/src &'
}
Resolvido:
Notice: /Stage[main]/Main/Exec[apt-update]/returns: executed successfully
^[[FNotice: /Stage[main]/Main/Package[php7.2]/ensure: created
Notice: /Stage[main]/Main/Package[php7.2-mysql]/ensure: created
Notice: /Stage[main]/Main/Exec[run-php7]/returns: executed successfully