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

How to access windows %TEMP% environment variable in puppet

$
0
0
I am trying to use the %TEMP% variable to copy a .sql file , so I can run it. But somehow the %TEMP% is not expanding while running puppet and the statement is failing.. file{'SQL Script File': source => 'puppet:///modules/custom/updatelog.sql', path => '%TEMP%\\updatelog.sql', } Can some one tell me how to access these windows environment variables in puppet...? - List item

Viewing all articles
Browse latest Browse all 6104

Trending Articles



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