Skip to content

Commit 40167b4

Browse files
authored
Update deps to use puppet/systemd (#87)
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
1 parent 5f87cbf commit 40167b4

File tree

7 files changed

+18
-8
lines changed

7 files changed

+18
-8
lines changed

.fixtures.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ fixtures:
1414
rsyslog: https://github.com/simp/pupmod-simp-rsyslog.git
1515
simplib: https://github.com/simp/pupmod-simp-simplib.git
1616
stdlib: https://github.com/simp/puppetlabs-stdlib.git
17-
systemd: https://github.com/simp/puppet-systemd.git
17+
systemd:
18+
repo: https://github.com/simp/puppet-systemd.git
19+
branch: simp-master
1820
disa_stig-el7-baseline:
1921
repo: https://github.com/simp/inspec-profile-disa_stig-el7.git
2022
branch: master

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@
99
.idea/
1010
dist
1111
/pkg
12-
/spec/fixtures
12+
# Read everything in fixtures
13+
/spec/fixtures/*
14+
# Un-ignore hieradata
15+
!/spec/fixtures/hieradata/*
16+
# Except this one, which is auto-generated
17+
/spec/fixtures/hieradata/hiera.yaml
1318
/spec/rp_env
1419
/.rspec_system
1520
/.vagrant

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
* Fri Jun 03 2022 Chris Tessmer <chris.tessmer@onyxpoint.com> - 6.6.0
2+
- Update from camptocamp/systemd to puppet/systemd
3+
14
* Mon Jun 14 2021 Chris Tessmer <chris.tessmer@onyxpoint.com> - 6.5.0
25
- Removed support for Puppet 5
36
- Ensured support for Puppet 7 in requirements and stdlib

manifests/init.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
Boolean $syslog = simplib::lookup('simp_options::syslog', { 'default_value' => false }),
141141
Aide::SyslogFacility $syslog_facility = 'LOG_LOCAL6',
142142
Boolean $auditd = simplib::lookup('simp_options::auditd', { 'default_value' => false }),
143-
Integer $aide_init_timeout = 300,
143+
Integer $aide_init_timeout = $facts['processorcount'] ? { 1 => 1200, default => 300 },
144144
String $package_ensure = simplib::lookup('simp_options::package_ensure', { 'default_value' => 'installed' }),
145145
) {
146146

metadata.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "simp-aide",
3-
"version": "6.5.0",
3+
"version": "6.6.0",
44
"author": "SIMP Team",
55
"summary": "manages AIDE",
66
"license": "Apache-2.0",
@@ -13,8 +13,8 @@
1313
],
1414
"dependencies": [
1515
{
16-
"name": "camptocamp/systemd",
17-
"version_requirement": ">= 2.2.0 < 3.0.0"
16+
"name": "puppet/systemd",
17+
"version_requirement": ">= 3.0.0 < 4.0.0"
1818
},
1919
{
2020
"name": "simp/simplib",

spec/acceptance/nodesets/default.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ CONFIG:
2727
log_level: verbose
2828
synced_folder : disabled
2929
type: aio
30-
vagrant_memsize: 256
30+
# For DB updates
31+
vagrant_cpus: 2
3132
<% if ENV['BEAKER_PUPPET_COLLECTION'] -%>
3233
puppet_collection: <%= ENV['BEAKER_PUPPET_COLLECTION'] %>
3334
<% end -%>

spec/acceptance/nodesets/oel.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ CONFIG:
2828
log_level: verbose
2929
synced_folder : disabled
3030
type: aio
31-
vagrant_memsize: 256
3231
<% if ENV['BEAKER_PUPPET_COLLECTION'] -%>
3332
puppet_collection: <%= ENV['BEAKER_PUPPET_COLLECTION'] %>
3433
<% end -%>

0 commit comments

Comments
 (0)