
... but define it ::params as is done for group. Change-Id: If343a8d89c7675a969e0a16ad9903cd4051ce750
24 lines
485 B
Puppet
24 lines
485 B
Puppet
# Parameters for puppet-{{cookiecutter.project_name}}
|
|
#
|
|
class {{cookiecutter.project_name}}::params {
|
|
|
|
assert_private()
|
|
|
|
include {{cookiecutter.project_name}}::deps
|
|
include openstacklib::defaults
|
|
|
|
$user = '{{cookiecutter.project_name}}'
|
|
$group = '{{cookiecutter.project_name}}'
|
|
|
|
case $facts['os']['family'] {
|
|
'RedHat': {
|
|
}
|
|
'Debian': {
|
|
}
|
|
default: {
|
|
fail("Unsupported osfamily: ${facts['os']['family']}")
|
|
}
|
|
|
|
} # Case $facts['os']['family']
|
|
}
|