class php::dpa inherits php::repository { file { '/etc/apt/trusted.gpg.d/deb.sury.org-php.gpg': ensure => present, owner => "root", group => "root", mode => "0644", source => 'puppet:///modules/php/deb.sury.org.gpg', } File['/etc/apt/sources.list.d/php.list'] { content => "deb https://packages.sury.org/php/ ${::lsbdistcodename} main\n", require => File['/etc/apt/trusted.gpg.d/deb.sury.org-php.gpg'], } }