cc_puppet start service error on lunar
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Medium
|
Calvin Mwadime Makokha |
Bug Description
cc_puppet fails to start the puppet service on Ubuntu Lunar.
Cloud config to reproduce it:
```yaml
#cloud-config
puppet:
install: true
install_type: packages
start_service: true
```
$ cat /var/log/
...
2023-01-16 11:07:57,416 - util.py[DEBUG]: Running module puppet (<module 'cloudinit.
'/usr/
Traceback (most recent call last):
File "/usr/lib/
ran, _r = cc.run(
File "/usr/lib/
return self._runners.
File "/usr/lib/
results = functor(*args)
File "/usr/lib/
_autostart_
File "/usr/lib/
subp.
File "/usr/lib/
raise ProcessExecutio
cloudinit.
Command: ['systemctl', 'enable', 'puppet.service']
Exit code: 1
Reason: -
Stdout: -
Stderr: -
...
The issue seems to be that puppet 7.20.0-1 is a transitional dummy package pointing to puppet-agent and puppet.service was renamed to puppet-
In puppet 7.16 puppet.service was an alias pointing to puppet-
Changed in cloud-init: | |
status: | Triaged → Fix Committed |
assignee: | nobody → calvin (mwadime) |
assignee: | calvin (mwadime) → Calvin Mwadime Makokha (calvinmwadime) |
This bug is believed to be fixed in cloud-init in version 23.1. If this is still a problem for you, please make a comment and set the state back to New
Thank you.