<feed xmlns='http://www.w3.org/2005/Atom'>
<title>puppet-cron_core, branch main</title>
<subtitle>Puppet module for core cron functionality</subtitle>
<id>https://cgit.fluxo.info/puppet-cron_core/atom?h=main</id>
<link rel='self' href='https://cgit.fluxo.info/puppet-cron_core/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-cron_core/'/>
<updated>2023-12-05T17:04:15+00:00</updated>
<entry>
<title>Merge pull request #67 from shubhamshinde360/PA-5575</title>
<updated>2023-12-05T17:04:15+00:00</updated>
<author>
<name>Shubham Shinde</name>
<email>shubham.shinde@perforce.com</email>
</author>
<published>2023-12-05T17:04:15+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-cron_core/commit/?id=f194c220b9f5be341257f464617febb5fc7e7d6c'/>
<id>urn:sha1:f194c220b9f5be341257f464617febb5fc7e7d6c</id>
<content type='text'>
(PA-5575) Add Amazon to display support in Puppet forge</content>
</entry>
<entry>
<title>(PA-5575) Add Amazon to display support in Puppet forge</title>
<updated>2023-12-05T05:35:21+00:00</updated>
<author>
<name>Shubham Shinde</name>
<email>shubham.shinde@perforce.com</email>
</author>
<published>2023-12-05T05:35:21+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-cron_core/commit/?id=6384855e326a8be574554539f5acbecaf764141c'/>
<id>urn:sha1:6384855e326a8be574554539f5acbecaf764141c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #66 from shubhamshinde360/PA-5954</title>
<updated>2023-12-04T18:01:15+00:00</updated>
<author>
<name>Michael Hashizume</name>
<email>mhashizume@users.noreply.github.com</email>
</author>
<published>2023-12-04T18:01:15+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-cron_core/commit/?id=fa38889ef64bd48a189251268745394c804eb585'/>
<id>urn:sha1:fa38889ef64bd48a189251268745394c804eb585</id>
<content type='text'>
(PA-5954) Add Amazon linux to install the 'cronie' (instead of cron) module used in rpm based platforms</content>
</entry>
<entry>
<title>(PA-5954) Add Amazon linux to install the 'cronie' (instead of cron) module used in rpm based platforms</title>
<updated>2023-12-04T17:26:17+00:00</updated>
<author>
<name>Shubham Shinde</name>
<email>shubham.shinde@perforce.com</email>
</author>
<published>2023-12-04T16:41:21+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-cron_core/commit/?id=c3805adc5d8155fc0193f35c547f08f181a71710'/>
<id>urn:sha1:c3805adc5d8155fc0193f35c547f08f181a71710</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #65 from puppetlabs/release-prep</title>
<updated>2023-11-28T01:32:44+00:00</updated>
<author>
<name>Josh Cooper</name>
<email>737664+joshcooper@users.noreply.github.com</email>
</author>
<published>2023-11-28T01:32:44+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-cron_core/commit/?id=1d605e813f62a45dcf7881e07f25ba05fef816a6'/>
<id>urn:sha1:1d605e813f62a45dcf7881e07f25ba05fef816a6</id>
<content type='text'>
Release prep v1.2.1</content>
</entry>
<entry>
<title>Release prep v1.2.1</title>
<updated>2023-11-28T01:15:45+00:00</updated>
<author>
<name>GitHub Action</name>
<email>puppetlabs@users.noreply.github.com</email>
</author>
<published>2023-11-28T01:15:45+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-cron_core/commit/?id=8669bc14ea295b3542c7a202461dad9e68fc42eb'/>
<id>urn:sha1:8669bc14ea295b3542c7a202461dad9e68fc42eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #62 from joshcooper/stringify_process_output</title>
<updated>2023-11-27T22:33:43+00:00</updated>
<author>
<name>cthorn42</name>
<email>christopher.thorn@puppet.com</email>
</author>
<published>2023-11-27T22:33:43+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-cron_core/commit/?id=05eb6f54809b5e6102d33fb5747690d32ee082a4'/>
<id>urn:sha1:05eb6f54809b5e6102d33fb5747690d32ee082a4</id>
<content type='text'>
Convert ProcessOutput to String explicitly</content>
</entry>
<entry>
<title>Convert ProcessOutput to String explicitly</title>
<updated>2023-11-22T23:13:28+00:00</updated>
<author>
<name>Josh Cooper</name>
<email>joshcooper@users.noreply.github.com</email>
</author>
<published>2023-11-22T18:54:32+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-cron_core/commit/?id=be5ae9bc9e198a00f2a790992b663dda374006ba'/>
<id>urn:sha1:be5ae9bc9e198a00f2a790992b663dda374006ba</id>
<content type='text'>
The `filetype` provider executes `crontab` using Puppet's execution API, which
returns ProcessOutput objects that inherit from String. See puppetlabs/puppet@732d450

The provider later uses String#gsub to strip off the HEADER. In Ruby 2.7, the
gsub method returns a new instance of ProcessOutput:

    irb(main):002:0&gt; Puppet::Util::Execution::ProcessOutput.new("# HEADER\n0 4 * * * /etc/init.d/script.sh\n", 0).gsub(/# HEADER/, '').class
    =&gt; Puppet::Util::Execution::ProcessOutput

If you later serialize the crontab entries to YAML using `puppet resource`, then
puppet warns about serializing unknown data types:

    # puppet resource cron --to_yaml
    Warning: Cron[unmanaged:/etc/init.d/script.sh-1]['command'] contains a Puppet::Util::Execution::ProcessOutput value. It will be converted to the String '/etc/init.d/script.sh'

This wasn't an issue with Ruby 3.2, because String#gsub always returns a String:

    irb(main):002:0&gt; Puppet::Util::Execution::ProcessOutput.new("# HEADER\n0 4 * * * /etc/init.d/script.sh\n", 0).gsub(/# HEADER/, '').class
    =&gt; String

This commit explicitly converts the ProcessOutput to a String so the provider
behaves consistently on all Ruby versions.

Fixes #61
</content>
</entry>
<entry>
<title>Merge pull request #63 from joshcooper/gh-issues</title>
<updated>2023-11-22T23:12:40+00:00</updated>
<author>
<name>Josh Cooper</name>
<email>737664+joshcooper@users.noreply.github.com</email>
</author>
<published>2023-11-22T23:12:40+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-cron_core/commit/?id=8990735b40f5aa0e95b444aaff8af08feab35968'/>
<id>urn:sha1:8990735b40f5aa0e95b444aaff8af08feab35968</id>
<content type='text'>
Move cron_core to GH issues</content>
</entry>
<entry>
<title>Move cron_core to GH issues</title>
<updated>2023-11-22T21:43:23+00:00</updated>
<author>
<name>Josh Cooper</name>
<email>joshcooper@users.noreply.github.com</email>
</author>
<published>2023-11-22T21:40:58+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-cron_core/commit/?id=f6defe0f69d243d6608c37dd41337f9ea7dffb62'/>
<id>urn:sha1:f6defe0f69d243d6608c37dd41337f9ea7dffb62</id>
<content type='text'>
* Update metadata

* Use jira and static code analysis workflows

* Drop commit check requirement

See PA-5395
</content>
</entry>
</feed>
