Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
su_debuild
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
su_debuild
Commits
000e1ad5
Commit
000e1ad5
authored
3 years ago
by
Adam Lewenberg
Browse files
Options
Downloads
Patches
Plain Diff
more work on bringing uptodate with bullseye release
parent
332fac29
Branches
master
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
manifests/chroot.pp
+4
-10
4 additions, 10 deletions
manifests/chroot.pp
manifests/chroots.pp
+1
-0
1 addition, 0 deletions
manifests/chroots.pp
manifests/init.pp
+2
-8
2 additions, 8 deletions
manifests/init.pp
with
7 additions
and
18 deletions
manifests/chroot.pp
+
4
−
10
View file @
000e1ad5
...
...
@@ -12,9 +12,10 @@
define
su_debuild::chroot
(
Enum
[
'present'
,
'absent'
]
$ensure
=
undef
,
Optional
[
String
]
$distribution
=
undef
,
String
$debian_type
=
undef
,
$ensure
=
undef
,
Optional
[
String
]
$distribution
=
undef
,
String
$debian_type
=
undef
,
Boolean
$include_backports
=
true
,
)
{
$distribution_real
=
$distribution
?
{
...
...
@@ -27,13 +28,6 @@ define su_debuild::chroot(
$config
=
"/etc/pbuilder/
${name}
-no-stanford-keyring"
$options
=
"--distribution
${distribution_real}
--configfile
${config}
"
# Do we include the backports distribution? Yes, but only for the
# more recent releases.
if
(
$distribution_real
=~
/buster|stretch/
)
{
$include_backports
=
true
}
else
{
$include_backports
=
false
}
# We need two versions of each pbuilder configuration file: one
# with stanford-keyring and one without.
su_debuild::pbuilder_conf
{
"
${distribution_real}
-with-stanford-keyring"
:
...
...
This diff is collapsed.
Click to expand it.
manifests/chroots.pp
+
1
−
0
View file @
000e1ad5
...
...
@@ -22,6 +22,7 @@ class su_debuild::chroots (
# Define the environments we know about.
$code_to_debian_type
=
{
'sid'
=>
'debian'
,
'bookworm'
=>
'debian'
,
'bullseye'
=>
'debian'
,
'buster'
=>
'debian'
,
'stretch'
=>
'debian'
,
...
...
This diff is collapsed.
Click to expand it.
manifests/init.pp
+
2
−
8
View file @
000e1ad5
...
...
@@ -85,15 +85,12 @@ class su_debuild (
'maven2'
:
ensure
=>
installed
;
}
}
'stretch'
,
'buster'
:
{
default
:
{
package
{
'apache2-dev'
:
ensure
=>
installed
;
'maven'
:
ensure
=>
installed
;
}
}
default
:
{
crit
(
"unknown distribution
${::lsbdistcodename}
"
)
}
}
## Install ubuntu-archive-keyring
...
...
@@ -108,14 +105,11 @@ class su_debuild (
'linux-headers-3.16.0-4-all'
:
ensure
=>
installed
;
}
}
'stretch'
,
'buster'
:
{
default
:
{
package
{
'linux-headers-amd64'
:
ensure
=>
installed
;
}
}
default
:
{
crit
(
"unknown distribution
${::lsbdistcodename}
"
)
}
}
# Configuration and cache directory for Maven.
...
...
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