Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
puppetpublic
base
Commits
20d662ed
Verified
Commit
20d662ed
authored
6 years ago
by
Adam Lewenberg
Browse files
Options
Downloads
Patches
Plain Diff
take two on local repo exclusion
parent
3842228f
No related branches found
No related tags found
1 merge request
!7
Puppet5 lonlone
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
manifests/os/debian.pp
+12
-5
12 additions, 5 deletions
manifests/os/debian.pp
with
12 additions
and
5 deletions
manifests/os/debian.pp
+
12
−
5
View file @
20d662ed
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment