Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Vagrant - Puppet CFSSL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
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
Adullact
PKI
Vagrant - Puppet CFSSL
Commits
f111680a
Commit
f111680a
authored
1 year ago
by
Fabrice Gangler
Browse files
Options
Downloads
Patches
Plain Diff
refactor: improve puppet/manifest
parent
5d038f01
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
puppet/manifests/default.pp
+15
-7
15 additions, 7 deletions
puppet/manifests/default.pp
with
15 additions
and
7 deletions
puppet/manifests/default.pp
+
15
−
7
View file @
f111680a
# Variables
# $_system_username = lookup('cfssl::system_username')
# $_cfssl_home = "/home/${_system_username}"
# Install DemarchesSimplifee
# Prerequired Puppet component modules
#########################################################################
include
cfssl
include
cfssl
# Use Europe/Paris timezone
# Timezone
##########################################################################
# Operating system use Europe/Paris timezone
exec
{
'timedatectl set-timezone'
:
exec
{
'timedatectl set-timezone'
:
command
=>
"/usr/bin/timedatectl set-timezone Europe/Paris"
,
command
=>
"/usr/bin/timedatectl set-timezone Europe/Paris"
,
unless
=>
"/usr/bin/timedatectl | grep Europe/Paris"
,
unless
=>
"/usr/bin/timedatectl | grep Europe/Paris"
,
}
}
##########################################################################
# # Operating system use America/New_York timezone
# exec { 'timedatectl set-timezone':
# command => "/usr/bin/timedatectl set-timezone America/New_York",
# unless => "/usr/bin/timedatectl | grep America/New_York",
# }
##########################################################################
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