voxpupuli / puppet-system

Manage Linux system resources and services from hiera configuration
https://forge.puppet.com/puppet/system
Apache License 2.0
63 stars 47 forks source link

system::schedule default 'always' will not run between the hours of 23:00-00:00 #82

Closed tjmullicani closed 1 year ago

tjmullicani commented 2 years ago

Affected Puppet, Ruby, OS and module versions/distributions

How to reproduce (e.g Puppet code you use)

/etc/puppetlabs/code/environments/production/data/common.yaml:

system::templates:
  /etc/motd:
    owner: root
    group: root
    mode: '0644'
    template: '/etc/puppetlabs/code/environments/production/site/profile/templates/motd.erb'

/etc/puppetlabs/code/environments/production/site/profile/templates/motd.erb

# Hostname              : <%= @fqdn %>
####################################
I've read & consent to terms in IS user agreem't.

What are you seeing

File is not updated between the hours of 23:00 to 00:00. I believe this is due to the following line: https://github.com/voxpupuli/puppet-system/blob/93d9c6b4c171b43ec1daba1b42ad52080b948c4d/manifests/schedules.pp#L15

If I change that line to range => '0:00 - 23:59', it executes correctly.

What behaviour did you expect instead

File contents to be replaced with template

Output log

Any additional information you'd like to impart

bastelfreak commented 1 year ago

Hi, based on a discussion in https://groups.io/g/voxpupuli/message/449 we decided to archive this repository. I'm going to close all issues and PRs. If you're interested in maintaining the module, please respond to our mailinglist.