When i try to run your module on Xenial, this error occur:
Error: Could not start Service[awslogs]: Execution of '/usr/sbin/service awslogs start' returned 5: Failed to start awslogs.service: Unit awslogs.service not found.
Error: /Stage[main]/Cloudwatchlogs/Service[awslogs]/ensure: change from stopped to running failed: Could not start Service[awslogs]: Execution of '/usr/sbin/service awslogs start' returned 5: Failed to start awslogs.service: Unit awslogs.service not found.
When i try to run your module on Xenial, this error occur:
Error: Could not start Service[awslogs]: Execution of '/usr/sbin/service awslogs start' returned 5: Failed to start awslogs.service: Unit awslogs.service not found. Error: /Stage[main]/Cloudwatchlogs/Service[awslogs]/ensure: change from stopped to running failed: Could not start Service[awslogs]: Execution of '/usr/sbin/service awslogs start' returned 5: Failed to start awslogs.service: Unit awslogs.service not found.