summaryrefslogtreecommitdiff
path: root/manifests
AgeCommit message (Collapse)Author
2018-11-14Merge remote-tracking branch 'shared/master'HEADmasterkwadronaut
2017-07-21fix syntax errorsMatt Taggart
2017-07-20create a check_mk::params and start using itMatt Taggart
2017-04-03Adopt syntax of puppetlabs/concat modulevarac
2016-10-03Merge branch 'localfile' into 'master' Matt Taggart
make file a non-virtual resource this check_mk local plugin file resource doesn't need to be a virtual resource, I suspect the "@" was just a typo since it doesn't seem to be 'realize'd or used in any collectors. Also remove the tag since it's not used anywhere. See merge request !16
2016-09-29make file a non-virtual resourceMatt Taggart
this check_mk local plugin file resource doesn't need to be a virtual resource, I suspect the "@" was just a typo since it doesn't seem to be 'realize'd or used in any collectors. Also remove the tag since it's not used anywhere.
2016-05-09[bug] create and reload nagios config if neededvarac
We have the `inventory_only_on_changes` parameter that can be set to `false` to run and inventory and create and reload nagios config on every puppetrun. This fixes the bug that `Exec[check_mk-reload]` would only run when `/etc/nagios3/conf.d/check_mk/check_mk_objects.cfg` doesn't exist (meaning it would run once and not after this, until the file gets removed). multinode|citest|unstable.bitmask.net] - Resolves: https://leap.se/code/issues/6873
2016-05-03use inventory_only_on_changes to always run inventory and nagios reloadvarac
By default ($inventory_only_on_changes set to `true`) these two execs are called only when config files changes: - Exec['check_mk-refresh'] (which inventorizes checks by calling `check_mk -II`) - Exec['check_mk-reload'] (which generates the nagios config and reloads nagios by calling `check_mk -O`) By setting this parameter to `false` these execs will be called on each puppetrun.
2016-05-03lint manifests/init.ppvarac
2016-03-09Remove old checks on agent inventoryvarac
2016-03-09lint and improve config.ppvarac
2015-12-03also have the hostname override the name that the key gets on the agentMatt Taggart
2015-11-21Merge branch 'sethostname2' into 'master' Matt Taggart
allow setting the desired agent hostname, but default to fqdn Sometimes the host's fqdn isn't the hostname you want it to use for ssh, allow overriding it See merge request !9
2015-11-20allow setting the desired agent hostname, but default to fqdnMatt Taggart
2015-11-20Merge branch 'usessh_perms' into 'master' Micah
ensure that use_ssh.mk permissions are 644, otherwise it ends up unreadable by the nagios user See merge request !7
2015-11-19ensure that use_ssh.mk permissionsMatt Taggart
are 644, otherwise it ends up unreadable by the nagios user
2015-11-09fix tag name to use underscore tooMatt Taggart
2015-09-23fix define name to match classMicah Anderson
2015-06-30Merge remote-tracking branch 'riseup/master'Matt Taggart
2015-06-30allow version overrideMatt Taggart
For the distro package case, allow overriding the version for agent and server
2015-06-26add agent::install_local to facilitate installation of local checks, forMicah Anderson
example: check-mk::agent::install_local { 'check-kvm' : ensure => present, source => 'puppet:///modules/ganeti/check-kvm', }
2015-05-12fix join to use an arrayMatt Taggart
2015-05-12fix missing }Matt Taggart
2015-05-12Merge branch 'master' of gitlab.com:shared-puppet-modules-group/check_mkMatt Taggart
Conflicts: manifests/agent/generate_sshkey.pp
2015-05-12fix some else statements, adjust whitespace and indenting to be more sane, ↵Matt Taggart
minor linting
2015-04-17Merge branch 'Dec2014merge' into 'master'varac
riseup Dec2014merge riseup changes from the last few months, rebased to be easier to deal with. adds: * mrpe support (to replace nrpe) * ps support (to replace statd) * storing ssh keys in an alternate location * update docs * some bug fixes See merge request !2
2015-04-16improve comments for ps stuffMatt Taggart
2015-04-16make sure package isn't already defined firstMatt Taggart
2015-04-16add sshuser commentMatt Taggart
2015-04-16revert this part, since we contruct $target we _do_ need to check ↵Matt Taggart
authdir/authfile
2015-04-16we don't need to check $authfile, puppet will do the right thingMatt Taggart
Conflicts: manifests/agent/generate_sshkey.pp
2015-04-16make setting host_tags a little safer if we're using the module default of undefMatt Taggart
2015-04-16new resource collector for 'ps' checksMatt Taggart
2015-04-16add mrpe subclass to setup the needed things for doing mrpe checks, so that ↵Matt Taggart
those checks can just include it (stolen from the leap site_check_mk, seems like a good thing to have in the shared module)
2015-04-16set the user/group the key needs to be owner by on the server, default to ↵Matt Taggart
nagios, but this might need to be something else for OMD (if so then that will need tobe passed down via agent::config)
2015-04-16define some files so that the nagios module doesn't try to recurse+purge themMatt Taggart
2015-04-16use new override_builtin parameter to fix problem with central ↵Matt Taggart
authorized_keys directory, use sshuser
2015-04-16make resource name unique per host to ensure no collisionsMatt Taggart
2015-04-16create an sshuser parameter, so we can determine when we need to use sudo in ↵Matt Taggart
the agent authorized_keys command
2015-04-16switch to using a more standard storage location on the puppetmaster, and ↵Matt Taggart
make sure it exists, work around bug with /var/lib/puppet/modules, drop monitoring user/group
2015-04-16remove username from key filename, add comments explaining where things are ↵Matt Taggart
getting installed, don't install the private key on the agent, it's not needed there
2015-04-16add some comments about how these classes should be checking if the ssh ↵Matt Taggart
method is being used before doing xinetd related things
2015-04-16if using ssh, clean up any existing xinetd configMatt Taggart
2014-09-26/etc/init.d/xinetd has no status cmd in debian as of wheezyvarac
2014-04-22replace homedir with more specific keydir, authdir, and authfile in order to ↵Matt Taggart
allow overriding each. modify ::agent, ::agent::config, and ::agent::generate_sshkey to allow changing at each level, with reasonable defaults
2014-04-21fix comment from copied codeMatt Taggart
2014-03-04use check_mk::server::collect_hosts for collecting storedconfig nodesvarac
2014-03-04use check_mk::agent::register if registering storedconfig nodesvarac
2014-02-12added class to deploy local checksvarac
2014-02-12use latest check-mk packages so they can be installed them from backportsvarac
when apt-pinnned so.