3
0

remove yumrepo, since puppet is already installed in any case

This commit is contained in:
Arne Teuke
2025-02-27 18:45:49 +01:00
parent a75ddf964c
commit b9c3265cd2
6 changed files with 1 additions and 37 deletions

View File

@@ -33,7 +33,6 @@ class puppet_cd::main::files (
}
if $pt_use_puppetdb == true {
file { $pt_puppetdb_conf_file:
ensure => filet,
path => $pt_puppetdb_conf_file,

View File

@@ -6,8 +6,6 @@
class puppet_cd::main::install (
) inherits puppet_cd::params {
require puppet_cd::main::yumrepo
package { $pt_agent_pkg:
ensure => $pt_pkg_ensure,
}

View File

@@ -1,13 +0,0 @@
## puppet_cd::main::yumrepo.pp
# Module name: puppet_cd
# Author: Arne Teuke (arne_teuke@confdroid)
# @summary Class manages yum repos for the puppet_cd module.
###############################################################################
class puppet_cd::main::yumrepo (
) inherits puppet_cd::params {
# install repo rpm, which will install all the yum repos
package { $pt_package_url:
ensure => $pt_pkg_ensure,
}
}

View File

@@ -6,7 +6,6 @@
# @param [string] pt_pm_fqdn the fqdn for the puppetmaster and master
# settings are applied. any other fqdn # will be considered a puppet agent.
# @param [string] pt_db_fqdn the fqdn for the puppetdb host.
# @param [string] pt_package_url the url for fetching the repo rpm
# @param [string] pt_pkg_ensure valid: "present", "latest", "v1.2.3"
# @param [string] pt_agent_pkg the packages for agents to install
# @param [string] pt_server_pkg the server packages to install
@@ -27,7 +26,7 @@
# @param [boolean] pt_use_puppetdb whether to use puppetdb on host
# @param [string] pt_environment the environment
# @param [boolean] pt_basemodulepath the base module path
# @param
# @param [string] pt_logdir the log directory
###############################################################################
class puppet_cd::params (
@@ -36,7 +35,6 @@ class puppet_cd::params (
String $pt_db_fqdn = 'puppetdb.example.net',
# installation
String $pt_package_url = 'https://yum.puppet.com/puppet8-release-el-9.noarch.rpm',
String $pt_pkg_ensure = 'present',
String $pt_agent_pkg = 'puppet-agent',
String $pt_server_pkg = 'puppetserver',