Skip to content

Commit

Permalink
Update deps to use puppet/systemd (simp#87)
Browse files Browse the repository at this point in the history
This patch updates from camptocamp/systemd 2.x to puppet/systemd 3.x
This bump is driven by simp/simp-core#829

Discovered during testing that FIPS + 1 processor has a high chance of
timing out the aide DB init
  * quadruple the timeout for 1 processor systems
  • Loading branch information
op-ct authored Jun 11, 2022
1 parent 5f87cbf commit 40167b4
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ fixtures:
rsyslog: https://github.com/simp/pupmod-simp-rsyslog.git
simplib: https://github.com/simp/pupmod-simp-simplib.git
stdlib: https://github.com/simp/puppetlabs-stdlib.git
systemd: https://github.com/simp/puppet-systemd.git
systemd:
repo: https://github.com/simp/puppet-systemd.git
branch: simp-master
disa_stig-el7-baseline:
repo: https://github.com/simp/inspec-profile-disa_stig-el7.git
branch: master
Expand Down
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
.idea/
dist
/pkg
/spec/fixtures
# Read everything in fixtures
/spec/fixtures/*
# Un-ignore hieradata
!/spec/fixtures/hieradata/*
# Except this one, which is auto-generated
/spec/fixtures/hieradata/hiera.yaml
/spec/rp_env
/.rspec_system
/.vagrant
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
* Fri Jun 03 2022 Chris Tessmer <[email protected]> - 6.6.0
- Update from camptocamp/systemd to puppet/systemd

* Mon Jun 14 2021 Chris Tessmer <[email protected]> - 6.5.0
- Removed support for Puppet 5
- Ensured support for Puppet 7 in requirements and stdlib
Expand Down
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
Boolean $syslog = simplib::lookup('simp_options::syslog', { 'default_value' => false }),
Aide::SyslogFacility $syslog_facility = 'LOG_LOCAL6',
Boolean $auditd = simplib::lookup('simp_options::auditd', { 'default_value' => false }),
Integer $aide_init_timeout = 300,
Integer $aide_init_timeout = $facts['processorcount'] ? { 1 => 1200, default => 300 },
String $package_ensure = simplib::lookup('simp_options::package_ensure', { 'default_value' => 'installed' }),
) {

Expand Down
6 changes: 3 additions & 3 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simp-aide",
"version": "6.5.0",
"version": "6.6.0",
"author": "SIMP Team",
"summary": "manages AIDE",
"license": "Apache-2.0",
Expand All @@ -13,8 +13,8 @@
],
"dependencies": [
{
"name": "camptocamp/systemd",
"version_requirement": ">= 2.2.0 < 3.0.0"
"name": "puppet/systemd",
"version_requirement": ">= 3.0.0 < 4.0.0"
},
{
"name": "simp/simplib",
Expand Down
3 changes: 2 additions & 1 deletion spec/acceptance/nodesets/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ CONFIG:
log_level: verbose
synced_folder : disabled
type: aio
vagrant_memsize: 256
# For DB updates
vagrant_cpus: 2
<% if ENV['BEAKER_PUPPET_COLLECTION'] -%>
puppet_collection: <%= ENV['BEAKER_PUPPET_COLLECTION'] %>
<% end -%>
1 change: 0 additions & 1 deletion spec/acceptance/nodesets/oel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ CONFIG:
log_level: verbose
synced_folder : disabled
type: aio
vagrant_memsize: 256
<% if ENV['BEAKER_PUPPET_COLLECTION'] -%>
puppet_collection: <%= ENV['BEAKER_PUPPET_COLLECTION'] %>
<% end -%>

0 comments on commit 40167b4

Please sign in to comment.