Open SohamChakraborty opened 5 years ago
@SohamChakraborty The most likely explanation is that the OS family for Ubuntu is not yet configured to use systemd in puppet-amazon-ssm-agent. My apology for super late reply of this issue, I have just recently had the time to revisit old issues.
I am getting the following error during puppet agent runs with version 0.9.4 of the module.
root@agentname:~# puppet agent -t Info: Using configured environment 'production' Info: Retrieving pluginfacts Info: Retrieving plugin Info: Retrieving locales Info: Loading facts Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, Module support for upstart service provider has been temporarily disabled (file: /etc/puppetlabs/code/environments/production/modules/amazon_ssm_agent/manifests/init.pp, line: 78, column: 9) on node agentname.com Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run
The
ssm.pp
is:$ cat ssm.pp class mymodule::ssm { class { 'amazon_ssm_agent': region => 'us-east-1', } }
The error is pretty self evident from the message but I am wondering why I am hitting this on systemd based server.
# ps -p 1 PID TTY TIME CMD 1 ? 00:00:03 systemd
OS: Ubuntu 18.04
@zahradaryan123 Try this please: https://github.com/SohamChakraborty/puppet-amazon-ssm-agent
I am getting the following error during puppet agent runs with version 0.9.4 of the module.
The
ssm.pp
is:The error is pretty self evident from the message but I am wondering why I am hitting this on systemd based server.
OS: Ubuntu 18.04