Problems occurred while installing Puppet on Ubuntu

0 votes
I'm trying to install puppet on Ubuntu, But I got this error:

root@ip-XX-XXX-XX-XXX:/tmp# curl -k https://puppet.XXXXXX.com:8140/packages/current/install.bash | LANG=en_US.UTF-8 bash -s agent:certname=`/root/.aws/my_puppet_node_name.py`

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

  Dload  Upload   Total   Spent    Left  Speed

100 12584  100 12584    0     0   113k      0 --:--:-- --:--:-- --:--:--  114k

checking hfjEnv-Name-cap-project-cap-role-cap-stage

setting nodename "dev-deploytest-api-hco-api-api-deploytest-20160711144459-e0eaf60b-91a1-413f-a92c-c4f897f5f892"

W: GPG error: https://puppet.XXXXXX.com:8140 ./ Release: The following signatures were invalid: KEYEXPIRED 1468001658

Reading package lists... Done

Building dependency tree

Reading state information... Done

apt-transport-https is already the newest version.

0 upgraded, 0 newly installed, 0 to remove and 89 not upgraded.

OK

W: GPG error: https://puppet.XXXXXX.com:8140 ./ Release: The following
signatures were invalid: KEYEXPIRED 1468001658

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following extra packages will be installed:

  pe-augeas pe-facter pe-hiera pe-libyaml pe-mcollective pe-mcollective-common

  pe-openssl pe-puppet pe-puppet-enterprise-release pe-ruby pe-ruby-augeas

  pe-ruby-ldap pe-ruby-rgen pe-ruby-shadow pe-ruby-stomp pe-rubygem-deep-merge

  pe-rubygem-net-ssh pe-virt-what

The following NEW packages will be installed:

  pe-agent pe-augeas pe-facter pe-hiera pe-libyaml pe-mcollective

  pe-mcollective-common pe-openssl pe-puppet pe-puppet-enterprise-release

  pe-ruby pe-ruby-augeas pe-ruby-ldap pe-ruby-rgen pe-ruby-shadow

  pe-ruby-stomp pe-rubygem-deep-merge pe-rubygem-net-ssh pe-virt-what

0 upgraded, 19 newly installed, 0 to remove and 89 not upgraded.

Need to get 9,832 kB of archives.

After this operation, 54.7 MB of additional disk space will be used.

WARNING: The following packages cannot be authenticated!

  pe-puppet-enterprise-release pe-virt-what pe-augeas pe-libyaml pe-openssl

  pe-ruby pe-rubygem-deep-merge pe-hiera pe-ruby-stomp pe-mcollective-common

  pe-mcollective pe-facter pe-ruby-rgen pe-ruby-shadow pe-rubygem-net-ssh

  pe-ruby-augeas pe-ruby-ldap pe-puppet pe-agent

E: There are problems and -y was used without --force-yes

/tmp/tmp.PMh6SRUyUm: line 85: /opt/puppet/bin/puppet: No such file or directory

/tmp/tmp.PMh6SRUyUm: line 86: /opt/puppet/bin/facter: No such file or directory

/tmp/tmp.PMh6SRUyUm: line 86: /opt/puppet/bin/ruby: No such file or directory

/tmp/tmp.PMh6SRUyUm: line 86: /opt/puppet/bin/puppet: No such file or directory

/tmp/tmp.PMh6SRUyUm: line 52: /opt/puppet/bin/puppet: No such file or directory

/tmp/tmp.PMh6SRUyUm: line 91: /opt/puppet/bin/puppet: No such file or directory

/tmp/tmp.PMh6SRUyUm: line 58: /opt/puppet/bin/puppet: No such file or directory

/tmp/tmp.PMh6SRUyUm: line 58: /opt/puppet/bin/puppet: No such file or directory

/tmp/tmp.PMh6SRUyUm: line 58: /opt/puppet/bin/puppet: No such file or directory

/tmp/tmp.PMh6SRUyUm: line 58: /opt/puppet/bin/puppet: No such file or directory

Error running install script /tmp/tmp.PMh6SRUyUm

root@ip-XX-XXX-XX-XXX:/tmp# apt-key list

/etc/apt/trusted.gpg

--------------------

pub   1024D/437D05B5 2004-09-12

uid                  Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

sub   2048g/79164387 2004-09-12

pub   1024D/FBB75451 2004-12-30

uid                  Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>

pub   4096R/C0B21F32 2012-05-11
uid                  Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>

pub   4096R/EFE21092 2012-05-11
uid                  Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>

pub   4096R/4BD6EC30 2010-07-10 [expired: 2016-07-08]
uid                  Puppet Labs Release Key (Puppet Labs Release Key) <info@puppetlabs.com>

What do I do?
Feb 25, 2019 in Puppet by Dipti
513 views

1 answer to this question.

0 votes

Hey @Dipti, you could execute the following commands and then install puppet-agent

wget https://apt.puppetlabs.com/pubkey.gpg
apt-key add pubkey.gpg

This just adds a public key. It should be only used as a temporary solution.

answered Feb 25, 2019 by Nandita

Related Questions In Puppet

0 votes
1 answer

Puppet: dependency error while installing mysql on puppet server.

Try adding -f and --allow-unauthenticated options for apt-get to resolve the dependencies ...READ MORE

answered Aug 9, 2019 in Puppet by Sirajul
• 59,230 points
1,162 views
0 votes
1 answer
–1 vote
1 answer

Errors and warnings while installing graphite server using puppet.

Hey @Harish, If you puppet modules is /etc/puppet/modules, ...READ MORE

answered Feb 15, 2019 in Puppet by Varshi
487 views
0 votes
1 answer

Error saying "Error: Could not autoload puppet/provider/package/rpm: No child processes." While installing gcc through puppet

Hey @Laksha, check your internet connectivity. You usually ...READ MORE

answered Feb 15, 2019 in Puppet by Jugnu
905 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,503 views
+2 votes
1 answer
0 votes
1 answer

Sign certificates while setting up puppet on Ubuntu

Hey @Adi, On your puppet master execute ...READ MORE

answered Feb 21, 2019 in Puppet by Jobin
549 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP