search for: install_license

Displaying 1 result from an estimated 1 matches for "install_license".

2008 Dec 08
5
if file exists
...o see if a file exists on the puppetmaster? I have about 15 different license files that are loaded on thirteen servers. Not every license goes on every server. I''d like to serve the files only if they exist on the puppet master server. I''m thinking of doing it like this: define install_license($host) { if(exists("/var/puppet/modules/atg/files/${host}/${name}")){ file { $name: path => "${dynamo_home}/localconfig/${name}", mode => $mode, owner => $owner, group => $group, source => "puppet://...