Unable to install Puppet server in CentOS7

asked 2018-01-11 01:24:12 -0600

raja gravatar image

I am unable to install Puppet server in CentOS7 and while trying to install I am getting below error

2018-01-11 02:11:11,922 - [Notice]: /Stage[main]/Puppet_enterprise::Master::Puppetserver/Puppet_enterprise::Trapperkeeper::Pe_service[puppetserver]/Exec[pe-puppetserver service full restart]/returns: Job for pe-puppetserver.service failed because the control process exited with error code. See "systemctl status pe-puppetserver.service" and "journalctl -xe" for details.
2018-01-11 02:11:11,923 - [Error]: /Stage[main]/Puppet_enterprise::Master::Puppetserver/Puppet_enterprise::Trapperkeeper::Pe_service[puppetserver]/Exec[pe-puppetserver service full restart]: Failed to call refresh: 'service pe-puppetserver restart' returned 1 instead of one of [0]
2018-01-11 02:11:11,924 - [Error]: /Stage[main]/Puppet_enterprise::Master::Puppetserver/Puppet_enterprise::Trapperkeeper::Pe_service[puppetserver]/Exec[pe-puppetserver service full restart]: 'service pe-puppetserver restart' returned 1 instead of one of [0]
2018-01-11 02:11:11,926 - [Notice]: /Stage[main]/Puppet_enterprise::Master::Puppetserver/Puppet_enterprise::Trapperkeeper::Pe_service[puppetserver]/Service[pe-puppetserver]: Dependency Exec[pe-puppetserver service full restart] has failures: false
2018-01-11 02:11:11,927 - [Warning]: /Stage[main]/Puppet_enterprise::Master::Puppetserver/Puppet_enterprise::Trapperkeeper::Pe_service[puppetserver]/Service[pe-puppetserver]: Skipping because of failed dependencies

and I tried looking output of 'journalctl -xe'

Jan 11 02:10:39 7247.august.com systemd[1]: Starting pe-puppetserver Service...
-- Subject: Unit pe-puppetserver.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit pe-puppetserver.service has begun starting up.
Jan 11 02:10:50 7247.august.com puppet-agent[20808]: Config file /etc/puppetlabs/puppet/puppet.conf changed; triggering re-parse of all config files.
Jan 11 02:11:11 7247.august.com puppetserver[23121]: Exception in thread "main" java.lang.IllegalArgumentException: No matching clause: :error
Jan 11 02:11:11 7247.august.com puppetserver[23121]: at puppetlabs.trapperkeeper.core$main.invokeStatic(core.clj:178)
Jan 11 02:11:11 7247.august.com puppetserver[23121]: at puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:160)
Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.RestFn.invoke(RestFn.java:512)
Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.Var.invoke(Var.java:409)
Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.AFn.applyToHelper(AFn.java:178)
Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.Var.applyTo(Var.java:700)
Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.core$apply.invokeStatic(core.clj:646)
Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.core$apply.invoke(core.clj:641)
Jan 11 02:11:11 7247.august.com puppetserver[23121]: at puppetlabs.trapperkeeper.main$_main.invokeStatic(main.clj:7)
Jan 11 02:11:11 7247.august.com puppetserver[23121]: at puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:4)
Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.RestFn.invoke(RestFn.java:512)
Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.Var.invoke(Var.java:409)
Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.AFn.applyToHelper ...
(more)
edit retag flag offensive close merge delete

Comments

Hi, "192.168.56.103 7247.august.com puppet" Make the entry for your dnsname 'puppet' as well. Let's give it a try.

rajeevsharma gravatar imagerajeevsharma ( 2018-01-11 07:10:49 -0600 )edit