Add contributor edition
- added viaf resolver
- improve contributors list display
- add update of document objects
- propagate update to back office
- update back office
- add bo-client to back office
- setup language initializer
- add options mechanism
- add language information in language list
- add lexvo resolver service + api
- add language and lexvo resolver to js app
- correct env template
- refresh bootstrap
- download google font
- add version information
- update dev virtual machine to centos7
- add a readme + clean folders
- add local .env file to start commands
# Define puppi::initialize
#
# This define creates a file with a initialize command that can be used locally.
#
# Usage:
# puppi::initialize { "Retrieve files":
# command => "get_file.sh",
# argument => "/remote/dir/file",
# priority => "10",
# user => "root",
# project => "spysite",
# }
#
define puppi::initialize (
$command,
$project,
$arguments = '',
$priority = '50',
$user = 'root',
$enable = true ) {
require puppi
require puppi::params
$ensure = bool2ensure($enable)
file { "${puppi::params::projectsdir}/${project}/initialize/${priority}-${name}":
ensure => $ensure,
mode => '0750',
owner => $puppi::params::configfile_owner,
group => $puppi::params::configfile_group,
require => Class['puppi'],
content => "su - ${user} -c \"export project=${project} && ${puppi::params::scriptsdir}/${command} ${arguments}\"\n",
tag => 'puppi_initialize',
}
}