| Hi Josh Cooper, thanks for your valuable feedback. I want to execute the function on the server(master) side. I was not aware that those functions calls are executed with non-root user permissions. I was on that track already and took a look inside the /etc/passwd. We have there the followowing users:
pe-puppet:x:995:992:pe-puppetserver daemon:/opt/puppetlabs/server/data/puppetserver:/sbin/nologin |
pe-postgres:x:994:991::/opt/puppetlabs/server/data/postgresql:/sbin/nologin |
pe-webserver:x:993:990::/var/cache/puppetlabs/nginx:/sbin/nologin |
pe-puppetdb:x:992:989:pe-puppetdb daemon:/opt/puppetlabs/server/data/puppetdb:/sbin/nologin |
pe-console-services:x:991:988:pe-console-services daemon:/opt/puppetlabs/server/data/console-services:/sbin/nologin |
pe-orchestration-services:x:990:987:pe-orchestration-services daemon:/opt/puppetlabs/server/data/orchestration-services:/sbin/nologin
|
So which user will execute the function then ? Thanks in adavance. -Christian |