Hi all,
i am trying to build a module to install Oracle server on Linux that
utilises defined types in the module oradb::installdb.pp
one of the checks in the oradb::installdb is this
if ! defined(File["${download_dir}/db_install_${version}.rsp"])
so in order to override this file definition and source my own custom
response file, I would need to have a file resource in my custom manifest
that defines File["${download_dir}/db_install_${version}.rsp"] ?
so in my custom manifest I have that exact file defined as follows :
file { "${download_dir}/db_install_${version}.rsp":
ensure => 'present',
content =>
template("${module_name}/oracle/server/db_install_AWS_${version}_binary.rsp.erb"),
mode => '0775',
owner => $user,
group => $group,
}
the file get's setup ok but then get's over written because this check is
true if ! defined(File["${download_dir}/db_install_${version}.rsp"]) so it
doesn't find the defined file resource.
can anyone see where I am going wrong ?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/a0953898-c234-4daf-afe8-150a18859c1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.