search for: get_module_path

Displaying 3 results from an estimated 3 matches for "get_module_path".

2012 Dec 27
3
generate() function help
Hi. I want to run script which is distributed with my module, but the problem is I have to then hardcode the path to the script in the generate function call, for example: generate("/etc/puppet/environments/${environment}/modules/mymodule/scripts/myscript") But what If some other site uses other path to their modules, or doesn''t use environments at all? Is it possible
2013 Aug 06
7
Puppet first run timing out
I''m working on deploying Puppet to our environment and after reinstalling some nodes, I run Puppet for the first time. It appears to be updating some Puppet specific files (see below), and then times out with the error: "Error: /File[/var/lib/puppet/lib/facter/ip6tables_version.rb]/ensure: change from absent to file failed: execution expired Error: Could not retrieve plugin:
2013 Jan 14
7
generate function not working within conditional?
Hi, could this be a bug? I have this code: $mypath = get_module_path(''ssh'') if generate("${mypath}/scripts/generate_host_keys.sh", "${keys_dir}/${::fqdn}/ssh") { notify {''something'':} include ssh::server::keys } generate_host_keys.sh script generates ssh host keys for ssh daemons, and stores them in priv...