On Wed, Nov 6, 2013 at 9:55 AM, jcbollinger <[email protected]> wrote:
> .  If that's not viable, then something close to the idea you proposed
> should be possible:

By "should be possible, do you mean that you know or think that Puppet
supports it?

> node 'fqdn' { # I work for RL :-)
>   include rl_users
>   include rl_base
>   include rl_webserver
>   File<| title == '/etc/httpd/conf.d/foo.conf' |> {
>     ensure => 'present',
>     content => undef
>     # override other properties to undef (no quotes)
>     # as needed.
>   }
> }

Does this syntax work, and does it elegantly override any other File
stanzas that point to that file path? Does content=>undef override
'source' or do I need to also say source->undef ?

If that actually works, what other types support this trick?

thanks,




m
-- 
 [email protected]
 -  ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 ~ http://docs.moodle.org/en/User:Martin_Langhoff

-- 
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/CACPiFCKrnLdT9XpQ6uXa6%2BVqBPXWTM8UohdTuhLRR0y6sn1ShQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to