example42 / puppet-puppetdb Goto Github PK
View Code? Open in Web Editor NEWPuppetDB module
License: Other
PuppetDB module
License: Other
Currently this module call ssl-setup after removing package.
Notice: /Stage[main]/Puppetdb/Package[puppetdb]/ensure: removed
Error: Could not find command '/usr/sbin/puppetdb-ssl-setup'
Filing this as an issue to better track it (rather than keeping up with the comments on pull request #5)
As part of allowing the selection of http or https serving (needed if you want to offload SSL to a load balancer, as I have), we should fully manage the jetty.ini file.
I am working on this now, as @acaire won't have time for a while.
Should be relatively simple, look for a pull request soon! :)
PuppetDB installation
Getting the following error:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Function Call, Could not find class ::yum::repo::puppetlabs for puppetmaster at /etc/puppetlabs/code/environments/production/modules/puppetdb/manifests/prerequisites.pp:21:7 on node puppetmaster
node puppetmaster {
class { 'puppetdb':
db_type => 'postgresql',
}
}
puppet agent -t
I'm running puppetserver inside Vagrant VM using puppet centos 7.2 box with preinstalled puppet.
Here's my repos
repo id repo name status
base/7/x86_64 CentOS-7 - Base 9,007
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 10,494
extras/7/x86_64 CentOS-7 - Extras 375
passenger/7/x86_64 passenger 176
passenger-source/7 passenger-source 0
puppetlabs-deps/x86_64 Puppet Labs Dependencies El 7 - x86_64 17
puppetlabs-pc1/x86_64 Puppet Labs PC1 Repository el 7 - x86_64 86
puppetlabs-products/x86_64 Puppet Labs Products El 7 - x86_64 222
updates/7/x86_64 CentOS-7 - Updates 2,298
repolist: 22,675
Hi,
I ran across a problem with puppet/util/puppetdb_validator no longer existing after installing the Example42 modules. I performed a clean install of Puppet Enterprise 3.0 on AWS using a RHEL 6.4 (x64) OS, and then executed the following command:
git clone --recursive git://github.com/example42/puppet-modules-nextgen.git /etc/puppetlabs/puppet/modules
I added the following six lines to the end of the site.pp file:
$monitor = true
$monitor_tools = [ "monit" ]
$firewall = true
$firewall_tools = [ "iptables" ]
include openssh
include iptables
include ntp
Then run the puppet agent command. Here's the output.
[root@puppet-master modules]# puppet agent -t
Info: Retrieving plugin
Error loading fact /var/opt/lib/pe-puppet/lib/facter/puppetdb_server_status.rb cannot load such file -- puppet/util/puppetdb_validator
Info: Loading facts in /etc/puppetlabs/puppet/modules/puppi/lib/facter/last_run.rb
Info: Loading facts in /etc/puppetlabs/puppet/modules/puppi/lib/facter/puppi_projects.rb
Info: Loading facts in /etc/puppetlabs/puppet/modules/rvm/lib/facter/rvm_installed.rb
Info: Loading facts in /etc/puppetlabs/puppet/modules/stdlib/lib/facter/root_home.rb
Info: Loading facts in /etc/puppetlabs/puppet/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in /etc/puppetlabs/puppet/modules/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in /etc/puppetlabs/puppet/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in /etc/puppetlabs/puppet/modules/php/lib/facter/php_fact_extension_dir.rb
Info: Loading facts in /etc/puppetlabs/puppet/modules/php/lib/facter/php_fact_version.rb
Info: Loading facts in /etc/puppetlabs/puppet/modules/concat/lib/facter/concat_basedir.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/auth_conf/lib/facter/custom_auth_conf.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/postgresql/lib/facter/postgres_default_version.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/pe_puppetdb/lib/facter/puppetdb_server_status.rb
Warning: Could not load fact file /opt/puppet/share/puppet/modules/pe_puppetdb/lib/facter/puppetdb_server_status.rb: cannot load such file -- puppet/util/puppetdb_validator
Info: Loading facts in /opt/puppet/share/puppet/modules/stdlib/lib/facter/root_home.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/concat/lib/facter/concat_basedir.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/pe_common/lib/facter/windows.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/firewall/lib/facter/iptables_persistent_version.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/firewall/lib/facter/ip6tables_version.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/firewall/lib/facter/iptables_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/last_run.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/php_fact_extension_dir.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/windows.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/root_home.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/php_fact_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/custom_auth_conf.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppi_projects.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/rvm_installed.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppetdb_server_status.rb
Warning: Could not load fact file /var/opt/lib/pe-puppet/lib/facter/puppetdb_server_status.rb: cannot load such file -- puppet/util/puppetdb_validator
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppet_vardir.rb
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class puppetdb::server at /opt/puppet/share/puppet/modules/pe_puppetdb/manifests/init.pp:106 on node puppet-master.iqncloud.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
[root@puppet-master modules]#
Could someone point me in the right direction?
Thanks!
Jason.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.