Advertisement
Guest User

Untitled

a guest
Mar 30th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. class myclass::config {
  2. # get the $config from the main class
  3. # and assignto local scope variable
  4. $config = $myclass::config
  5.  
  6. file { $config:
  7. ensure => present,
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement