You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
722 B
24 lines
722 B
14 years ago
|
class pureftpd::config {
|
||
|
file { "${pureftpd::params::config_dir}conf":
|
||
|
ensure => directory,
|
||
|
recurse => true,
|
||
|
purge => true,
|
||
|
force => true,
|
||
|
owner => root,
|
||
|
group => root,
|
||
|
source => $source ? {
|
||
|
undef => "puppet:///modules/${module_name}/${pureftpd::params::config_source}",
|
||
|
default => $pureftpd::config_source,
|
||
|
},
|
||
|
require => Class['pureftpd::install'],
|
||
|
}
|
||
|
|
||
|
file { $pureftpd::params::config_default_file:
|
||
|
ensure => present,
|
||
|
owner => root,
|
||
|
group => root,
|
||
|
content => template("${module_name}/default_config.erb"),
|
||
|
require => Class['pureftpd::install'],
|
||
|
}
|
||
|
}
|