Skip to content
Snippets Groups Projects
Commit f111680a authored by Fabrice Gangler's avatar Fabrice Gangler :art:
Browse files

refactor: improve puppet/manifest

parent 5d038f01
No related branches found
No related tags found
No related merge requests found
# 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",
# }
##########################################################################
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment