exec { 'apt-update':
command => '/usr/bin/apt-get update'
}
pakpage { ['php7.2', 'php7.2-mysql']:
require => Exec['apt-update'],
ensure => instaled,
}
exec { 'run-php7':
require => Packet['php7.2'],
command => '/usr/bin/php -S localhost:80 &'