Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Apache + Icingaweb seems broken #1

Open
r0b1ndot opened this issue Jun 27, 2016 · 1 comment
Open

Apache + Icingaweb seems broken #1

r0b1ndot opened this issue Jun 27, 2016 · 1 comment

Comments

@r0b1ndot
Copy link

Hi,
my site.pp seems like

class { 'apache':
mpm_module => 'prefork',
}

include ::icinga2
include ::icinga2::web
include ::icinga2::features::command
include ::icinga2::features::ido_mysql

}

Error: Failed to apply catalog: Parameter unless failed on Exec[usermod -a -G icingaweb2 www-data]: 'id www-data | grep icingaweb2' is not qualified and no path was specified. Please qualify the command or specify a path. at /etc/puppet/modules/icinga2/manifests/web/configure.pp:26
Wrapped exception:
'id www-data | grep icingaweb2' is not qualified and no path was specified. Please qualify the command or specify a path.

@ftrojahn
Copy link

You can adjust the search path like this:

    Exec {
      path => '/bin:/usr/bin:/sbin:/usr/sbin',
    }

Then, at least on my debian jessie, usermod and id commands are found.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants