Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
base
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lonlone Lee
base
Commits
f54d9aff
Commit
f54d9aff
authored
Jan 11, 2016
by
Jonathan Lent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[puppetclient] fixing template related to Puppet 2.X hosts
parent
8d14785b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
templates/puppetclient/puppet.conf.template.erb
templates/puppetclient/puppet.conf.template.erb
+3
-9
No files found.
templates/puppetclient/puppet.conf.template.erb
View file @
f54d9aff
...
...
@@ -26,27 +26,21 @@
pserver
=
server
elsif
(
is_master
)
then
pserver
=
fqdn
elsif
(
hostname
=~
/^frankoz\d(-(test|new|build|old))?$/
)
then
pserver
=
'jimhenson1.stanford.edu'
elsif
(
puppet3
)
then
else
if
(
hostname
=~
/^(puppetrepo-dev|puppetdb-dev).*$/
)
then
pserver
=
'puppetservice1-dev.stanford.edu'
else
pserver
=
'puppetservice.stanford.edu'
end
else
pserver
=
'jimhenson.stanford.edu'
end
end
# Figure out what Puppet CA service to use.
if
(
ca_server
!=
''
)
then
pca_server
=
ca_server
elsif
(
hostname
=~
/^(puppetservice.*dev|puppetrepo-dev|puppetdb-dev).*$/
)
then
pca_server
=
'puppetca-dev.stanford.edu'
elsif
(
puppet3
)
then
pca_server
=
'puppetrepo.stanford.edu'
else
pca_server
=
'puppet
ca
.stanford.edu'
pca_server
=
'puppet
repo
.stanford.edu'
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment