Não é possível instalar o servidor Puppet no CentOS7

0

Não consigo instalar o servidor Puppet no CentOS7 e, ao tentar instalar, estou recebendo um erro abaixo

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

e tentei procurar a saída de '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(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.main$main_opt.invokeStatic(main.clj:314)
Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.main$main_opt.invoke(main.clj:310)
Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.main$main.invokeStatic(main.clj:421)
Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.main$main.doInvoke(main.clj:384)
Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.RestFn.invoke(RestFn.java:619)
Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.Var.invoke(Var.java:430)
Jan 11 02:11:11 7247.august.com puppetserver[23121]: at clojure.lang.AFn.applyToHelper(AFn.java:195)
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.main.main(main.java:37)
Jan 11 02:11:11 7247.august.com puppetserver[23121]: Background process 23130 exited before start had completed
Jan 11 02:11:11 7247.august.com systemd[1]: pe-puppetserver.service: control process exited, code=exited status=1
Jan 11 02:11:11 7247.august.com systemd[1]: Failed to start pe-puppetserver Service.
-- Subject: Unit pe-puppetserver.service has failed
-- Defined-By: systemd

Estou tentando instalar a versão Puppet "puppet-enterprise-2017.3.2" e no modo de texto e meu arquivo pe.conf como abaixo

{
  "console_admin_password": "admin1234",
  "puppet_enterprise::puppet_master_host": "7247.august.com",
  "pe_install::puppet_master_dnsaltnames": [
    "puppet",
    "master",
    "august"
  ],
  "puppet_enterprise::use_application_services": true
}

e meu arquivo /etc/hosts

127.0.0.1       7247.august.com localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6
192.168.56.103 7247.august.com

Por favor, ajude-me a encontrar meu erro.

Obrigado.

    
por rɑːdʒɑ 11.01.2018 / 08:18

0 respostas

Tags