remove all references for puppetdb - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/284
This commit is contained in:
@@ -8,10 +8,6 @@ class puppet_cd::main::config (
|
||||
) inherits puppet_cd::params {
|
||||
include puppet_cd::server::service
|
||||
|
||||
if $pt_use_puppetdb == true {
|
||||
include puppet_cd::puppetdb::service
|
||||
}
|
||||
|
||||
if $pt_use_r10k == true {
|
||||
include puppet_cd::r10k::install
|
||||
}
|
||||
|
||||
@@ -31,27 +31,4 @@ 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],
|
||||
}
|
||||
|
||||
# fix service file syslog vs journald
|
||||
file { $pt_puppetdb_service_file:
|
||||
ensure => file,
|
||||
path => $pt_puppetdb_service_file,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0644',
|
||||
content => template($pt_puppetdb_service_erb),
|
||||
notify => Service[$pt_db_service],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,10 +15,5 @@ class puppet_cd::main::install (
|
||||
ensure => $pt_pkg_ensure,
|
||||
}
|
||||
}
|
||||
|
||||
if $fqdn == $pt_db_fqdn {
|
||||
package { $pt_db_pkg:
|
||||
ensure => $pt_pkg_ensure,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,23 +24,4 @@ class puppet_cd::main::user (
|
||||
allowdupe => false,
|
||||
}
|
||||
}
|
||||
|
||||
if ($fqdn == $pt_db_fqdn) and ($pt_manage_db_user == true) {
|
||||
user { $pt_db_user:
|
||||
ensure => present,
|
||||
name => $pt_db_user,
|
||||
allowdupe => false,
|
||||
comment => $pt_db_user_comment,
|
||||
gid => $pt_db_user,
|
||||
managehome => true,
|
||||
home => $pt_db_user_home,
|
||||
shell => $pt_db_user_shell,
|
||||
}
|
||||
|
||||
group { $pt_db_user:
|
||||
ensure => present,
|
||||
name => $pt_db_user,
|
||||
allowdupe => false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user