The ppa resource represents a single signed Personal Package Archive (PPA) to be managed via apt-add-repository. Optionally, users may choose to manage the associated source list files stored in source.list.d by supplying the filename and source content.
To use packages from a PPA, first declare the PPA, then require the PPA resource from the package resource you want to declare.
undine_apt::ppa { 'git-core/git':
ppa_user => 'git-core',
ppa_name => 'git',
source_list_d_filename => 'git-core-ppa-lucid.list'
source_list_d_source => 'puppet:///modules/my_git_module/git-core-ppa-lucid.list',
}
package { 'git':
require Undine_apt::Ppa['git-core/git'],
ensure => installed,
}
The ppa resource represents a single signed Personal Package Archive (PPA) to be managed via apt-add-repository. Optionally, users may choose to manage the associated source list files stored in source.list.d by supplying the filename and source content.
To use packages from a PPA, first declare the PPA, then require the PPA resource from the package resource you want to declare.
undine_apt::ppa { 'git-core/git':
ppa_user => 'git-core',
ppa_name => 'git',
source_list_d_filename => 'git-core-ppa-lucid.list'
source_list_d_source => 'puppet:///modules/my_git_module/git-core-ppa-lucid.list',
}
package { 'git':
require Undine_apt::Ppa['git-core/git'],
ensure => installed,
}