aboutsummaryrefslogtreecommitdiff
path: root/manifests/dpa.pp
blob: 74ba174958e390b0c204a48de7afa3a64e3ca19d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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'],
  }
}