Hi
Having another go at puppet :)
Bulidng a Centos 8 with puppet install
I have built the VM
and I have added int he puppet repo
[puppet]
name=Puppet Repository el 8 - $basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppet-release
enabled=1
gpgcheck=1
So I have installed puppet
yum install puppetserver
setup the CA
I can
puppet agent --test
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Applying configuration version '1573187965'
Notice: Applied catalog in 0.01 seconds
I have plans of moving to R10K, I had used this before - but stopping using puppet for quite a while.
Now I want to install puppetdb, and I would like to make puppet do it. I am having some difficulty in setting that up.
I don't want to setup puppet master as I believe /etc/puppet will be reconfigure when I install R10K. so I want o use a manual manifest and apply with puppet agent or puppet apply.
So I have this
cat manifest.pp
node 'puppet' {
# Configure puppetdb and its underlying database
class { 'puppetdb':
}
# Configure the Puppet master to use puppetdb
class { 'puppetdb::master::config':
}
}
when when i run
puppet apply -v --noop manifest.pp
Error: Evaluation Error: Error while evaluating a Resource Statement, Could not find declared class puppetdb (file: /root/puppet/puppetdb/manifest.pp, line: 3, column: 3) on node
puppet.yieldbroker.com
so whats next, I presume this is because the puppetDB rpm is not install, but chicken egg
So how do I do this ?
A