diff --git a/.fixtures.yml b/.fixtures.yml index a0d5ab1..0dc1202 100644 --- a/.fixtures.yml +++ b/.fixtures.yml @@ -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 diff --git a/.gitignore b/.gitignore index 9d5658a..706aeb6 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/CHANGELOG b/CHANGELOG index 1fb93ce..424f01f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +* Fri Jun 03 2022 Chris Tessmer - 6.6.0 +- Update from camptocamp/systemd to puppet/systemd + * Mon Jun 14 2021 Chris Tessmer - 6.5.0 - Removed support for Puppet 5 - Ensured support for Puppet 7 in requirements and stdlib diff --git a/manifests/init.pp b/manifests/init.pp index 49412e9..601739b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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' }), ) { diff --git a/metadata.json b/metadata.json index c873254..35bf55b 100644 --- a/metadata.json +++ b/metadata.json @@ -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", @@ -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", diff --git a/spec/acceptance/nodesets/default.yml b/spec/acceptance/nodesets/default.yml index 994270a..e88d1cc 100644 --- a/spec/acceptance/nodesets/default.yml +++ b/spec/acceptance/nodesets/default.yml @@ -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 -%> diff --git a/spec/acceptance/nodesets/oel.yml b/spec/acceptance/nodesets/oel.yml index 03ffcf1..37d3c76 100644 --- a/spec/acceptance/nodesets/oel.yml +++ b/spec/acceptance/nodesets/oel.yml @@ -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 -%>