require class:something

asked 2018-03-22 04:16:18 -0500

If I have

class::something {"blah":
 parameter => test
}

How do I then "require" class::something in another resource?

E.g.

file {"/etc/something":
 ensure => present,
 require => class::something['blah']
}
edit retag flag offensive close merge delete