Install the comply
module from Puppet
Forge.
Modules are self-contained, shareable bundles of code and data. The comply
module contains a Bolt task — the tool that runs the
CIS assessor on your nodes.The comply
module lives on
Puppet
Forge, a repository of thousands of modules. If
you're new to PE and Comply, see Managing environment content with a Puppetfile for more
information on the Puppetfile and installing modules.
-
Go to the comply module on the Forge.
Follow the instructions in the r10k or Code Manager drop down to add
the module declaration to your Puppetfile. You also need to add its
dependencies. For example:
# Puppet comply module
mod 'puppetlabs-comply', '1.0.5'
# dependencies for comply
mod 'puppet/archive', '4.6.0'
mod 'puppetlabs/chocolatey', '5.2.1'
mod 'puppetlabs/inifile', '4.4.0'
mod 'puppetlabs/java', '6.5.0'
mod 'puppetlabs/ruby_task_helper', '0.6.0'
mod 'puppetlabs/stdlib', '6.6.0'
mod 'puppetlabs/powershell', '4.1.0'
mod 'puppetlabs/registry', '3.2.0'
mod 'puppetlabs/pwshlib', '0.8.0'
If you don’t specify options, Code Manager installs
the latest version and does not update it automatically. To always have the
latest version installed, specify :latest
and it updates
automatically when a new version is released. To install a specific version
of the module that does not update automatically, specify the version number
as a string.
-
SSH into your PE primary server and deploy code
by running the
puppet-code deploy --all
command.