Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tails-translate-docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
drebs
tails-translate-docker
Commits
e9029d51
Commit
e9029d51
authored
7 years ago
by
drebs
Browse files
Options
Downloads
Patches
Plain Diff
Use Puppet 4
parent
5b2dcbf8
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+3
-7
3 additions, 7 deletions
Dockerfile
apt/puppet.pref
+0
-3
0 additions, 3 deletions
apt/puppet.pref
file-system/etc/puppet/puppet.conf
+23
-0
23 additions, 0 deletions
file-system/etc/puppet/puppet.conf
with
26 additions
and
10 deletions
Dockerfile
+
3
−
7
View file @
e9029d51
...
@@ -19,6 +19,9 @@ RUN echo "Acquire::ForceIPv4 \"true\";" > /etc/apt/apt.conf
...
@@ -19,6 +19,9 @@ RUN echo "Acquire::ForceIPv4 \"true\";" > /etc/apt/apt.conf
RUN
apt-get update
RUN
apt-get update
RUN
apt-get
-y
install
vim man curl gnupg git apt-transport-https
RUN
apt-get
-y
install
vim man curl gnupg git apt-transport-https
# install puppet 4
RUN
apt-get
-y
install
puppet
# There are some things we need to have in the filesystem tree so we can
# There are some things we need to have in the filesystem tree so we can
# run puppet for the first time and install and setup a fresh Weblate website
# run puppet for the first time and install and setup a fresh Weblate website
# from scratch.
# from scratch.
...
@@ -29,13 +32,6 @@ RUN sed -i "s@__TAILS_URL__@${tails_url}@" /usr/local/sbin/weblate-setup-project
...
@@ -29,13 +32,6 @@ RUN sed -i "s@__TAILS_URL__@${tails_url}@" /usr/local/sbin/weblate-setup-project
RUN
sed
-i
"s@__DEB_URL__@
${
deb_url
}
@"
/etc/puppet/hiera/common.yaml
RUN
sed
-i
"s@__DEB_URL__@
${
deb_url
}
@"
/etc/puppet/hiera/common.yaml
RUN
sed
-i
"s@__WEBLATE_URL__@
${
weblate_url
}
@"
/etc/puppet/hiera/common.yaml
RUN
sed
-i
"s@__WEBLATE_URL__@
${
weblate_url
}
@"
/etc/puppet/hiera/common.yaml
# install puppet 3.8
RUN
echo
"deb https://deb.tails.boum.org/ puppet3x main"
>
/etc/apt/sources.list.d/puppet3x.list
COPY
apt/puppet.pref /etc/apt/preferences.d
RUN
apt-key add /etc/puppet/modules/site_apt/files/keys.d/tails-apt.asc
RUN
apt-get update
;
apt-get
-y
install
puppet
# /etc/sysctl.conf must be present
# /etc/sysctl.conf must be present
RUN
apt-get
-y
install
procps
RUN
apt-get
-y
install
procps
...
...
This diff is collapsed.
Click to expand it.
apt/puppet.pref
deleted
100644 → 0
+
0
−
3
View file @
5b2dcbf8
Package: puppet puppet-common
Pin: origin deb.tails.boum.org
Pin-Priority: 991
This diff is collapsed.
Click to expand it.
file-system/etc/puppet/puppet.conf
0 → 100644
+
23
−
0
View file @
e9029d51
[
main
]
confdir
= /
etc
/
puppet
logdir
= /
var
/
log
/
puppet
vardir
= /
var
/
lib
/
puppet
ssldir
= $
vardir
/
ssl
rundir
= /
var
/
run
/
puppet
factpath
= $
vardir
/
lib
/
facter
templatedir
= $
confdir
/
templates
#certname = puppetmaster01.example.com
#server = puppet.example.com
#user = pe-puppet
#group = pe-puppet
#archive_files = true
#archive_file_server = puppet.example.com
basemodulepath
= /
etc
/
puppet
/
modules
[
agent
]
report
=
true
classfile
= $
vardir
/
classes
.
txt
localconfig
= $
vardir
/
localconfig
graph
=
true
pluginsync
=
true
environment
=
production
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