Hello together,

is it possible to copy a file wich is included in module from a puppet 
provider?

In my module are some files wich i need for my provider. This files must be 
copied on a node when the provider starts his work.

I  know how to do it with the Puppet DSL(Ressource type "file") but how can 
i access a Puppet Module by native Ruby Code in a Provider?

I want to do something similiar like this in my Puppet Provider:

    file { 'c:/Temp/file.rsp':
        source => 'puppet:///modules/MODULENAME/file.rsp',
        source_permissions => ignore,
    }
    
    file { 'c:/Temp':
        ensure => 'directory',
        source_permissions => ignore,
    }


Thanks for any help

best regards

Akai

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/49ed886d-852e-487e-87d5-795fc5f8a93c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to