Skip to content
Snippets Groups Projects
Verified Commit 20d662ed authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

take two on local repo exclusion

parent 3842228f
No related branches found
No related tags found
1 merge request!7Puppet5 lonlone
......@@ -56,9 +56,10 @@ class base::os::debian (
before => Stage['main'],
}
class { 'base::os::debian::apt':
stage => 'aptitude',
apt_cache_notin_tmp => $apt_cache_notin_tmp,
apt_cache_tmp_dir => $apt_cache_tmp_dir,
stage => 'aptitude',
apt_cache_notin_tmp => $apt_cache_notin_tmp,
apt_cache_tmp_dir => $apt_cache_tmp_dir,
debian_stanford_repo_local => $debian_stanford_repo_local,
}
# Define an aptitude update exec that will only get run if it receives a
......@@ -181,9 +182,15 @@ class base::os::debian (
# class that wants to run 'aptitude update' will have to declare the
# 'aptitude update' exec resource itself.
# $debian_stanford_repo_local: Include the Stanford private local (debian-local)
# repository. Since this private repository is firewalled off from most of the internet,
# if your service in the "cloud" you will probably want to set it to false.
# Default: true
class base::os::debian::apt (
$apt_cache_notin_tmp = false,
$apt_cache_tmp_dir = '/var/cache/apt/tmp'
$apt_cache_notin_tmp = false,
$apt_cache_tmp_dir = '/var/cache/apt/tmp'
$debian_stanford_repo_local = true,
){
# Define aptitude update as a command we can run
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment