Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

puppetlabs tomcat setenv executable

$
0
0
Hello, I'm using puppetlab's tomcat module, and i am using the below mentioned code to set an environment variable WAS_ENV. The setenv.sh file gets created in the default dir , however the file permissions are not set for executable so it fails to retrieve values from the setenv.sh. How do i set executable permissions for setenv.sh file? The /usr/share/tomcat7/bin/setenv.sh file that is generated by puppet needs to be executable. I did `chmod +x /usr/share/tomcat7/bin/setenv.sh`, restarted Tomcat, and the web app picked up the env var. Is it a bug in the Puppetlabs tomcat module. Please help me resolve the permissions issue, Many thanks! tomcat::setenv::entry { 'WAS_ENV_sh': base_path=>'', ensure=>'present', order=>'10', param=>'WAS_ENV', quote_char=>'', value=>$envValue, }

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>