Skip to content

update module and metadata to support puppet8#20

Open
jiayuchen888 wants to merge 2 commits into
masterfrom
jch_puppet8_support
Open

update module and metadata to support puppet8#20
jiayuchen888 wants to merge 2 commits into
masterfrom
jch_puppet8_support

Conversation

@jiayuchen888

Copy link
Copy Markdown
Contributor

This PR:

  • update metadata because there is a conflict for the puppetlabs/stdlib version with puppet-master puppet8 branch
  • rewrite walg exporter: merge everthing into one class
  • rewrite resources relationships and ordering: remove -> and ~>: using require and subscribe now

@jiayuchen888 jiayuchen888 force-pushed the jch_puppet8_support branch 5 times, most recently from 335d5cf to a64bc0f Compare December 8, 2025 15:14
Comment thread manifests/init.pp Outdated
Comment thread templates/archive_command.sh.epp Outdated
Comment thread manifests/config.pp
value => 'on',
;
'archive_command':
value => '/usr/local/bin/archive_command.sh /usr/local/bin/exporter.env %p',

@JGodin-C2C JGodin-C2C Jun 11, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My two cents: I think we should change the exporter.env path as this should not be in the bin directory. i think somewhere in /var/ or /etc/ (as it is configuration ) would be more relevent.

If that makes any sense ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer /etc if you want to move it somewhere else

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree.
Do you want to do that on this pr or open another one ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can propose on this pr.

@jiayuchen888 jiayuchen888 force-pushed the jch_puppet8_support branch 4 times, most recently from 5ba6cb0 to 6b957b1 Compare June 11, 2026 11:39
Comment thread manifests/init.pp Outdated
String $backup_prefix = '',
Optional[Integer] $backup_fuse_threshold_gbytes = undef,
Stdlib::Absolutepath $destination = '/usr/local/bin',
Stdlib::Absolutepath $config_path = '/etc/exporter.env',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be /etc/.

@jiayuchen888 jiayuchen888 force-pushed the jch_puppet8_support branch from 6b957b1 to 8006406 Compare June 11, 2026 11:45
@jiayuchen888 jiayuchen888 force-pushed the jch_puppet8_support branch from 8006406 to 2d44f60 Compare June 11, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants