Jira (PUP-6266) Systemd provider with ubuntu 16.04
Title: Message Title Angel L. Mateo commented on PUP-6266 Re: Systemd provider with ubuntu 16.04 The only comment I could add is that it seems to be fixed in puppet-agent 1.10 (I can't confirm in previous versions) Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6266) Systemd provider with ubuntu 16.04
Title: Message Title Ethan Brown updated an issue Puppet / PUP-6266 Systemd provider with ubuntu 16.04 Change By: Ethan Brown Labels: manage-service triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6266) Systemd provider with ubuntu 16.04
Title: Message Title Moses Mendoza updated an issue Puppet / PUP-6266 Systemd provider with ubuntu 16.04 Change By: Moses Mendoza Labels: manage-service Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6266) Systemd provider with ubuntu 16.04
Title: Message Title Kylo Ginsberg assigned an issue to Unassigned Puppet / PUP-6266 Systemd provider with ubuntu 16.04 Change By: Kylo Ginsberg Assignee: Kylo Ginsberg Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6266) Systemd provider with ubuntu 16.04
Title: Message Title Branan Riley commented on PUP-6266 Re: Systemd provider with ubuntu 16.04 On reading this, I agree with Angel L. Mateo - this looks like PUP-5353 . Can anyone who posted in this ticket confirm that it still happens with Puppet 4.5.x? (puppet-agent 1.5.x) Thanks! Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6266) Systemd provider with ubuntu 16.04
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-6266 Systemd provider with ubuntu 16.04 Change By: Kylo Ginsberg Scrum Team: Client Platform Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6266) Systemd provider with ubuntu 16.04
Title: Message Title Jon Skarpeteig commented on PUP-6266 Re: Systemd provider with ubuntu 16.04 Also seeing this issue when attempting to add Ubuntu 16.04 to the acceptance test matrix for: https://github.com/Yuav/puppet-autofs Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6266) Systemd provider with ubuntu 16.04
Title: Message Title Craig Watson commented on PUP-6266 Re: Systemd provider with ubuntu 16.04 Interestingly, I'm also seeing this with Apache, Transmission and Postfix, with these community modules: https://forge.puppet.com/CraigWatson1987/transmission https://forge.puppet.com/puppetlabs/apache https://github.com/craigwatson/puppet-postfix Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6266) Systemd provider with ubuntu 16.04
Title: Message Title Angel L. Mateo commented on PUP-6266 Re: Systemd provider with ubuntu 16.04 I think that this ticket could be related with PUP-5353 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6266) Systemd provider with ubuntu 16.04
Title: Message Title Angel L. Mateo commented on PUP-6266 Re: Systemd provider with ubuntu 16.04 According to my last comment def enabled? begin systemctl("is-enabled", @resource[:name]) rescue Puppet::ExecutionFailure return :false end return :true end I think that this implementation could be simplier and I have checked that is working in systemv and native systemd services.
Jira (PUP-6266) Systemd provider with ubuntu 16.04
Title: Message Title Angel L. Mateo commented on PUP-6266 Re: Systemd provider with ubuntu 16.04 I have checked that the code of the systemd service provider to check is a service is already enabled is: return :mask if (@resource[:enable] == :mask) && (svc_info[:LoadState] == 'masked') return :true if svc_info[:UnitFileState] == 'enabled' if Facter.value(:osfamily).downcase == 'debian' ret = debian_enabled?(svc_info) return ret if ret end and debian_enabled? function only considers the case where UnitFileState=UnitFileState. But according to, for example, How To Use Systemctl to Manage Systemd Services and Units or SysVinit to Systemd Cheatsheet there is a direct way to check if a systemd service is enabled: the is-enabled command. This command seems to work with this kind of services: amateo_adm@ubuntu-16-04:/etc/systemd/system$ sudo systemctl is-enabled snmpd snmpd.service
Jira (PUP-6266) Systemd provider with ubuntu 16.04
Title: Message Title Angel L. Mateo created an issue Puppet / PUP-6266 Systemd provider with ubuntu 16.04 Issue Type: Bug Affects Versions: PUP 4.4.2 Assignee: Kylo Ginsberg Components: Types and Providers Created: 2016/05/05 5:15 AM Priority: Normal Reporter: Angel L. Mateo I'm testing my puppet code in the new ubuntu 16.04. I'm using razorsedge/snmp module from the forge to manage snmpd. In this module, it manages snmpd service with: service { 'snmpd': ensure => $service_ensure_real,