diff --git a/manifests/main/files.pp b/manifests/main/files.pp index 097b20c..b763eaa 100644 --- a/manifests/main/files.pp +++ b/manifests/main/files.pp @@ -31,16 +31,16 @@ class puppet_cd::main::files ( notify => Service[$pt_agent_service,$pt_server_service], } -# if $pt_use_puppetdb == true { -# file { $pt_puppetdb_conf_file: -# ensure => file, -# path => $pt_puppetdb_conf_file, -# owner => 'root', -# group => 'root', -# mode => '0644', -# content => template($pt_puppetdb_conf_erb), -# notify => Service[$pt_agent_service,$pt_server_service], -# } -# } + if $pt_use_puppetdb == true { + file { $pt_puppetdb_conf_file: + ensure => file, + path => $pt_puppetdb_conf_file, + owner => 'root', + group => 'root', + mode => '0644', + content => template($pt_puppetdb_conf_erb), + notify => Service[$pt_agent_service,$pt_server_service], + } + } } }