aboutsummaryrefslogtreecommitdiff
path: root/manifests/repository.pp
blob: 01b4dbfba01a659174c2dca865ff3309ce2fc4f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class php::repository {
  file { '/etc/apt/sources.list.d/php.list':
    ensure  => present,
    owner   => "root",
    group   => "root",
    mode    => "0644",
    notify  => Exec['php-apt-auto-update'],
  }

  exec { 'php-apt-auto-update':
    command     => "/usr/bin/apt-get update",
    user        => "root",
    refreshonly => true,
  }
}