Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
immerda
Puppet Modules
webhosting
Commits
c9382ae2
Commit
c9382ae2
authored
Sep 30, 2017
by
mh
Browse files
add user scripts for passenger
parent
4c836ccd
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/passenger.pp
View file @
c9382ae2
...
...
@@ -52,6 +52,8 @@ define webhosting::passenger(
$mod_security
=
true
,
$passenger_app
=
'rails'
,
$git_repo
=
'absent'
,
$user_scripts
=
'absent'
,
$user_scripts_options
=
{},
){
if
(
$uid_name
==
'absent'
){
...
...
@@ -74,28 +76,30 @@ define webhosting::passenger(
}
}
webhosting::common
{
$name
:
ensure
=>
$ensure
,
configuration
=>
$configuration
,
uid
=>
$uid
,
uid_name
=>
$real_uid_name
,
gid
=>
$gid
,
gid_name
=>
$real_gid_name
,
user_access
=>
$user_access
,
password
=>
$password
,
password_crypted
=>
$password_crypted
,
htpasswd_file
=>
$htpasswd_file
,
ssl_mode
=>
$ssl_mode
,
run_mode
=>
$run_mode
,
run_uid
=>
$run_uid
,
run_uid_name
=>
$run_uid_name
,
run_gid
=>
$run_gid
,
wwwmail
=>
$wwwmail
,
nagios_check
=>
$nagios_check
,
nagios_check_domain
=>
$nagios_check_domain
,
nagios_check_url
=>
$nagios_check_url
,
nagios_check_code
=>
$nagios_check_code
,
nagios_use
=>
$nagios_use
,
git_repo
=>
$git_repo
,
ensure
=>
$ensure
,
configuration
=>
$configuration
,
uid
=>
$uid
,
uid_name
=>
$real_uid_name
,
gid
=>
$gid
,
gid_name
=>
$real_gid_name
,
user_access
=>
$user_access
,
password
=>
$password
,
password_crypted
=>
$password_crypted
,
htpasswd_file
=>
$htpasswd_file
,
ssl_mode
=>
$ssl_mode
,
run_mode
=>
$run_mode
,
run_uid
=>
$run_uid
,
run_uid_name
=>
$run_uid_name
,
run_gid
=>
$run_gid
,
wwwmail
=>
$wwwmail
,
nagios_check
=>
$nagios_check
,
nagios_check_domain
=>
$nagios_check_domain
,
nagios_check_url
=>
$nagios_check_url
,
nagios_check_code
=>
$nagios_check_code
,
nagios_use
=>
$nagios_use
,
git_repo
=>
$git_repo
,
user_scripts
=>
$user_scripts
,
user_scripts_options
=>
$user_scripts_options
,
}
apache::vhost::passenger
{
$name
:
ensure
=>
$ensure
,
...
...
Write
Preview
Supports
Markdown
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